body[data-tab="prayer"]{--primary:#20B8C9;--teal:#20B8C9;--dark:#12656F;background:#f6f6f5}body[data-tab="prayer"] .app-shell,body[data-tab="prayer"] #view{background:#f6f6f5}.approved-prayer{--ap-accent:#16818D;--ap-ink:#123b43;--ap-line:#e0e5e5}.polish-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0 25px}.polish-heading h1{font-size:24px;margin:0;color:#12656f}.polish-heading a{display:flex;align-items:center;gap:5px;color:#16818d;font-size:13px;max-width:50%}.polish-heading .icon{width:19px;height:19px;flex:none}.approved-progress{background:#e2ecee;height:9px}.approved-progress i{background:linear-gradient(90deg,#9adfe6,#20b8c9,#16818d);clip-path:none;border-radius:20px}.approved-qibla{padding:15px 0;gap:10px;margin-bottom:15px;border-bottom:1px solid var(--ap-line)}.approved-qibla strong{font-size:16px}.approved-qibla>.icon{border:1px solid #b2dfe3;border-radius:50%;padding:6px;box-sizing:content-box;width:25px;height:25px}.approved-qibla .qibla-arrow{width:35px;height:24px;transform:none!important;direction:ltr}.approved-days{background:#fff;border:1px solid #e8eeee;border-radius:13px;padding:3px 8px;margin:0 0 13px}.approved-days .day-button{font-size:14px;padding:9px 5px;font-weight:500}.approved-days #prayer-date{font-size:12px;opacity:1}.approved-learning,.approved-groups{gap:10px;border:0}.approved-action,.approved-action:nth-child(even),.approved-groups .approved-action:nth-child(n+3){background:#fff;border:1px solid #e7ecec;border-radius:16px;min-height:118px;gap:9px;padding:16px 10px}.approved-groups .approved-action{min-height:83px;flex-direction:row;justify-content:flex-start;border-right:3px solid #20b8c9;padding:12px}.approved-groups .approved-action>.icon{width:28px;height:28px;flex:none}.approved-groups .approved-action strong{font-size:13px;text-align:right;line-height:1.6}.approved-learning .approved-action>.icon{width:36px;height:36px}.approved-learning strong:after{display:none}
#nav{position:fixed!important;bottom:0!important;background:#fff!important;backdrop-filter:none!important;opacity:1!important;border-top:1px solid #e5e9e9!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important;z-index:30}body[data-tab="prayer"] :is(.primary,.play-dot){background:#20b8c9;color:#062528}body[data-tab="prayer"] .page-head{margin-bottom:18px}body[data-tab="prayer"] .page-head h1{font-size:22px}body[data-tab="prayer"] .head-emblem{display:none}
#modal.polish-sheet{height:auto!important;max-height:calc(100dvh - 24px)!important;padding:16px!important;overflow-y:auto;border-radius:22px 22px 0 0;background:#f6f6f5}#modal.polish-sheet .sheet-title{text-align:right;margin:0 0 12px}#modal.polish-sheet .sheet-title h2{font-size:24px;margin:0}#modal.polish-sheet .sheet-title small{font-size:12px}#modal.polish-sheet .dialog-top{height:26px;margin:0;position:absolute;left:15px;top:15px}#modal.polish-sheet .dialog-top button{width:30px;height:30px}.polish-setting{background:white;border:1px solid #e7ecec;border-radius:14px;padding:12px;margin:0 0 10px}.polish-setting .time-comparison{margin:0;padding:0 0 10px;gap:15px}.polish-setting .time-comparison strong{font-size:19px;margin:2px 0}.polish-setting .time-comparison small{font-size:12px}.polish-step{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:13px}.polish-setting .stepper{display:flex;align-items:center;gap:3px;background:#f4f7f7;border-radius:10px;padding:2px}.polish-setting .stepper :is(input,button){width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;margin:0!important;border:0!important;font-size:16px!important;background:transparent}.polish-setting .switch-row{padding:0!important;min-height:40px!important;margin:0!important;border:0!important}.polish-setting .switch-row strong{font-size:15px}.polish-setting .badge-icon{width:30px;height:30px;background:#ebf9fa}.polish-setting .badge-icon .icon{width:18px;height:18px}.iqama-inline{margin-top:9px;padding-top:10px;border-top:1px solid #edf0f0}.polish-sheet .primary{background:#20b8c9;color:#062528;min-height:43px;margin:0}
.full-lesson{display:flex;align-items:center;gap:13px;padding:22px 16px;background:linear-gradient(110deg,#e5f7f8,#fff);border:1px solid #d4e9eb;border-radius:18px;margin-bottom:25px;color:#12656f}.lesson-art>.icon{width:42px;height:42px}.full-lesson small{font-size:12px;color:#16818d}.full-lesson h2{font-size:20px;margin:4px 0}.lesson-teacher{font-size:12px;color:#60797c}.lesson-play{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:50%;background:#e5f7f8;color:#16818d}.full-lesson>.lesson-play{margin-right:auto;background:#20b8c9;color:white}.lesson-play .icon{width:17px;height:17px}.lesson-list{display:grid;gap:8px}.lesson-row{display:flex;align-items:center;gap:11px;background:white;border:1px solid #ebeeee;border-radius:12px;padding:10px 12px;min-height:60px;color:#123b43}.lesson-row strong{font-size:14px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-row small{margin-right:auto;font-size:12px;color:#718789;white-space:nowrap}.lesson-player{background:#fff;border:1px solid #e7eded;border-radius:15px;overflow:hidden}.lesson-player .video-frame{aspect-ratio:16/9!important;height:auto!important;min-height:0!important;border-radius:0;margin:0}.lesson-player iframe{width:100%;height:100%;aspect-ratio:16/9;border:0}.lesson-caption{padding:17px}.lesson-caption h2{font-size:20px;margin:0 0 5px}.lesson-caption p{font-size:14px;color:#6b8082;margin:0 0 15px}.lesson-caption button{padding:8px 16px;min-height:40px;font-size:14px}.lesson-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.lesson-links a{background:white;border:1px solid #e1e9e9;border-radius:12px;padding:14px 8px;text-align:center;font-size:13px;color:#16818d}.compact-prayer-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}.compact-prayer-gallery a{display:flex;align-items:center;gap:9px;min-height:78px;padding:12px;background:white;border:1px solid #e8eeee;border-radius:13px;color:#12656f}.compact-prayer-gallery .icon{width:26px;height:26px;flex:none}.compact-prayer-gallery strong{font-size:14px;font-weight:500;line-height:1.6}
.polish-reading-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}.polish-reading-head h1{font-size:23px;margin:0}.polish-reading-head a{color:#16818d}.polish-reading{padding:0 2px}.polish-reading .reader-body{font-size:15px!important;line-height:2.1!important;color:#34595e;font-weight:400}.polish-reading .reader-body p{font-size:inherit!important;padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #e0e7e7}.polish-reading footer{margin-top:23px}.polish-reading footer>p{font-size:12px;color:#6b8386}.reading-actions{display:flex;gap:9px;align-items:stretch}.reading-actions>.secondary{flex:1}.source-actions{display:flex;gap:7px;flex:1}.source-actions a{flex:1;min-width:0}.reading-actions :is(a,button){font-size:13px;padding:10px 8px;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:10px}.reading-actions .icon{width:16px;height:16px}.reading-notes{font-size:13px;background:white;border:1px solid #e5ebeb;border-radius:10px;padding:12px;margin:15px 0}.reading-notes summary{cursor:pointer;color:#16818d}.reading-notes .reader-body{font-size:13px!important;margin-top:12px}.timetable-sheet{max-height:90dvh!important;overflow:auto!important}.timetable-preview{display:block;width:100%;max-height:60dvh;object-fit:contain;margin:12px auto 18px}
html[data-theme]:not([data-theme="light"]) body[data-tab="prayer"],html[data-theme]:not([data-theme="light"]) body[data-tab="prayer"] :is(.app-shell,#view){background:var(--night-bg)}html[data-theme]:not([data-theme="light"]) :is(.approved-action,.approved-days,.polish-setting,.lesson-row,.lesson-player,.lesson-links a,.compact-prayer-gallery a,.reading-notes,#nav){background:var(--night-card)!important;color:var(--night-ink);border-color:var(--night-line)!important}html[data-theme]:not([data-theme="light"]) :is(.polish-heading h1,.polish-reading-head h1,.polish-reading .reader-body){color:var(--night-ink)}html[data-theme]:not([data-theme="light"]) .full-lesson{background:var(--night-soft);color:var(--night-ink)}html[data-theme]:not([data-theme="light"]) #modal.polish-sheet{background:var(--night-bg)}
/* v16: compact first viewport, aligned date controls and unified accents. */
.polish-heading{border-bottom:1px solid #dce4e4;padding:0 0 12px;margin:0 0 14px}.polish-heading h1{font-size:22px}.approved-next{padding:0 0 14px}.approved-next h2{font-size:26px}.approved-next #countdown{font-size:30px}.approved-progress{margin-top:11px;height:8px}.approved-qibla{padding:10px 0;margin-bottom:7px}.approved-qibla>.icon{width:22px;height:22px;padding:5px}.approved-prayer .section-head{margin:12px 0 10px}.approved-prayer .section-head h2{font-size:18px}.schedule-share{border:0;background:#fff;color:#16818d;padding:8px 10px;font-family:inherit;font-size:12px;border-radius:9px;min-height:35px}.approved-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;background:none;border:0;padding:0;margin-bottom:9px}.approved-days>*{text-align:center;background:#fff;border-radius:9px;min-height:37px;display:flex;align-items:center;justify-content:center}.approved-days .day-button{font-size:13px;padding:7px 0}.approved-days #prayer-date{font-size:12px}.approved-learning .approved-action{border-right:3px solid #20b8c9}.approved-prayer #prayer-list .prayer-row{padding:8px 6px 0;gap:3px;border-radius:13px}.approved-prayer #prayer-list .prayer-row-label{gap:5px}.approved-prayer #prayer-list .prayer-row-label strong{font-size:14px}.approved-prayer #prayer-list .prayer-symbol .icon{width:20px;height:20px}.approved-prayer #prayer-list .time{font-size:18px;line-height:1.5;margin:0}.approved-prayer #prayer-list :is(.bell-button,.sunrise-note){min-height:32px;height:32px;padding:5px 0;margin-top:4px}.approved-prayer #prayer-list .bell-button .icon{width:18px;height:18px}.approved-prayer #prayer-list .sunrise-note{font-size:11px}body[data-route="prayer"] #view{padding-top:12px!important}.full-lesson{background:#fff;border-right:3px solid #20b8c9}.lesson-step-icon .icon{width:25px;height:25px;color:#16818d}.lesson-row{border-right:3px solid #20b8c9}.lesson-row .lesson-play{margin-right:0}.lesson-row small{margin-right:auto}.lesson-row strong{font-size:13px}#modal.polish-sheet{padding-top:45px!important}#modal.polish-sheet .dialog-top{top:8px}.timetable-sheet .reading-actions{display:grid;grid-template-columns:1fr 1fr}.timetable-sheet .reading-actions>*{width:100%;margin:0;box-sizing:border-box;min-height:44px}.qibla-refined .qibla-caption{background:#fff;border:1px solid #e1ebec;border-right:3px solid #20b8c9;border-radius:14px;padding:12px 15px}.qibla-refined .qibla-caption a{display:flex;align-items:center;gap:6px;color:#16818d;font-size:13px}.qibla-refined .qibla-caption span{display:flex;flex-direction:column;text-align:center}.qibla-refined .qibla-caption strong{font-size:22px}.qibla-refined .qibla-caption small{font-size:11px;color:#6b8386}.qibla-refined .qibla-dial-space{padding:26px 0}.qibla-refined .compass-dial{width:210px;height:210px;border:2px solid #20b8c9;outline:8px solid #e5f5f6;box-shadow:none;background:#fff}.qibla-refined .qibla-instructions{padding:12px 0}.qibla-refined .qibla-instructions h2{font-size:16px}.qibla-refined .qibla-instructions p{font-size:13px;margin:7px 0 13px}.qibla-refined .primary{max-width:320px;margin:auto;border-radius:12px}.qibla-refined .note{font-size:12px!important}body :is(a.tile,.request-tile,.compact-prayer-gallery a,.lesson-links a){border-right:3px solid #20b8c9}
@media(max-height:720px){body[data-route="prayer"] .polish-heading{margin-bottom:10px;padding-bottom:8px}.approved-next h2{font-size:23px}.approved-qibla{padding:7px 0}.approved-prayer .section-head{margin-top:9px}.approved-prayer #prayer-list .prayer-row{padding-top:6px}}
/* Comfortable spacing between the compact and previous layouts. */
.polish-heading{padding-bottom:15px;margin-bottom:19px}.approved-next{padding-bottom:19px}.approved-progress{margin-top:15px}.approved-qibla{padding:13px 0;margin-bottom:11px}.approved-prayer .section-head{margin-top:16px;margin-bottom:12px}.approved-days{margin-bottom:12px}.approved-prayer #prayer-list .prayer-row{padding-top:10px;gap:4px}.approved-prayer #prayer-list :is(.bell-button,.sunrise-note){height:36px;min-height:36px;margin-top:5px}
@media(max-height:720px){.polish-heading{padding-bottom:11px;margin-bottom:14px}.approved-next{padding-bottom:16px}.approved-qibla{padding:10px 0}.approved-prayer .section-head{margin-top:12px}}
