:root{color-scheme:light;--bg:#f8f9f5;--surface:#fff;--sidebar:#fff;--text:#273d35;--muted:#77847b;--line:#e6eae3;--green:#245b47;--green-dark:#163f32;--soft:#edf3ec;--cream:#f3f1e6;--gold:#d7bc78;--danger:#9e4735;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--display:'Avenir Next',var(--sans)}
[data-theme=dark]{color-scheme:dark;--bg:#131c18;--surface:#1b2620;--sidebar:#17211c;--text:#e2e9df;--muted:#a0afa4;--line:#2e3b32;--green:#9bc7ab;--green-dark:#ccdfd0;--soft:#26382b;--cream:#2b3025;--danger:#f2ae99}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.55}button,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green)}button:active:not(:disabled){transform:translateY(1px)}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.skip-link{position:fixed;top:-70px;left:16px;background:var(--surface);padding:12px 20px;z-index:99;border:2px solid var(--green)}.skip-link:focus{top:12px}
.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);border-right:1px solid var(--line);z-index:5;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:34px 27px 38px;font:750 25px/1.2 var(--display);letter-spacing:-1.3px;white-space:nowrap}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--green-dark);color:#f3eddb;width:39px;height:42px;border-radius:13px}.brand-mark .icon{width:25px;height:25px;stroke-width:1.5}.brand-light{font-weight:500}.brand small{display:block;font:500 7.3px/1.7 var(--sans);letter-spacing:1.35px;margin-top:5px;color:var(--muted)}[data-theme=dark] .brand-mark{background:#285740}.sidebar-body{padding:0 19px;display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto}.nav-label{margin:0 13px 13px;font-size:9px;letter-spacing:1.7px;color:#939b91;font-weight:600}.main-nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;text-align:left;width:100%;font-size:12px;font-weight:500;color:var(--muted);transition:background .2s,color .2s}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:var(--bg);color:var(--green)}.nav-item.active{background:var(--soft);color:var(--green);font-weight:600}.nav-dot{margin-left:auto;width:5px;height:5px;background:var(--green);border-radius:50%}.nav-count{margin-left:auto;font-size:10px;background:var(--bg);border:1px solid var(--line);padding:0 6px;border-radius:5px}.sidebar-rule{height:1px;background:var(--line);margin:25px 12px}.sidebar-bottom{margin-top:auto;padding-top:65px;padding-bottom:22px}.install-card{background:var(--soft);padding:20px 17px 14px;border-radius:13px}.install-icon{display:flex;width:31px;height:31px;border:1px solid #c7d9c7;border-radius:9px;align-items:center;justify-content:center;color:var(--green)}.install-icon .icon{width:16px;height:16px}.install-card h3{font:650 12px var(--display);margin:15px 0 8px}.install-card p{color:var(--muted);font-size:10px;line-height:1.9;margin:0 0 14px}.install-card button{display:flex;justify-content:space-between;align-items:center;width:100%;border-top:1px solid #d5e0d3;padding:12px 0 0;font-size:10px;font-weight:600;color:var(--green)}.install-card button .icon{width:16px}.sidebar-foot{display:flex;align-items:center;gap:7px;justify-content:center;margin-top:21px;color:var(--muted);font-size:9px}.status-dot{display:inline-block;width:5px;height:5px;background:#6d9977;border-radius:100%;flex-shrink:0}
.page-shell{margin-left:244px}.topbar{height:80px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px}.breadcrumb>span:first-child{color:var(--muted)}.breadcrumb .icon{height:11px;width:11px;color:#acb3a9}.topbar-actions{display:flex;align-items:center;gap:13px}.live-clock{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.timezone-badge{font-size:9px;letter-spacing:.5px;border:1px solid var(--line);border-radius:4px;padding:1px 5px;color:var(--muted)}.topbar-divider{width:1px;height:18px;background:var(--line);margin:0 3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border-radius:8px;color:var(--muted);padding:8px;transition:background .2s}.icon-button:hover{background:var(--soft);color:var(--green)}.icon-button .icon{width:18px;height:18px}main{max-width:1530px;margin:0 auto;padding:40px 42px 0;outline:none}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:var(--green);display:flex;align-items:center;gap:7px}.eyebrow>span{width:4px;height:4px;border-radius:50%;background:var(--green)}h1{font:400 clamp(29px,2.8vw,42px)/1.25 Georgia,'Times New Roman',serif;letter-spacing:-1.4px;margin:10px 0 7px}.welcome p{font-size:12px;color:var(--muted);margin:0}.welcome-date{display:flex;align-items:center;gap:11px;padding-top:15px;white-space:nowrap}.welcome-date>.icon{width:18px;color:var(--green)}.welcome-date strong{font-size:11px;display:block;font-weight:550}.welcome-date span{font-size:10px;color:var(--muted);display:block;margin-top:2px}.location-bar{display:flex;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 20px;margin-bottom:24px;gap:15px}.location-picker{display:flex;align-items:center;gap:13px;padding:0;text-align:left;min-width:0;max-width:70%}.location-icon{display:flex;align-items:center;justify-content:center;background:var(--soft);color:var(--green);width:38px;height:40px;border-radius:9px;flex-shrink:0}.location-picker>span:nth-child(2){min-width:0}.location-picker small{display:block;font-size:8px;letter-spacing:1.4px;color:var(--muted);line-height:1.3;margin-bottom:3px}.location-picker strong{font-size:13px;font-weight:600;line-height:1.4}.location-detail{font-size:10px;color:var(--muted);margin-left:9px}.location-chevron{width:15px;height:15px;margin-left:18px;color:var(--muted)}.location-actions{display:flex;align-items:center;gap:15px;flex-shrink:0}.text-button{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:500;color:var(--muted);padding:8px 0}.text-button:hover{color:var(--green)}.text-button .icon{width:16px;height:16px}.vertical-rule{width:1px;height:22px;background:var(--line)}#save-location[aria-pressed=true]{color:var(--green);background:var(--soft)}#save-location[aria-pressed=true] .icon{fill:currentColor;fill-opacity:.15}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(230px,1fr);gap:22px;margin-bottom:35px}.next-prayer-card{position:relative;background:#214e3b;color:#fff;border-radius:17px;overflow:hidden;min-width:0;box-shadow:0 6px 16px #173f3010}.hero-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:24px 27px 0}.hero-chip{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.3px;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:5px 10px;color:#e2e7ce}.hero-chip>span:first-child{width:5px;height:5px;background:#c8b477;border-radius:50%;box-shadow:0 0 0 3px #c8b47718}.hero-today{font-size:9px;color:#bdccbd}.hero-content{position:relative;display:flex;min-height:214px;padding:20px 27px 19px}.next-prayer-details{z-index:1;position:relative;width:100%}.hero-overline{font-size:10px;color:#a9bfad;margin:0 0 5px}.next-prayer-title{display:flex;align-items:center;gap:15px;margin-bottom:16px}.next-prayer-title h2{font:400 49px/1.2 Georgia,serif;letter-spacing:-1px;margin:0;color:#f7f6ea}.next-prayer-title>span{font-size:14px;color:#d4dfcf;align-self:flex-end;padding-bottom:9px}.countdown{display:flex;gap:13px;align-items:flex-start;font-variant-numeric:tabular-nums;width:max-content}.countdown>div{min-width:50px;text-align:center}.countdown>div>span{display:block;font:500 32px/1.4 var(--display);letter-spacing:1px;color:#f4f5ed}.countdown b{font:400 23px/1.8 var(--display);color:#9cac94}.countdown small{display:block;font-size:7px;letter-spacing:1.7px;color:#a6b9a3;margin-top:3px}.mosque-art{position:absolute;width:244px;height:204px;right:0;bottom:-2px;color:#d1bc80;opacity:.8;pointer-events:none}.hero-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff16;padding:12px 27px;font-size:9px;color:#bdccbb;gap:12px;z-index:1}.hero-bottom>span{display:flex;align-items:center;gap:6px}.hero-bottom .icon{width:12px;height:12px}.hero-bottom>span:first-child{min-width:0}.hero-bottom #hero-location{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}.hero-bottom>span:last-child{white-space:nowrap}.reflection-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--cream);border:1px solid #e8e7da;border-radius:17px;padding:26px 14px 0;overflow:hidden}.reflection-label{font-size:7px;letter-spacing:2px;color:#8b9077;font-weight:600}.arabic{font-family:'Traditional Arabic','Geeza Pro',Georgia,serif;font-size:27px;color:var(--green);margin:17px 0 9px;line-height:1.5;white-space:nowrap}.reflection-ornament{display:flex;align-items:center;gap:9px;color:#b4a87d;font-size:17px;line-height:1}.reflection-ornament span{width:27px;height:1px;background:#bfb79770}.reflection-card h2{font:400 21px/1.4 Georgia,serif;letter-spacing:-.3px;margin:13px 0 7px}.reflection-card>p:not(.arabic){font-size:10px;line-height:1.95;color:var(--muted);margin:0 0 19px}.reflection-footer{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:7px;width:calc(100% + 28px);border-top:1px solid #dcded065;padding:12px 10px;color:#8a917c;font-size:8px}.reflection-footer .icon{width:12px;height:12px}[data-theme=dark] .reflection-card{border-color:var(--line)}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.section-heading h2{font:650 17px/1.5 var(--display);letter-spacing:-.5px;margin:0}.section-heading p{color:var(--muted);font-size:10px;margin:3px 0 0}.schedule-actions{display:flex;align-items:center;gap:22px}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.period-tabs{display:flex;background:#e9ede5;border-radius:8px;padding:4px;gap:3px}.period-tabs button{padding:6px 21px;border-radius:5px;font-size:10px;color:#7d8778;font-weight:500}.period-tabs button.active{background:var(--surface);color:var(--green);box-shadow:0 1px 4px #1d3e3210;font-weight:600}.period-tabs button:hover:not(.active){color:var(--green)}[data-theme=dark] .period-tabs{background:var(--soft)}.date-controls{display:flex;gap:3px;align-items:center}.date-controls .icon-button{min-width:29px;min-height:31px;padding:6px}.date-controls .icon-button .icon{width:13px;height:13px}.date-input-wrap{display:flex;align-items:center;gap:5px;border:1px solid var(--line);background:var(--surface);padding:5px 9px;border-radius:7px}.date-input-wrap>.icon{width:13px;height:13px;color:var(--muted)}input[type=date],input[type=month],input[type=number]{border:0;background:transparent;color:var(--text);font-size:10px;min-width:112px;width:112px;min-height:19px;outline-offset:1px}.date-input-wrap input::-webkit-calendar-picker-indicator{opacity:.45;width:12px;margin-left:0}.today-button{font-size:9px;color:var(--green);padding:6px 10px;border:1px solid var(--line);border-radius:6px;margin-left:7px}.today-button:hover{background:var(--soft)}.flip{transform:rotate(180deg)}.prayer-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.prayer-card{position:relative;display:flex;flex-direction:column;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px 6px 16px;min-height:168px;overflow:hidden}.prayer-icon{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:100%;color:#7f927c;background:#f3f5ed;margin-bottom:10px}.prayer-icon .icon{width:20px;height:20px}.prayer-card[data-prayer=sunrise] .prayer-icon,.prayer-card[data-prayer=maghrib] .prayer-icon{color:#ba9c61;background:#faf6eb}.prayer-card h3{font:600 11px var(--display);margin:0 0 7px}.prayer-card .prayer-time{font:650 clamp(15px,1.4vw,20px)/1.4 var(--display);letter-spacing:-.6px;font-variant-numeric:tabular-nums;white-space:nowrap}.prayer-card .prayer-time small{font:500 9px var(--sans);letter-spacing:0;margin-left:2px}.prayer-card .prayer-caption{font-size:8px;color:var(--muted);margin-top:8px}.prayer-card.is-next{background:var(--soft);border:1.5px solid #77977b;padding-top:23.5px}.next-indicator{position:absolute;right:8px;top:7px;display:flex;align-items:center;gap:3px;font-size:6px;letter-spacing:.9px;color:var(--green);font-weight:600}.next-indicator .status-dot{width:3px;height:3px}.prayer-card.is-next .prayer-icon{background:#dce7d8;color:var(--green)}[data-theme=dark] .prayer-icon{background:var(--soft)}[data-theme=dark] .prayer-card.is-next .prayer-icon{background:#34583d}.prayer-card.is-passed .prayer-icon{opacity:.7}.schedule-note{display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-size:8px;color:var(--muted)}.schedule-note>span:first-child{display:flex;align-items:center;gap:6px}.schedule-note>span:last-child{white-space:nowrap}.schedule-note .status-dot{width:4px;height:4px}.schedule-placeholder{text-align:center;border:1px dashed var(--line);border-radius:12px;padding:65px 15px;color:var(--muted);font-size:12px}.schedule-content[aria-busy=true]{opacity:.55}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;max-height:570px;scrollbar-width:thin;background:var(--surface)}table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}th{background:var(--soft);color:var(--green);font-size:10px;font-weight:600;position:sticky;top:0;z-index:1}td,th{padding:13px 16px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border-bottom:0}tbody tr.is-today{background:var(--soft);font-weight:600}tbody tr:hover{background:var(--bg)}td:first-child{color:var(--muted)}.table-today{font-size:7px;margin-left:8px;padding:2px 4px;border:1px solid #abc0a8;border-radius:4px;color:var(--green)}
.details-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;margin-top:32px;margin-bottom:35px}.daylight-card,.source-card{display:flex;gap:12px;align-items:flex-start;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.detail-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;color:var(--green);flex-shrink:0}.detail-icon .icon{width:16px;height:16px}.details-grid h3{font:600 10px var(--display);margin:1px 0 5px}.details-grid p{color:var(--muted);font-size:9px;line-height:1.8;margin:0}.daylight-card{flex-wrap:wrap}.daylight-values{display:flex;align-items:center;justify-content:space-between;gap:17px;flex:1 0 100%;padding:7px 5px 0}.daylight-values small{display:block;font-size:7px;letter-spacing:1.1px;color:var(--muted);margin-bottom:3px}.daylight-values strong{font:600 13px var(--display);white-space:nowrap}.daylight-values>span:last-child{text-align:right}.sun-path{position:relative;flex:1;max-width:160px;border-top:1px dashed #c7ba8e;height:25px;border-radius:50% 50% 0 0;transform:translateY(14px)}.sun-path:before,.sun-path:after{content:'';width:4px;height:4px;background:#c7ba8e;position:absolute;left:-2px;top:8px;border-radius:50%}.sun-path:after{left:auto;right:-2px}.sun-path>.icon{position:absolute;left:50%;top:-11px;transform:translateX(-50%);color:#baa16b;background:var(--surface);padding:2px;width:23px;height:23px}.inline-link{display:inline-flex;gap:9px;align-items:center;font-size:9px;font-weight:550;color:var(--green);padding:0;margin-top:9px}.inline-link .icon{width:12px;height:12px}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:22px 0 26px;font-size:8px;color:var(--muted)}.footer-brand{display:flex;align-items:center;gap:6px}.footer-brand>.icon{width:14px;height:14px;color:var(--green)}.product-badge{opacity:.55;max-width:150px;vertical-align:middle}[data-theme=dark] .product-badge{filter:invert(1)}.page-footer nav{display:flex;align-items:center;gap:16px}.page-footer a:hover{color:var(--green)}.page-footer nav a:first-child .icon{width:10px;height:10px;transform:rotate(-45deg)}
 dialog{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:20px;padding:28px;width:calc(100% - 32px);max-width:530px;max-height:85dvh;box-shadow:0 30px 100px #0e241c25;overflow:auto}dialog::backdrop{background:#10291e66;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-heading h2{font:400 28px/1.3 Georgia,serif;letter-spacing:-.7px;margin:7px 0 0}.dialog-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.dialog-description{font-size:11px;color:var(--muted);margin:12px 0 19px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--bg);border-radius:9px;padding:10px 12px}.search-field>.icon{color:var(--muted);width:17px;height:17px}.search-field input{width:100%;font-size:12px;border:0;color:var(--text);background:transparent;outline:none}.search-field:focus-within{border-color:var(--green);box-shadow:0 0 0 2px var(--soft)}.location-filters{display:flex;align-items:center;gap:7px;margin:15px 0}.filter-chip{border:1px solid var(--line);padding:5px 10px;border-radius:20px;color:var(--muted);font-size:10px;white-space:nowrap}.filter-chip.active{color:var(--green);background:var(--soft);border-color:#bfd1bc}.filter-chip span{margin-left:3px;font-size:9px}.location-filters select{margin-left:auto;max-width:145px;background:var(--surface);border:0;color:var(--muted);font-size:10px;padding:5px 0}select{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:7px 9px}.location-results{min-height:100px;max-height:360px;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.location-result{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);border-radius:6px}.location-result:hover,.location-result.selected{background:var(--soft)}.location-result>.icon{color:var(--muted);width:17px;height:17px}.location-result>span{flex:1;min-width:0}.location-result strong{font-size:12px;font-weight:550;display:block}.location-result small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.location-result .selected-check{color:var(--green)}.location-result-count{font-size:9px;color:var(--muted);margin:14px 0 0}.empty-locations{font-size:12px;color:var(--muted);padding:25px 10px;text-align:center}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.setting-row strong{font-size:12px;font-weight:550}.setting-row p{font-size:10px;color:var(--muted);line-height:1.8;margin:4px 0 0}.setting-row select{font-size:11px;flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;font-size:11px;font-weight:550;color:var(--surface);background:var(--green-dark);padding:9px 16px;border-radius:8px;flex-shrink:0}.button:hover{opacity:.85}[data-theme=dark] .button{color:#183c2b}.settings-note,.preferences-footer{font-size:10px;color:var(--muted)}.preferences-footer{border-top:1px solid var(--line);padding-top:14px;margin-top:22px;text-align:center}.info-content{font-size:12px;line-height:1.9;color:var(--muted);margin:18px 0 22px}.info-content strong{color:var(--text)}.toast{position:fixed;bottom:25px;left:calc(50% + 122px);transform:translateX(-50%);max-width:calc(100% - 35px);background:var(--green-dark);color:var(--surface);padding:13px 20px;border-radius:10px;box-shadow:0 7px 35px #0a241e25;z-index:50;font-size:12px;text-align:center}[data-theme=dark] .toast{color:#183c2b}.notice{background:var(--cream);border:1px solid #dbd3b5;padding:12px 16px;margin-bottom:18px;font-size:11px;border-radius:10px;color:var(--text)}.error-panel{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid #c69586;border-radius:12px;padding:18px;margin-bottom:20px;color:var(--danger)}.error-panel strong{font-size:12px}.error-panel p{font-size:11px;margin:4px 0 0}.error-panel>.button{margin-left:auto}.noscript-note{padding:30px;text-align:center;color:var(--danger)}
@media(min-width:1500px){main{padding-top:48px}.hero-content{min-height:245px;padding-top:28px}.mosque-art{width:290px;height:237px;right:8px}.next-prayer-title h2{font-size:56px}.next-prayer-title{margin-bottom:23px}.countdown>div>span{font-size:37px}.reflection-card{padding-top:32px}.arabic{margin-top:27px}.reflection-card h2{font-size:24px}.reflection-card>p:not(.arabic){font-size:12px}.prayer-card{min-height:185px;padding-top:29px}.prayer-card.is-next{padding-top:28.5px}.prayer-card h3{font-size:12px}.details-grid h3{font-size:12px}.details-grid p{font-size:11px}.inline-link{font-size:10px}.daylight-values strong{font-size:15px}}
@media(max-width:1200px){.sidebar{width:214px}.brand{padding-left:22px;font-size:22px}.brand small{font-size:6.4px;letter-spacing:1.2px}.sidebar-body{padding:0 13px}.page-shell{margin-left:214px}.topbar{padding:0 28px}main{padding:30px 28px 0}.toast{left:calc(50% + 107px)}.hero-grid{grid-template-columns:minmax(0,1.8fr) minmax(210px,1fr);gap:17px}.mosque-art{width:205px;right:-30px;opacity:.5}.hero-content{padding-left:22px}.hero-top,.hero-bottom{padding-left:22px;padding-right:22px}.location-detail{display:block;margin-left:0}.location-picker strong{font-size:12px}.reflection-card h2{font-size:19px}.arabic{font-size:24px}.prayer-grid{gap:8px}.prayer-card .prayer-time{font-size:17px}.prayer-card .prayer-time small{font-size:8px}.daylight-values{gap:10px}.details-grid{gap:17px}.welcome-date{gap:8px}.welcome-date strong{font-size:10px}.welcome-date span{font-size:9px}}
@media(max-width:1000px){.sidebar{width:188px}.brand{padding-left:19px;gap:8px;font-size:20px}.brand-mark{width:33px;height:36px}.brand small{font-size:5.6px;letter-spacing:1.1px}.sidebar-body{padding:0 10px}.nav-item{font-size:11px;padding:12px 10px;gap:9px}.nav-label{font-size:8px;margin-left:10px;letter-spacing:1.2px}.install-card{padding:16px 12px}.page-shell{margin-left:188px}.toast{left:calc(50% + 94px)}.topbar{padding:0 23px;height:70px}main{padding:28px 23px 0}h1{font-size:32px}.welcome{align-items:flex-start}.welcome-date{display:none}.hero-grid{grid-template-columns:1fr}.reflection-card{display:none}.hero-content{min-height:205px}.mosque-art{width:250px;right:10px;opacity:.8}.next-prayer-title h2{font-size:49px}.prayer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.prayer-card{min-height:158px;padding-top:19px}.prayer-card.is-next{padding-top:18.5px}.prayer-card .prayer-time{font-size:20px}.details-grid{grid-template-columns:1fr 1fr}.daylight-card,.source-card{padding:16px;gap:9px}.daylight-card>.detail-icon{display:none}.daylight-values strong{font-size:12px}.schedule-toolbar{gap:10px}.period-tabs button{padding:6px 14px}.date-input-wrap{padding:5px 6px}.date-input-wrap>.icon{display:none}.today-button{padding:6px;margin-left:3px}.schedule-note{font-size:7px}.page-footer>.footer-brand{display:none}.breadcrumb{gap:8px}.topbar-actions{gap:7px}.topbar .icon-button{min-width:31px;min-height:31px}.live-clock{font-size:10px}}
@media(max-width:700px){.sidebar{position:static;width:100%;height:auto;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:18px 20px;font-size:23px;gap:10px;width:max-content}.brand-mark{width:34px;height:38px}.brand small{font-size:6px;letter-spacing:1.6px}.sidebar-body{padding:0 16px;overflow:visible}.sidebar-body>.nav-label,.sidebar-rule,.sidebar-body>.nav-item,.sidebar-bottom{display:none}.main-nav{display:flex;gap:8px;padding-bottom:12px}.main-nav .nav-item{width:auto;flex:1;justify-content:center;gap:6px;white-space:nowrap;font-size:10px;padding:10px 6px}.nav-item .icon{width:15px;height:15px}.nav-dot{display:none}.nav-count{margin-left:0;font-size:8px}.page-shell{margin-left:0}.topbar{position:absolute;top:18px;right:15px;border:0;height:39px;padding:0;justify-content:flex-end}.breadcrumb,.live-clock,.timezone-badge,.topbar-divider{display:none}.topbar .icon-button{width:34px;height:34px}.topbar-actions{gap:2px}main{padding:28px 20px 0}.welcome{margin-bottom:23px}.eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:31px;letter-spacing:-1px;margin-top:10px}.welcome p{font-size:11px}.location-bar{padding:12px;margin-bottom:18px;border-radius:11px;gap:8px}.location-picker{gap:9px;max-width:calc(100% - 85px)}.location-picker strong{font-size:12px;display:block}.location-detail{font-size:9px}.location-picker small{font-size:7px}.location-icon{width:32px;height:36px}.location-icon .icon{width:18px}.location-chevron{width:12px;margin-left:1px}.location-actions{gap:2px}.location-actions .text-button{padding:8px}.location-actions .text-button>span,.vertical-rule{display:none}.location-actions .icon-button{min-width:30px;padding:6px}.hero-grid{margin-bottom:27px}.hero-top{padding:19px 21px 0}.hero-content{padding:20px 21px 19px;min-height:205px}.hero-overline{font-size:9px;max-width:210px}.next-prayer-title{gap:13px}.next-prayer-title h2{font-size:47px}.next-prayer-title>span{font-size:12px;padding-bottom:8px}.hero-bottom{padding:12px 21px;font-size:8px}.hero-bottom #hero-location{max-width:180px}.hero-bottom .icon{width:11px}.mosque-art{width:200px;right:-12px;bottom:-1px;opacity:.5}.hero-today{font-size:8px}.hero-chip{font-size:7px}.countdown>div>span{font-size:30px}.countdown{gap:10px}.countdown>div{min-width:44px}.countdown small{font-size:6px}.section-heading{margin-bottom:16px}.section-heading h2{font-size:16px}.section-heading p{font-size:9px}.schedule-actions{gap:15px}.schedule-actions .text-button{font-size:10px;gap:5px}.schedule-actions .text-button .icon{width:14px;height:14px}.schedule-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:16px}.period-tabs{width:100%;padding:4px}.period-tabs button{flex:1;padding:7px;font-size:11px}.date-controls{width:100%;justify-content:center}.date-input-wrap{padding:6px 10px}.date-input-wrap>.icon{display:block}.date-controls input{width:125px;font-size:11px}.today-button{position:absolute;right:20px;padding:6px 10px;font-size:9px}.prayer-card{min-height:158px;padding-bottom:15px;border-radius:11px}.prayer-card .prayer-time{font-size:20px}.prayer-card .prayer-time small{font-size:8px}.prayer-card h3{font-size:11px}.schedule-note{font-size:8px;display:block;line-height:1.8}.schedule-note>span:last-child{display:block;padding-left:10px}.details-grid{margin-top:24px;margin-bottom:25px;grid-template-columns:1fr;gap:12px}.daylight-card,.source-card{padding:18px}.daylight-card>.detail-icon{display:flex}.details-grid h3{font-size:11px}.details-grid p{font-size:10px}.daylight-values{padding-top:10px}.daylight-values strong{font-size:14px}.daylight-values small{font-size:8px}.sun-path{max-width:180px}.inline-link{font-size:10px}.page-footer{flex-wrap:wrap;justify-content:center;padding:21px 0;gap:15px}.page-footer>.footer-brand{display:flex;width:100%;justify-content:center;font-size:10px}.page-footer nav{font-size:9px}.product-badge{max-width:130px}.toast{left:50%;bottom:20px;width:max-content;max-width:calc(100% - 30px);font-size:11px}dialog{padding:23px;max-height:88dvh}.dialog-heading h2{font-size:26px}.dialog-heading .eyebrow{font-size:7px}.location-filters{gap:5px}.filter-chip{padding:5px 8px;font-size:9px}.location-filters select{font-size:9px;max-width:116px}.location-results{max-height:43dvh}.error-panel{align-items:flex-start;flex-wrap:wrap}.error-panel .button{margin-left:33px}.error-panel>div{flex:1}}
@media(max-width:370px){main{padding-left:15px;padding-right:15px}h1{font-size:28px}.brand{font-size:20px;padding-left:16px}.main-nav{gap:3px}.main-nav .nav-item{font-size:9px}.mosque-art{right:-38px;opacity:.35}.hero-bottom #hero-location{max-width:145px}.prayer-card .prayer-time{font-size:17px}.prayer-card{padding-left:3px;padding-right:3px}.prayer-grid{gap:7px}.location-filters{flex-wrap:wrap}.today-button{right:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.location-actions,.schedule-actions,.date-controls,.period-tabs,.details-grid,.page-footer,.reflection-card,.toast,dialog{display:none!important}.page-shell{margin:0}main{padding:0}.hero-grid{display:block}.next-prayer-card{background:#fff;color:#163f32;border:1px solid #ddd}.next-prayer-card *{color:#163f32!important}.countdown,.hero-overline,.mosque-art{display:none}.hero-content{min-height:auto}.prayer-grid{grid-template-columns:repeat(6,1fr)}.prayer-card{break-inside:avoid}.table-wrap{max-height:none;overflow:visible}.welcome-date{display:flex}body{background:#fff;color:#111}th{position:static}tr{break-inside:avoid}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}tbody th{position:static;background:transparent;font-size:11px;font-weight:500;color:var(--muted)}tbody tr.is-today th{font-weight:650;color:var(--green)}.info-content a{overflow-wrap:anywhere;text-decoration:underline}
/* Product attribution must retain contrast in both themes. */
.product-badge{opacity:1;max-width:188px;width:188px;height:28px}
[data-theme=dark] .product-badge{filter:none}

@media(max-width:700px){
 .main-nav .nav-item{min-height:44px;font-size:11px}.topbar .icon-button{width:44px;height:44px}.topbar{top:15px;right:10px}.brand{padding-bottom:17px}
 .location-bar{padding:12px 10px}.location-picker{min-height:48px;max-width:calc(100% - 96px)}.location-picker strong{font-size:13px}.location-picker small{font-size:8px}.location-detail{font-size:10px}.location-actions .text-button,.location-actions .icon-button{width:44px;min-height:44px;justify-content:center}.location-actions .icon{width:19px;height:19px}
 .welcome p{font-size:12px}.hero-overline{font-size:10px}.hero-chip{font-size:8px}.hero-today{font-size:9px}.countdown small{font-size:8px;letter-spacing:1.1px}.hero-bottom{font-size:9px;min-height:44px}
 .section-heading p{font-size:11px;max-width:230px}.schedule-actions{gap:5px}.schedule-actions .text-button{min-height:44px;padding:10px;font-size:11px;flex-direction:column;gap:3px}.schedule-actions .text-button .icon{width:17px;height:17px}.section-heading h2{font-size:17px}
 .period-tabs button{min-height:38px;font-size:12px}.date-controls{position:relative;padding-right:55px;justify-content:flex-start}.date-controls .icon-button{min-width:38px;min-height:44px}.date-input-wrap{min-height:42px;flex:1;justify-content:center;padding:7px}.date-controls input{font-size:12px;width:130px}.date-controls input[type=number]{width:85px;min-width:85px}.today-button{right:0;min-height:44px;font-size:11px;padding:8px}
 .prayer-card{min-height:165px;padding-top:21px}.prayer-card.is-next{padding-top:20.5px}.prayer-card h3{font-size:12px}.prayer-card .prayer-caption{font-size:9px}.prayer-card .prayer-time small{font-size:9px}.next-indicator{font-size:7px;right:7px}
 .schedule-note{font-size:9px}.details-grid h3{font-size:12px}.details-grid p{font-size:11px}.inline-link{font-size:11px;min-height:34px;margin-top:5px}.page-footer nav a,.page-footer nav button{min-height:44px;display:inline-flex;align-items:center;font-size:11px}.page-footer{gap:8px}
 .icon-button{min-height:44px;min-width:44px}.search-field{min-height:46px}.search-field input{font-size:16px}.location-filters{flex-wrap:wrap}.filter-chip{min-height:38px;font-size:11px}.location-filters select{min-height:38px;font-size:11px;max-width:135px}.location-result{min-height:60px}.location-result strong{font-size:14px}.location-result small{font-size:11px}.location-result-count{font-size:11px}.dialog-description{font-size:12px}.setting-row strong{font-size:14px}.setting-row p,.settings-note,.preferences-footer{font-size:12px}.setting-row select{font-size:14px;min-height:44px}.button{font-size:13px;min-height:44px}.info-content{font-size:14px}.toast{font-size:12px}.product-badge{max-width:188px}
}
/* Readable defaults: the timetable is the primary task. */
@font-face{font-family:'Atkinson Hyperlegible Next';src:url('../fonts/atkinson-hyperlegible-next-latin.woff2?v=f8885265248d') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root{--sans:'Atkinson Hyperlegible Next',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--display:var(--sans)}
.brand{padding:27px 25px 32px}.brand-logo{width:180px;height:auto;display:block}.nav-mobile{display:none}.nav-item{font-size:14px;min-height:48px}.nav-label{font-size:10px;letter-spacing:1px}.sidebar-bottom{padding-top:30px}.topbar{height:68px}.breadcrumb,.live-clock{font-size:13px}.timezone-badge{font-size:11px}
main{padding-top:28px}.welcome{margin-bottom:23px}.welcome h1{font:650 34px/1.2 var(--sans);letter-spacing:-.7px;margin:0 0 6px}.welcome p{font-size:14px}.welcome-date{padding-top:0}.welcome-date strong{font-size:14px}.welcome-date span{font-size:12px}.location-bar{padding:14px 18px}.location-picker strong{font-size:17px}.location-picker small{font-size:10px;letter-spacing:1px}.location-detail{font-size:13px}.location-picker{min-height:48px}.location-actions .text-button{font-size:14px;min-height:44px}.location-icon{height:43px;width:43px}
.hero-grid{display:block;margin-bottom:28px}.hero-top{padding:19px 25px 0}.hero-chip{font-size:10px;letter-spacing:.8px;padding:5px 10px}.hero-today{font-size:13px}.hero-content{min-height:140px;padding:15px 25px 24px}.next-prayer-details{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-right:175px}.next-prayer-title{margin:0;gap:17px;align-items:center}.next-prayer-title h2{font:600 49px/1.2 var(--sans);letter-spacing:-1px}.next-prayer-title>span{font-size:23px;align-self:center;padding:0;white-space:nowrap}.countdown{gap:11px}.countdown>div{min-width:47px}.countdown>div>span{font:500 34px/1.3 var(--sans)}.countdown small{font-size:9px;letter-spacing:1px}.countdown b{font-size:26px;line-height:1.6}.mosque-art{width:170px;height:155px;right:2px;opacity:.4;bottom:0}.hero-bottom{display:none}
.section-heading h2{font-size:22px;letter-spacing:-.3px}.section-heading p{font-size:14px}.schedule-actions .text-button{font-size:14px;min-height:44px}.period-tabs button{font-size:14px;min-height:40px;padding:7px 22px}.date-controls .icon-button{min-width:40px;min-height:44px}.date-input-wrap{min-height:42px}.date-controls input{font-size:14px;width:135px;min-width:135px}.today-button{font-size:13px;min-height:42px}.prayer-grid{gap:12px}.prayer-card{padding:21px 6px 18px;min-height:170px}.prayer-card.is-next{padding-top:20.5px}.prayer-card h3{font-size:16px;margin-bottom:5px}.prayer-icon{margin-bottom:9px}.prayer-card .prayer-time{font-size:26px;letter-spacing:-.6px}.prayer-card .prayer-time small{font-size:12px}.prayer-card .prayer-caption{display:none}.next-indicator{font-size:8px;letter-spacing:.4px}.schedule-note{font-size:12px;margin-top:15px}.schedule-note>span:first-child{display:none}.schedule-note>span:last-child{white-space:normal}.table-wrap{max-height:600px}table{font-size:15px}thead th{font-size:14px}tbody th{font-size:15px}td,th{padding:14px}.table-today{font-size:10px}
.about-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:19px 0 26px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.about-row .inline-link{font-size:13px;min-height:36px;margin:0;gap:7px}.page-footer{font-size:12px;padding:20px 0;gap:20px}.footer-brand{display:none}.page-footer nav a,.page-footer nav button{min-height:40px;display:inline-flex;align-items:center}.page-footer nav{gap:20px}.product-badge{height:28px;width:188px;max-width:188px}
dialog{font-size:15px}.dialog-heading h2{font:600 27px/1.3 var(--sans);letter-spacing:-.5px}.dialog-heading .eyebrow{display:none}.dialog-description{font-size:14px}.search-field{min-height:47px}.search-field input{font-size:16px}.filter-chip{font-size:13px;min-height:40px}.location-filters select{font-size:13px;min-height:40px}.location-result{padding:13px 10px;min-height:64px}.location-result strong{font-size:17px}.location-result small{font-size:13px}.location-result-count{font-size:12px}.setting-row strong{font-size:16px}.setting-row p,.settings-note,.preferences-footer{font-size:14px}.setting-row select{font-size:15px;min-height:44px}.button{font-size:15px;min-height:44px}.button.secondary-button{background:var(--soft);color:var(--green);border:1px solid var(--line)}.button.secondary-button:disabled{opacity:1;background:transparent;color:var(--muted)}.button.secondary-button:disabled:not([aria-busy=true]){cursor:not-allowed}.info-content{font-size:16px;line-height:1.7}.toast{font-size:15px}.export-options{display:grid;gap:12px;margin:22px 0}.export-option{display:flex;align-items:center;gap:13px;text-align:left;padding:18px 14px;border:1px solid var(--line);border-radius:12px;width:100%;min-height:80px;background:var(--bg)}.export-option:hover{background:var(--soft);border-color:var(--green)}.export-option>span{flex:1}.export-option strong{display:block;font-size:17px;font-weight:600}.export-option small{display:block;font-size:13px;color:var(--muted);margin-top:3px}.export-option>.icon{color:var(--green)}.prayer-alert{position:fixed;bottom:24px;left:calc(50% + 122px);transform:translateX(-50%);width:440px;max-width:calc(100% - 30px);padding:20px;display:flex;align-items:flex-start;gap:12px;z-index:70;border:2px solid var(--green);border-radius:14px;background:var(--surface);box-shadow:0 8px 50px #14392930}.prayer-alert strong{font-size:23px}.prayer-alert p{font-size:15px;margin:5px 0 0;color:var(--muted)}.prayer-alert .icon-button{margin-left:auto;flex-shrink:0}
@media(min-width:1101px) and (max-width:1280px){.next-prayer-details{padding-right:100px;gap:15px}.next-prayer-title{display:block}.next-prayer-title h2{font-size:42px}.next-prayer-title>span{font-size:20px}.mosque-art{width:120px;opacity:.25}.prayer-card .prayer-time{font-size:23px}.prayer-card .prayer-time small{font-size:11px}}
@media(max-width:1100px){.next-prayer-details{padding-right:100px;gap:18px}.next-prayer-title{display:block}.next-prayer-title h2{font-size:43px}.next-prayer-title>span{font-size:21px}.countdown>div>span{font-size:30px}.mosque-art{width:120px;opacity:.2}.countdown{gap:8px}.countdown>div{min-width:36px}.hero-content{padding-bottom:25px}.hero-today{font-size:12px}.date-controls input{font-size:13px;width:126px;min-width:126px}.period-tabs button{padding:7px 14px}}
@media(max-width:1000px){.brand{padding:23px 16px 29px}.brand-logo{width:155px}.prayer-alert{left:calc(50% + 94px)}.nav-item{font-size:13px}.schedule-toolbar{flex-wrap:wrap}.period-tabs{min-width:220px}.location-detail{font-size:12px}.location-picker strong{font-size:16px}.hero-content{min-height:160px}.next-prayer-details{padding-right:30px}.mosque-art{display:none}.welcome h1{font-size:32px}.welcome-date{display:none}}
@media(max-width:700px){
 .brand{padding:17px 20px 15px}.brand-logo{width:165px;height:43px}.main-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding-bottom:10px}.main-nav .nav-item{font-size:14px;min-width:0;min-height:45px;padding:8px 5px;gap:7px}.main-nav .nav-item .icon{width:18px;height:18px}.nav-mobile{display:inline}.nav-desktop,.main-nav .nav-count{display:none}.sidebar-body{padding:0 16px}.sidebar-bottom{display:none}
 main{padding:22px 18px 0}.welcome{margin-bottom:17px;display:block}.welcome h1{font-size:29px;letter-spacing:-.5px;margin-bottom:3px}.welcome p{display:none}.welcome-date{display:block;margin-top:5px}.welcome-date strong{font-size:14px;font-weight:400;color:var(--muted)}.welcome-date span{display:none}.topbar{top:17px;right:10px}.topbar .icon-button{width:44px;height:44px}.location-bar{padding:11px 10px;margin-bottom:16px}.location-icon{width:34px;height:39px}.location-picker{gap:8px;min-height:49px;max-width:calc(100% - 92px)}.location-picker strong{font-size:17px;line-height:1.3}.location-picker small{font-size:10px;letter-spacing:.8px}.location-detail{font-size:12px;margin-top:3px}.location-chevron{display:none}.location-actions{gap:0}
 .hero-top{padding:16px 19px 0}.hero-chip{font-size:11px;letter-spacing:.2px;border:0;padding:0;background:none}.hero-today{font-size:12px}.hero-content{padding:15px 19px 22px;min-height:142px}.next-prayer-details{display:flex;gap:16px;padding:0;align-items:center}.next-prayer-title{flex:1;min-width:0}.next-prayer-title h2{font:600 36px/1.2 var(--sans);letter-spacing:-.7px}.next-prayer-title>span{display:block;font-size:23px;margin-top:5px;color:#eef3e7}.countdown{gap:5px}.countdown>div{min-width:30px}.countdown>div>span{font-size:26px;letter-spacing:0}.countdown b{font-size:21px;line-height:1.6}.countdown small{font-size:8px;letter-spacing:.3px}.hero-grid{margin-bottom:24px}
 .section-heading{margin-bottom:13px;gap:8px}.section-heading h2{font-size:21px}.section-heading p{font-size:14px;max-width:none;margin-top:3px}.schedule-actions{gap:0}.schedule-actions .text-button{font-size:12px;padding:7px;min-width:44px}.schedule-actions .text-button .icon{width:19px;height:19px}.period-tabs{width:100%;padding:4px}.period-tabs button{font-size:16px;min-height:40px;padding:6px 10px}.schedule-toolbar{gap:10px;margin-bottom:14px}.date-controls input{font-size:15px;width:135px;min-width:100px}.date-input-wrap{min-height:44px;padding:6px;min-width:0}.date-controls input[type=number]{font-size:16px}.date-controls .icon-button{min-width:38px;min-height:44px}.today-button{font-size:14px;min-height:44px}.date-controls{padding-right:62px}.date-input-wrap>.icon{display:none}
 .prayer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.prayer-card{min-height:136px;padding:17px 8px 16px;display:grid;grid-template-columns:30px 1fr;grid-template-rows:36px 1fr;align-content:center;justify-items:start;column-gap:8px}.prayer-icon{height:29px;width:29px;margin:0}.prayer-icon .icon{width:20px;height:20px}.prayer-card h3{font-size:18px;margin:0;align-self:center}.prayer-card .prayer-time{font-size:32px;grid-column:1 / -1;justify-self:center;letter-spacing:-.6px;margin-top:9px}.prayer-card .prayer-time small{font-size:15px}.prayer-card.is-next{padding-top:16.5px}.next-indicator{font-size:9px;top:4px;right:7px}.prayer-card .prayer-caption{display:none}.schedule-note{font-size:13px;margin-top:14px}.about-row{font-size:13px;display:block;margin:18px 0 15px;padding-top:13px}.about-row>.inline-link{font-size:14px;margin-top:5px;min-height:40px}.page-footer>.footer-brand{display:none}.page-footer{padding:17px 0;gap:9px;justify-content:center}.page-footer nav{font-size:12px;gap:24px}.page-footer nav a,.page-footer nav button{font-size:12px;min-height:40px}.product-badge{max-width:188px}.table-wrap{max-height:65dvh}table{font-size:15px}thead th{font-size:14px}tbody th{font-size:15px}td,th{padding:13px 12px}
 dialog{padding:22px 20px}.dialog-heading h2{font-size:25px}.setting-row{gap:13px}.setting-row p{font-size:14px;line-height:1.6}.reminder-setting{flex-wrap:wrap}.reminder-setting .button{width:100%}.prayer-alert{left:50%;bottom:15px}.export-option strong{font-size:17px}.export-option small{font-size:13px}.location-filters select{max-width:none;flex:1;min-width:110px}.location-filters{gap:7px}
}
@media(max-width:360px){.brand{padding-left:16px}.brand-logo{width:150px}.topbar{right:6px}.main-nav .nav-item{font-size:13px;gap:5px}main{padding-left:14px;padding-right:14px}.hero-content{padding:14px 16px 20px}.hero-top{padding-left:16px;padding-right:16px}.next-prayer-title h2{font-size:31px}.next-prayer-title>span{font-size:22px}.countdown>div>span{font-size:23px}.countdown>div{min-width:27px}.countdown{gap:3px}.countdown small{font-size:7px}.prayer-card .prayer-time{font-size:29px}.prayer-card h3{font-size:16px}.date-controls{padding-right:55px}.today-button{padding:8px 6px}.date-controls input{font-size:14px;width:126px}.section-heading h2{font-size:19px}}
[data-text-size=standard] .prayer-card .prayer-time{font-size:24px}[data-text-size=standard] .prayer-card h3{font-size:14px}[data-text-size=standard] .location-picker strong{font-size:15px}
@media(prefers-reduced-motion:no-preference){.next-prayer-card{animation:appear .4s ease-out}.location-bar{animation:appear .3s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}}
/* Explicit export range and accessible prayer reminders. */
.export-range{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 13px}.export-range label{display:grid;gap:7px;font-size:14px;font-weight:550}.export-range select,.export-range input[type=date]{width:100%;min-width:0;min-height:46px;border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:9px 10px;font-size:15px;color:var(--text)}.export-summary{font-size:14px;background:var(--soft);border-radius:8px;padding:11px 13px;margin:0;color:var(--green);line-height:1.55}.table-date-button{min-height:44px;padding:0;text-align:left;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.table-date-button:hover{color:var(--green);text-decoration-color:currentColor}
.prayer-alert{display:block;width:440px;padding:19px 22px 21px;border:1px solid var(--line);border-top:4px solid var(--green);border-radius:16px;box-shadow:0 12px 60px #163f3230;bottom:max(20px,env(safe-area-inset-bottom))}.prayer-alert-header{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}.prayer-alert-header img{width:28px;height:28px;border-radius:7px}.prayer-alert-header .icon-button{margin-left:auto;width:44px;height:44px;margin-top:-8px;margin-right:-10px}.prayer-alert-main{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:8px}.prayer-alert-main strong{font-size:30px;font-weight:650;line-height:1.2;letter-spacing:-.6px}.prayer-alert-main>span{font-size:23px;font-weight:550;color:var(--green);white-space:nowrap}.prayer-alert p{font-size:16px;color:var(--muted);margin:7px 0 0;line-height:1.5}.prayer-alert-actions{display:flex;gap:10px;margin-top:18px}.prayer-alert-actions .button{min-height:44px;padding:9px 17px;font-size:15px}.prayer-alert-help{display:flex;align-items:center;gap:4px;font-size:13px;text-align:left;padding:0;min-height:40px;color:var(--danger);margin-top:8px}.prayer-alert-help>.icon{width:14px;height:14px}.prayer-alert-help:not([hidden])+.prayer-alert-actions{margin-top:8px}
@media(max-width:700px){.prayer-alert{width:calc(100% - 28px);max-width:440px;left:50%;padding:15px 18px 18px;bottom:max(14px,env(safe-area-inset-bottom))}.prayer-alert-main strong{font-size:28px}.prayer-alert-main>span{font-size:23px}.prayer-alert-actions .button{flex:1}.prayer-alert-actions{gap:9px}.export-range{gap:10px}.export-range select,.export-range input[type=date]{font-size:16px}.export-summary{font-size:14px}}
@media(max-width:360px){.export-range{grid-template-columns:1fr}.prayer-alert-main strong{font-size:26px}.prayer-alert-main>span{font-size:21px}}
@media print{.prayer-alert{display:none!important}}
.info-content a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.page-footer nav button{padding:0}
/* Timetable pages (scripts/seo-pages.mjs): the month's timetable and a short guide. */
.location-guide{margin:34px 0 8px}
.location-guide .table-wrap{max-height:none}
.guide-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;margin-top:24px;padding:22px 24px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.guide-grid h3{font:650 15px/1.4 var(--sans);margin:0 0 8px;color:var(--text)}
.guide-grid p{margin:0 0 10px;color:var(--muted);font-size:14px;line-height:1.7}
.guide-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.guide-links a{display:inline-flex;align-items:center;min-height:40px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--green);text-decoration:none;background:var(--bg)}
.guide-links a:hover,.guide-links a:focus-visible{border-color:var(--green)}
.guide-all a{color:var(--green);font-weight:600;font-size:14px}
@media(max-width:700px){.guide-grid{grid-template-columns:1fr;padding:18px}.location-guide{margin-top:26px}}
/* Locations hub (/locations). */
.hub-page{background:var(--bg);color:var(--text)}
.hub-header{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1100px;margin:0 auto;padding:22px 24px}
.hub-header .button{font-size:14px;color:#fff;text-decoration:none;min-height:44px}
.hub-main{max-width:1100px;margin:0 auto;padding:12px 24px 40px}
.hub-main h1{font:650 34px/1.2 var(--sans);letter-spacing:-.6px;margin:0 0 10px}
.hub-lead{max-width:760px;color:var(--muted);font-size:16px;line-height:1.7;margin:0 0 22px}
.hub-districts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}
.hub-districts a{display:inline-flex;align-items:center;min-height:40px;padding:6px 13px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--green);font-size:14px;text-decoration:none}
.hub-districts a:hover,.hub-districts a:focus-visible{border-color:var(--green)}
.hub-main section{scroll-margin-top:16px;margin-bottom:30px}
.hub-main h2{font:650 20px/1.3 var(--sans);margin:0 0 12px}
.hub-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.hub-list li{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.hub-list a{color:var(--text);font-weight:600;font-size:15px;text-decoration:none}
.hub-list a:hover,.hub-list a:focus-visible{color:var(--green);text-decoration:underline}
.hub-list span{color:var(--muted);font-size:13px}
.hub-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;max-width:1100px;margin:0 auto;padding:22px 24px 34px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
.hub-footer a{color:var(--green)}
[data-theme=dark] .hub-header .button{color:#fff}
@media(max-width:600px){.hub-main h1{font-size:28px}.hub-header{padding:16px}.hub-main{padding:8px 16px 32px}.hub-header .brand-logo{width:150px;height:auto}}
/* Keep the footer at the bottom of the screen when the content is shorter than it. */
.page-shell{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.page-shell>main{flex:1 0 auto;display:flex;flex-direction:column;width:100%;box-sizing:border-box}
.page-shell>main>.page-footer{margin-top:auto}
.hub-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.hub-page>.hub-main{flex:1 0 auto;width:100%;box-sizing:border-box}
/* Report a problem */
.about-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
.about-links a.inline-link{text-decoration:none}
.about-links a.inline-link:hover{text-decoration:underline;text-underline-offset:4px}
.report-form{display:grid;gap:12px;margin-top:4px}
.report-kinds{display:grid;gap:9px;margin:0;padding:0;border:0;min-width:0}
.report-kinds legend,.report-note{padding:0;margin:0 0 3px;font-size:14px;font-weight:600;color:var(--text)}
.report-note span{font-weight:400;color:var(--muted)}
.report-kind{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);cursor:pointer}
.report-kind:hover{border-color:color-mix(in srgb,var(--green) 45%,var(--line))}
.report-kind:has(input:checked){border-color:var(--green);background:var(--soft)}
.report-kind:has(input:focus-visible){outline:2px solid var(--green);outline-offset:2px}
.report-kind input{appearance:none;flex:none;width:18px;height:18px;margin:2px 0 0;border:1.5px solid var(--muted);border-radius:50%;background:var(--surface);display:grid;place-content:center}
.report-kind input:checked{border-color:var(--green)}
.report-kind input:checked::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--green)}
.report-kind input:focus-visible{outline:0}
.report-kind strong{display:block;font-size:15px;font-weight:600}
.report-kind small{display:block;margin-top:2px;font-size:13px;color:var(--muted);line-height:1.45}
.report-form textarea{width:100%;box-sizing:border-box;min-height:96px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:15px;line-height:1.5;resize:vertical}
.report-form textarea:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 2px var(--soft)}
.report-form textarea::placeholder{color:var(--muted);opacity:.8}
.report-summary{padding:11px 13px;border-radius:10px;background:var(--soft);color:var(--green)}
.report-summary strong{display:block;font-size:12px;font-weight:600;letter-spacing:.02em}
.report-summary pre{margin:5px 0 0;font:inherit;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word;color:var(--text)}
.report-actions{display:flex;flex-wrap:wrap;gap:10px}
.report-actions .button{gap:8px}
.report-form .settings-note{margin:0;line-height:1.55}
.report-form .settings-note a{color:var(--green)}
.guide-report{margin-top:14px}
.guide-report a{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:14px;font-weight:600}
@media(max-width:700px){.about-links{margin-top:5px;gap:0 22px}.report-actions .button{flex:1}}
.hub-footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}
/* Coverage map on the locations page */
.coverage-text p{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 14px;max-width:520px}
.coverage-text .coverage-credit{font-size:12px;margin:0}
.coverage-credit a{color:var(--muted)}
.coverage-table{width:100%;max-width:520px;margin:6px 0 16px;border-collapse:collapse;font-size:14px}
.coverage-table caption{text-align:left;font-weight:600;font-size:14px;color:var(--text);padding-bottom:6px}
.coverage-table th,.coverage-table td{padding:5px 8px;border-bottom:1px solid var(--line);text-align:left;line-height:1.4;height:auto}
.coverage-table thead th{color:var(--muted);font-size:12px;font-weight:600}
.coverage-table td{width:28%;text-align:right;font-variant-numeric:tabular-nums}
.coverage-table thead th:not(:first-child){text-align:right}
.coverage-table tbody th{font-weight:500}
.coverage-table a{color:var(--green);text-decoration:none}
.coverage-table a:hover{text-decoration:underline}
/* Locations page: keep the header and footer full width inside the flex page, and dark theme fixes. */
.hub-page>.hub-header,.hub-page>.hub-footer{width:100%;box-sizing:border-box}
[data-theme=dark] .hub-header .button{color:#183c2b}
.hub-logo-dark{display:none}
[data-theme=dark] .hub-logo-light{display:none}
[data-theme=dark] .hub-logo-dark{display:block}
.coverage-table th{position:static;z-index:auto;background:none;color:var(--text);font-size:14px}
.coverage-table thead th{background:var(--soft);color:var(--muted);font-size:12px}
.coverage-table tbody tr:last-child>*{border-bottom:0}
.table-wrap tbody tr:last-child th{border-bottom:0}
/* Scroll bars in the brand colours (location list, dialogs, timetables). */
.location-results,dialog,.table-wrap{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--green) 35%,transparent) transparent}
.location-results::-webkit-scrollbar,dialog::-webkit-scrollbar,.table-wrap::-webkit-scrollbar{width:10px;height:10px}
.location-results::-webkit-scrollbar-track,dialog::-webkit-scrollbar-track,.table-wrap::-webkit-scrollbar-track{background:transparent}
.location-results::-webkit-scrollbar-thumb,dialog::-webkit-scrollbar-thumb,.table-wrap::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:10px;background:color-mix(in srgb,var(--green) 35%,transparent) padding-box}
/* Coverage map on /locations: constituencies shaded by district, calculation points and calendars. */
.hub-main .coverage{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,440px);grid-template-areas:'text map' 'details map';grid-template-rows:auto 1fr;gap:0 28px;align-items:start;margin:0 0 36px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);--shade-1:#e6efe3;--shade-2:#d5e5d1;--shade-3:#c4d9bf;--area-line:#fff;--area-hover:#9fc3a9;--point:#163f32;--calendar:#d7a93f;--calendar-ring:#8a6a23}
[data-theme=dark] .hub-main .coverage{--shade-1:#1f2d25;--shade-2:#2b4034;--shade-3:#385343;--area-line:#131c18;--area-hover:#4f7a62;--point:#e2e9df;--calendar:#e0b452;--calendar-ring:#131c18}
.coverage-legend{display:grid;gap:9px;margin:0 0 18px;padding:0;list-style:none;font-size:15px;line-height:1.4}
.coverage-legend li{display:flex;align-items:center;gap:10px}
.legend-area{flex:none;width:22px;height:14px;border-radius:3px;background:linear-gradient(90deg,var(--shade-1) 0 33%,var(--shade-2) 33% 66%,var(--shade-3) 66%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 25%,transparent)}
.legend-dot{flex:none;border-radius:50%;margin:0 6px}
.legend-dot.is-point{width:6px;height:6px;margin:0 8px;background:var(--point)}
.legend-dot.is-calendar{width:10px;height:10px;background:var(--calendar);box-shadow:0 0 0 1.5px var(--calendar-ring)}
.coverage-text{grid-area:text}
.coverage-details{grid-area:details}
.coverage-map{grid-area:map;position:relative;margin:0;width:100%;max-width:440px;justify-self:center}
.map-frame{position:relative;border-radius:12px;background:color-mix(in srgb,var(--soft) 45%,var(--surface));overflow:hidden;aspect-ratio:2753/5100}
.map-svg{display:block;width:100%;height:100%;touch-action:pan-y}
.coverage-map.is-zoomed .map-svg{touch-action:none;cursor:grab}
.coverage-map.is-zoomed .map-svg:active{cursor:grabbing}
.map-area path{fill:var(--shade-1);stroke:var(--area-line);stroke-width:.8px;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill .12s ease}
.map-area.shade-2 path{fill:var(--shade-2)}
.map-area.shade-3 path{fill:var(--shade-3)}
.map-area:hover path,.map-area.is-active path{fill:var(--area-hover)}
.map-points circle{fill:var(--point);pointer-events:none}
.map-calendar circle{fill:var(--calendar);stroke:var(--calendar-ring);stroke-width:1.2px;vector-effect:non-scaling-stroke}
.map-calendar.is-group circle{stroke-width:2px}
.map-calendar:hover circle,.map-calendar.is-active circle{stroke:var(--point);stroke-width:2.2px}
.map-labels{pointer-events:none;font-family:var(--sans);fill:var(--text);paint-order:stroke;stroke:color-mix(in srgb,var(--surface) 85%,transparent);stroke-width:3px;stroke-linejoin:round;text-anchor:middle;dominant-baseline:middle}
.map-district-labels{font-weight:700;letter-spacing:.02em;fill:color-mix(in srgb,var(--text) 80%,transparent)}
.map-area-labels{font-weight:600;display:none}
.coverage-map.show-names .map-area-labels{display:inline}
.coverage-map.show-names .map-district-labels{display:none}
.map-tip{position:absolute;z-index:3;transform:translate(0,-50%);display:grid;gap:1px;max-width:240px;padding:7px 11px;border-radius:9px;background:var(--text);color:var(--bg);box-shadow:0 8px 24px #0e241c33;font-size:13px;line-height:1.35;pointer-events:none}
.map-tip.flip{transform:translate(-100%,-50%)}
.map-tip strong{font-size:14px;font-weight:650}
.map-tip span{opacity:.82}
.map-tip[hidden]{display:none}
.map-controls{position:absolute;top:10px;right:10px;display:grid;gap:6px}
.map-controls[hidden]{display:none}
.map-controls button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--green);box-shadow:0 2px 8px #0e241c1a;cursor:pointer}
.map-controls button:hover:not(:disabled){border-color:var(--green)}
.map-controls button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.map-controls button:disabled{opacity:.4;cursor:default}
.map-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.map-hint{margin:10px 2px 0;color:var(--muted);font-size:13px;line-height:1.5;text-align:center}
.map-hint[hidden]{display:none}
@media(max-width:820px){.hub-main .coverage{grid-template-columns:1fr;grid-template-areas:'text' 'map' 'details';grid-template-rows:auto;padding:18px 16px;gap:4px}.coverage-map{max-width:420px;margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.map-area path{transition:none}}
.coverage-credit{font-size:12px;color:var(--muted);margin:0}
/* How to choose a timetable (FAQ on /locations) */
.hub-lead a{color:var(--green);font-weight:600}
.hub-main .hub-faq{max-width:820px;margin:44px 0 10px}
.hub-faq h2{margin-bottom:14px}
.hub-faq details{border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-bottom:10px}
.hub-faq summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;padding:12px 16px;font-size:16px;font-weight:650;cursor:pointer;list-style:none}
.hub-faq summary::-webkit-details-marker{display:none}
.hub-faq summary::after{content:'';flex:none;width:9px;height:9px;margin-right:4px;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(45deg) translateY(-3px);transition:transform .15s ease}
.hub-faq details[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.hub-faq summary:hover{color:var(--green)}
.hub-faq summary:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:12px}
.hub-faq details p{margin:0;padding:0 16px 14px;color:var(--muted);font-size:15px;line-height:1.7}
.hub-faq details p a{color:var(--green)}
@media(prefers-reduced-motion:reduce){.hub-faq summary::after{transition:none}}
/* Breadcrumb in the top bar: Kerala, the district page, then the timetable */
.breadcrumb{min-width:0}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover,.breadcrumb a:focus-visible{color:var(--green);text-decoration:underline}
.breadcrumb [aria-current]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:32ch}
/* Prayer times by district, on the home page */
.home-guide{margin:34px 0 8px}
.home-guide .guide-links{margin-bottom:10px}
/* Nearest constituency timetables, on each timetable page */
.guide-links .guide-distance{margin-left:7px;color:var(--muted);font-size:13px}
/* District pages: today's times for every timetable in the district */
.hub-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;color:var(--muted);font-size:14px}
.hub-crumbs a{color:var(--green);text-decoration:none}
.hub-crumbs a:hover,.hub-crumbs a:focus-visible{text-decoration:underline}
.hub-district-link{margin:-4px 0 12px;font-size:14px}
.hub-district-link a{color:var(--green);font-weight:600}
.hub-main .district-today{margin-bottom:34px}
.district-summary{max-width:760px;color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 14px}
.district-today .table-wrap{max-height:none}
.district-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.district-table thead th{text-align:left;white-space:nowrap}
.district-table td{white-space:nowrap}
.district-table tbody th{font-size:15px;color:var(--text)}
.district-table tbody th a{color:var(--text);font-weight:650;text-decoration:none}
.district-table tbody th a:hover,.district-table tbody th a:focus-visible{color:var(--green);text-decoration:underline}
.district-table tbody th span{display:block;color:var(--muted);font-size:12px;font-weight:500}
.district-note{color:var(--muted);font-size:14px;margin:10px 0 0}
.district-more p{margin:14px 0 0}
.district-more p a{color:var(--green);font-weight:600}
@media(max-width:600px){.district-table td,.district-table th{padding:10px 9px}.district-table tbody th{font-size:14px}}
/* Keep timetable names in view while the times scroll sideways on phones */
.district-table thead th:first-child,.district-table tbody th{position:sticky;left:0;z-index:1;background:var(--surface)}
.district-table thead th:first-child{background:var(--soft);z-index:2}
.district-table tbody tr:hover th{background:var(--bg)}
