:root{--bg:#f8f7f2;--ink:#1e3435;--muted:#677472;--line:#dedfd6;--gold:#dfc28b;--green:#162f31;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input{font:inherit}a{color:inherit;text-underline-offset:4px}button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,.table-scroll:focus-visible{outline:2px solid #9e783a;outline-offset:4px}button{cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:default}[hidden]{display:none!important}.header{max-width:1280px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:650;line-height:1.2;text-decoration:none;letter-spacing:-.5px}.brand small{display:block;font-size:9px;letter-spacing:2.4px;font-weight:500;margin-top:6px;color:var(--muted)}nav{display:flex;gap:30px;font-size:12px}nav a{text-decoration:none;color:var(--muted)}nav .nav-active{color:var(--ink)}.header-clock{display:flex;align-items:center;gap:8px;font-size:12px}.header-clock time{font-variant-numeric:tabular-nums;font-weight:600}.header-clock>span:last-child{color:var(--muted);font-size:11px;border-left:1px solid var(--line);padding-left:10px}.dot{display:inline-block;width:6px;height:6px;background:#759e8d;border-radius:50%;flex-shrink:0}main{max-width:1200px;margin:0 auto;padding:52px 40px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.8px;color:#7c806f;margin:0 0 11px}.intro h1{font-family:var(--serif);font-weight:400;letter-spacing:-1.5px;font-size:48px;line-height:1.15;margin:0 0 13px}.intro-text{margin:0;color:var(--muted);font-size:13px}.location{display:flex;align-items:center;gap:11px;font-size:13px;border-left:1px solid var(--line);padding:8px 0 8px 26px}.location small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.dashboard{display:grid;grid-template-columns:1.08fr 1fr;gap:24px;scroll-margin-top:24px}.next-card{background:var(--green);color:#f9f7ee;padding:32px 36px 22px;border-radius:8px;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:475px}.arch{position:absolute;right:-56px;top:70px;width:240px;height:340px;color:#dfc28b;opacity:.13;pointer-events:none}.next-card>*:not(.arch){position:relative}.next-top{display:flex;justify-content:space-between;align-items:center}.overline{font-size:10px;letter-spacing:1.8px;color:#b5c4be}.next-date{font-size:10px;color:#ccd3c6;border:1px solid #ffffff25;border-radius:20px;padding:3px 11px}.next-name{display:flex;gap:25px;align-items:baseline;margin-top:26px}.next-name h2{font:400 70px/1.2 var(--serif);margin:0;letter-spacing:-1.8px}.next-name>span{font:29px/1.4 var(--serif);color:var(--gold);opacity:.85}.next-time{display:flex;align-items:baseline;gap:10px;margin-top:6px;line-height:1.3}.next-time>time{font-size:36px;font-weight:350;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.next-first{font-size:19px;color:#c0c8b9;font-variant-numeric:tabular-nums}.next-first small{display:block;font-size:10px}.next-note{font-size:11px;color:var(--gold);margin:12px 0 0;min-height:18px}.countdown{border-top:1px solid #ffffff22;margin-top:24px;padding-top:21px}.countdown>span{font-size:11px;color:#c7d1c7}.digits{display:flex;align-items:flex-start;gap:22px;margin-top:8px}.digits>div{min-width:64px;display:flex;flex-direction:column}.digits strong{font-size:42px;font-weight:350;color:var(--gold);font-variant-numeric:tabular-nums;letter-spacing:1px;line-height:1.3}.digits small{font-size:8px;color:#a9beb4;letter-spacing:1.4px;margin-top:6px}.digits b{font-size:27px;font-weight:300;color:#b3bbac;padding-top:4px}.next-footer{margin-top:auto;padding-top:26px;font-size:10px;color:#a6bdb2;display:flex;align-items:center;gap:8px}.day-card{background:#fffefa;border:1px solid var(--line);border-radius:8px;padding:25px 28px 17px}.day-title{display:flex;justify-content:space-between;align-items:center}.day-title .eyebrow{margin-bottom:2px;font-size:9px}.day-title h2{font:400 24px/1.4 var(--serif);margin:0}.date-buttons{display:flex;gap:5px}.date-buttons button{border:1px solid var(--line);background:transparent;width:31px;height:31px;border-radius:50%;font-size:14px;line-height:1}.date-buttons button:hover{background:#eceee5}.date-input{display:flex;align-items:center;gap:10px;margin-top:10px;color:var(--muted);font-size:10px}.date-input input{border:0;background:transparent;padding:0;color:var(--muted);max-width:128px;font-size:11px}.text-button{background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:11px}.date-input .text-button{margin-left:auto}.prayers{margin-top:13px}.prayer{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;border-bottom:1px solid #e8e9e2;gap:12px;min-height:50px}.prayer:first-child{border-top:1px solid #e8e9e2}.prayer-name{display:flex;align-items:center;gap:11px;font-size:13px}.prayer-index{font-size:9px;color:#8f9c94}.prayer-arabic{font-family:var(--serif);font-size:14px;color:#8c9589;margin-left:auto}.prayer-times{text-align:right;white-space:nowrap;font-size:14px;font-variant-numeric:tabular-nums;min-width:115px}.first{font-size:11px;font-weight:400;color:#8a9185;margin-left:3px}.prayer.active{background:#edf0e6;border-color:transparent;border-radius:5px;font-weight:600}.prayer.active .prayer-index{color:#48725d}.prayer.past>.prayer-name,.prayer.past>.prayer-times{color:#90998d}.prayer .badge{font-size:7px;font-weight:500;color:#48725d;background:#dfe7d7;border-radius:3px;letter-spacing:.5px;padding:2px 4px}.sunrise{display:flex;justify-content:space-between;padding:14px 10px 8px;color:var(--muted);font-size:11px}.sunrise time{font-variant-numeric:tabular-nums}.first-legend{margin:6px 0 0;font-size:9px;color:#737e70;text-align:center}.first-legend span{color:#8b9385}.season-note{padding:14px 18px;background:#f0eadc;border:1px solid #e0d5b8;font-size:12px;border-radius:6px}.error{padding:20px;background:#f7e3dc;color:#763d2b;border-radius:6px}.overview{margin-top:45px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:18px}.section-heading .eyebrow{font-size:9px;margin-bottom:3px}.section-heading h2{font:400 28px/1.4 var(--serif);margin:0}.view-toggle{background:#eeefe8;border:1px solid #dfe2d7;padding:3px;border-radius:5px;display:flex;gap:3px}.view-toggle button{border:0;background:none;font-size:10px;padding:6px 14px;border-radius:3px}.view-toggle button[aria-pressed=true]{background:#fffefa;box-shadow:0 1px 4px #182f3010}.table-scroll{overflow-x:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}th{font-weight:500;font-size:10px;color:#6c786d;background:#f0f1e9;text-align:right;padding:12px 16px}th:first-child{text-align:left}th small{font-size:9px;font-weight:400}td{padding:13px 16px;text-align:right;border-bottom:1px solid #e6e7de}td:first-child{text-align:left}tbody tr:last-child td{border-bottom:0}tr.today{background:#edf0e5}td .first{font-size:10px}td button{background:none;border:0;padding:0;font-size:11px}td button:hover{text-decoration:underline}.table-day{color:#858c7d;margin-left:7px;font-size:10px}.table-footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#7e8779;padding-top:13px}.table-footer button{font-size:10px}.method{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;margin:66px 0 62px;padding-top:38px;border-top:1px solid var(--line);scroll-margin-top:20px}.method-intro h2{font:400 33px/1.25 var(--serif);margin:10px 0 15px;letter-spacing:-.5px}.method-intro>p:not(.eyebrow){font-size:12px;color:var(--muted);max-width:335px;line-height:1.9}.method-tag{font-size:9px;border:1px solid #d3d9c9;border-radius:4px;padding:6px 9px;display:inline-block;margin-top:6px;color:#62745e}.method-details details{border-bottom:1px solid var(--line);font-size:12px}.method-details details:first-child{border-top:1px solid var(--line)}summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 0;font-size:12px}summary::-webkit-details-marker{display:none}summary>span{font-size:16px;color:#7d8c7a}details[open]>summary>span{transform:rotate(45deg)}details p{font-size:11px;line-height:1.9;color:var(--muted);margin:0 0 16px}dl{margin:0 0 16px;font-size:10px}dl>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0}dt{color:var(--muted);flex-shrink:0}dd{text-align:right;margin:0}dd small{display:block;color:var(--muted);font-size:9px}.footer{max-width:1280px;margin:auto;border-top:1px solid var(--line);padding:25px 40px 35px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:#7d8779}.footer-brand{text-decoration:none;font-weight:600;color:var(--ink);font-size:12px}.footer-brand span{font-weight:400;color:var(--muted);margin-left:10px;font-size:10px}.footer>a:last-child{text-decoration:none;font-size:10px}@media(min-width:1500px){main{padding-top:65px}.intro{margin-bottom:40px}}@media(max-width:900px){.header{padding:20px 24px}main{padding:35px 24px 0}.header nav{gap:18px}.header-clock>span:last-child{display:none}.dashboard{gap:16px}.next-card{padding:27px 25px 22px}.next-name h2{font-size:60px}.digits{gap:14px}.digits>div{min-width:52px}.digits strong{font-size:36px}.day-card{padding:23px 19px 17px}.prayer{padding:12px 5px}.prayer-times{min-width:95px}.prayer-name{gap:8px}.prayer-arabic{display:none}.method{gap:35px}.footer{padding:24px}.footer>span{display:none}}@media(max-width:640px){.header{padding:18px 20px}.brand{font-size:16px}.brand img{width:36px;height:36px}.header nav{display:none}.header-clock{font-size:11px}main{padding:30px 20px 0}.intro{display:block;margin-bottom:23px}.intro h1{font-size:39px}.intro-text{font-size:12px}.intro .eyebrow{font-size:9px}.location{border:0;padding:0;margin-top:20px;font-size:11px;gap:8px}.location small{display:inline;font-size:10px;margin-left:8px}.location svg{width:14px;height:16px}.dashboard{grid-template-columns:1fr}.next-card{min-height:430px;padding:27px 28px 22px}.next-name h2{font-size:66px}.next-name{margin-top:22px}.next-name>span{font-size:27px}.next-time>time{font-size:34px}.digits{gap:20px}.digits>div{min-width:58px}.digits strong{font-size:40px}.next-footer{padding-top:20px}.day-card{padding:23px}.prayer{padding:14px 10px}.prayer-arabic{display:block}.prayer-times{min-width:110px}.first-legend{font-size:10px}.overview{margin-top:35px}.section-heading h2{font-size:25px}.view-toggle button{padding:6px 10px}.table-footer{flex-direction:column;align-items:flex-start;gap:9px}.method{grid-template-columns:1fr;gap:25px;margin:40px 0;padding-top:30px}.method-intro h2{font-size:31px}.method-intro h2 br{display:none}.method-intro>p:not(.eyebrow){max-width:none}.method-details summary{font-size:12px}dl{font-size:11px}.footer{padding:22px 20px;align-items:flex-start}.footer-brand span{display:block;margin:3px 0 0}.table-scroll{margin-right:-20px}.first{font-size:11px}td,th{padding-left:13px;padding-right:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.day-mark{font-size:8px;margin-left:3px;color:#7c806f}

.picker-bar{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;background:#fffefa;border:1px solid var(--line);border-radius:8px;padding:23px 28px;margin-bottom:26px}.picker-field label{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.picker-field label span{font-weight:400;color:var(--muted);margin-left:7px}.picker-field input,.picker-field select{color:var(--ink);background:var(--bg);border:1px solid #d7dcd1;border-radius:5px;min-height:44px;padding:9px 12px;font:inherit;width:100%;min-width:0}.picker-field select{cursor:pointer}.picker-date{display:flex;align-items:center;gap:14px}.picker-date input{flex:1}.picker-field small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.picker-date .text-button{flex-shrink:0}.day-card .prayers{margin-top:18px}@media(max-width:640px){.picker-bar{grid-template-columns:1fr;gap:20px;padding:20px;margin-bottom:20px}.picker-field input,.picker-field select{font-size:16px}.picker-date .text-button{font-size:11px}}

.export-section{margin-top:36px;padding:28px;background:#fffefa;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:1fr 1.2fr;gap:35px}.export-section h2{font:400 26px/1.3 var(--serif);margin:0 0 12px}.export-section p{font-size:11px;color:var(--muted)}.export-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.export-fields label{display:block;font-size:11px;margin-bottom:6px}.export-fields input{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--ink)}.export-actions{display:flex;gap:10px;flex-wrap:wrap}.export-actions button{background:var(--green);color:white;border:1px solid var(--green);border-radius:5px;padding:10px 15px;font-size:11px}.export-actions button+button{background:transparent;color:var(--green)}#print-status{min-height:18px;margin-bottom:0}#print-output{max-width:900px;padding:25px;margin:0 auto 50px}.print-page{background:white;color:#183334;padding:36px;margin-bottom:25px;border:1px solid #ddd}.print-header{display:flex;justify-content:space-between;gap:15px;border-bottom:2px solid #183334;padding-bottom:14px}.print-header h1{font:400 27px Georgia,serif;margin:0}.print-header p{font-size:11px;margin:3px 0 0}.print-header>div:last-child{text-align:right}.print-header strong{font-size:14px}.print-meta{font-size:10px;color:#555;margin:12px 0}.print-table{font-size:11px;table-layout:fixed}.print-table th,.print-table td{padding:6px 4px;white-space:nowrap}.print-table th{font-size:10px}.print-table thead th:first-child,.print-table tbody th{width:20%;text-align:left}.print-table tbody th{font-weight:400;background:transparent;border-bottom:1px solid #e6e7de}.print-table span{font-size:9px;color:#666}.print-table sup{font-size:7px}.print-footer{font-size:9px;color:#555;margin-top:16px}.print-footer p{line-height:1.5;margin:5px 0}.print-footer>div{display:flex;justify-content:space-between;border-top:1px solid #ddd;padding-top:8px;margin-top:10px}@media(max-width:640px){.export-section{grid-template-columns:1fr;gap:16px;padding:22px}.export-fields input{font-size:16px;padding:8px}.export-fields{gap:10px}#print-output{overflow-x:auto;padding:15px}.print-page{min-width:650px;padding:22px}}
@page{size:A4 portrait;margin:14mm 12mm}
@media print{body.print-ready{background:white;color:#183334}body.print-ready> :not(#print-output){display:none!important}body.print-ready #print-output{display:block!important;width:100%;max-width:none;margin:0;padding:0;overflow:visible}#print-output .screen-only{display:none!important}.print-page{min-width:0;width:100%;padding:0;margin:0;border:0;break-after:page;page-break-after:always;break-inside:avoid;page-break-inside:avoid}.print-page:last-child{break-after:auto;page-break-after:auto}.print-table{font-size:10px}.print-table th,.print-table td{padding:5px 3px}.print-table th{font-size:9px}.print-table span{font-size:8px}.print-header{padding-bottom:10px}.print-meta{margin:9px 0}.print-footer{font-size:8px;margin-top:12px}.print-table tr{break-inside:avoid}thead{display:table-header-group}a{text-decoration:none}}

.print-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.print-preview-heading button{background:var(--green);color:white;border:0;border-radius:5px;padding:11px 16px}.print-preview-heading h2{font:400 26px Georgia,serif}@media print{.print-table{line-height:1.3}.print-table th,.print-table td{padding:4px 3px}}
.language-field{display:flex;align-items:center;gap:8px;margin-inline-start:15px}.language-field label{font-size:10px;color:var(--muted)}.language-field select{max-width:150px;padding:8px;border:1px solid var(--line);border-radius:5px;background:#fffefa;color:var(--ink);font-size:12px}.search-input{display:flex;gap:8px}.search-input input{min-width:0;flex:1}.search-input button{border:0;border-radius:5px;padding:8px 15px;background:var(--green);color:white;font-size:12px}.search-field{position:relative}#location-status{font-size:10px;color:var(--muted);margin:7px 0}#location-results:empty{display:none}#location-results{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:5px;margin-top:8px}.search-result{display:block;width:100%;text-align:start;border:0;border-bottom:1px solid var(--line);background:#fffefa;padding:11px 13px}.search-result:last-child{border:0}.search-result:hover,.search-result:focus-visible{background:#edf0e5}.search-result strong{font-size:12px;font-weight:600}.search-result small{display:block;margin-top:2px}.search-credit{opacity:.75}.header-clock{margin-inline-start:14px;max-width:210px}.header-clock>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.method-details summary>span:first-child{font:inherit;color:inherit;transform:none}.digits,.next-time,.prayer-times,.header-clock time{direction:ltr;unicode-bidi:isolate}.prayer-times{min-width:115px}html[dir=rtl] .prayer-arabic{margin-left:0;margin-right:auto}html[dir=rtl] .prayer-times{text-align:left}html[dir=rtl] .print-table th:first-child,html[dir=rtl] .print-table tbody th{text-align:right}html[dir=rtl] .print-header>div:last-child{text-align:left}html[dir=rtl] .method-details dd{text-align:left}html[dir=rtl] .arch{right:auto;left:-56px}html[dir=rtl] .method-intro,html[dir=rtl] .export-section{text-align:right}@media(max-width:900px){.header-clock{display:none}}@media(max-width:640px){.language-field{gap:5px}.language-field label{display:none}.language-field select{max-width:125px}.search-input button{padding:8px 12px}.header{gap:10px}.picker-date input{width:100px}.brand{font-size:15px}}

.page-tabs{display:flex;gap:6px;margin:0 0 28px;padding:5px;background:#eceedf;border:1px solid var(--line);border-radius:7px;align-items:stretch}.page-tabs a{flex:1;text-align:center;text-decoration:none;padding:12px 16px;font-size:12px;font-weight:500;border-radius:4px;color:var(--muted);display:flex;align-items:center;justify-content:center}.page-tabs a[aria-current=page]{background:#fffefa;color:var(--ink);box-shadow:0 1px 5px #18333412}.page-tabs a:hover{color:var(--ink)}[data-page]{min-height:260px}#page-print .export-section{margin-top:0}#page-method .method{margin-top:0;padding-top:18px;border-top:0}main{padding-bottom:40px}@media(max-width:640px){.page-tabs{gap:3px;margin-bottom:20px}.page-tabs a{padding:10px 7px;font-size:11px;line-height:1.5}#page-method .method{margin-bottom:10px}.header{justify-content:space-between}}

.schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 16px}.schedule-toolbar h2{font:400 24px Georgia,serif;margin:0}.schedule-toolbar>button{display:flex;align-items:center;gap:7px;background:var(--green);border:0;border-radius:5px;color:white;padding:10px 15px;font-size:11px}.schedule-toolbar>button>span:first-child{font-size:19px;line-height:1}.comparisons{margin-top:35px}.comparisons .section-heading{margin-bottom:10px}.comparisons .section-heading h2{font-size:26px}.comparisons .section-heading>span{font-size:11px;color:var(--muted)}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.saved-card{background:#fffefa;border:1px solid var(--line);border-radius:8px;padding:22px;min-width:0}.saved-card-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.saved-card-header h3{font-size:15px;margin:0;font-weight:600}.saved-card-header p{font-size:10px;color:var(--muted);margin:5px 0 0}.saved-card-header button{background:transparent;border:1px solid var(--line);border-radius:50%;width:27px;height:27px;flex-shrink:0;font-size:18px;line-height:1}.source-note{font-size:11px;color:var(--muted);line-height:1.7}.source-message{font-size:12px;background:#f1efe4;padding:14px;border-radius:5px}.source-age{font-size:9px;color:#74816f}.saved-source-links{display:flex;justify-content:space-between;font-size:10px;margin-top:14px;gap:10px}.saved-source-links button{background:none;border:0;padding:0;font-size:10px;text-decoration:underline;text-underline-offset:3px}.compare-table{margin:15px 0;font-size:12px}.compare-table th,.compare-table td{padding:9px 8px}.compare-table th{font-size:10px}.compare-table tbody th{text-align:start;background:none;border-bottom:1px solid var(--line);font-weight:500}.compare-table td{font-variant-numeric:tabular-nums}.saved-prayers>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.saved-prayers small{color:var(--muted);font-size:11px}#schedule-dialog{max-width:500px;width:calc(100% - 36px);border:1px solid var(--line);border-radius:12px;padding:25px;color:var(--ink);background:var(--bg)}#schedule-dialog::backdrop{background:#0c202075}#schedule-dialog h2{font:400 25px Georgia,serif;margin:0}.schedule-options{display:grid;gap:12px;margin-top:20px}.schedule-options>button{background:#fffefa;border:1px solid var(--line);border-radius:5px;padding:15px;text-align:start;font-size:13px}.schedule-options>button:hover{background:#e9eddf}.schedule-options small{font-size:10px;color:var(--muted)}@media(max-width:700px){.comparison-grid{grid-template-columns:1fr}.schedule-toolbar h2{font-size:22px}.saved-card{padding:20px}.comparisons .section-heading{align-items:center}.comparisons .section-heading h2{font-size:23px}.compare-table{table-layout:fixed}}
/* Turquoise, copper and carved light: photography supplied for Waqtussalah. */
:root{--bg:#f5f0e8;--ink:#173d40;--muted:#677873;--line:#dcd6ca;--gold:#edc396;--green:#103a3e;--copper:#a85a3d;--turquoise:#12616b}
body{background:radial-gradient(ellipse at 3% 20%,#e6eeea70,transparent 45%),var(--bg)}
.header{border-bottom-color:#c9bda94d}.brand{letter-spacing:-.4px}.brand small{color:#92745b}.language-field select{background:#fbf8f2;border-color:#d6cebf}.header-clock .dot{background:#b87552}.header-clock>span:last-child{border-color:#d6cebf}
main{padding-top:30px}.picker-bar{background:#fcfaf6;border-color:#dfd6c7;box-shadow:0 5px 25px #422b1712;padding:21px 26px}.picker-field input,.picker-field select{background:#f7f4ee;border-color:#d9d2c6;border-radius:5px}.picker-field label{color:#4d6260}.search-input button{background:var(--turquoise)}.search-input button:hover{background:#0d4750}
.page-tabs{border:0;border-bottom:1px solid #d2c5b3;border-radius:0;background:transparent;padding:0;gap:24px;margin-bottom:24px}.page-tabs a{border-radius:0;padding:11px 15px;border-bottom:2px solid transparent;margin-bottom:-1px;color:#7b796c;flex:initial;min-width:140px}.page-tabs a[aria-current=page]{background:transparent;box-shadow:none;color:var(--copper);border-color:var(--copper)}
.page-banner{position:relative;isolation:isolate;min-height:194px;display:flex;align-items:center;padding:30px 36px;margin-bottom:28px;border-radius:8px;overflow:hidden;color:#fff9ee;background:#103a3e;border:1px solid #173e3c26;box-shadow:0 8px 28px #382b1810}.page-banner picture,.page-banner img{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.page-banner img{object-fit:cover;object-position:50% 38%}.page-banner:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#082c30eb 0%,#0c3336b8 34%,#092b2d28 78%,#0d282b40)}.banner-times img{object-position:50% 36%}.banner-print img{object-position:50% 49%}.banner-method img{object-position:50% 46%}.banner-method:after{background:linear-gradient(90deg,#072c31ed,#092c31a6 45%,#3522141f)}.banner-copy{max-width:78%;position:relative}.banner-copy>p{font-size:9px;letter-spacing:3.5px;color:#e8bf95;margin:0 0 10px;font-weight:600}.banner-copy h1{font:400 clamp(30px,3.5vw,44px)/1.2 var(--serif);letter-spacing:-.6px;margin:0;color:#fff7e9}.banner-copy>span{display:block;color:#d8dcd0;font-size:11px;margin-top:12px;letter-spacing:.6px}.banner-corner{position:absolute;inset-inline-end:24px;bottom:14px;color:#f1c49a;font-size:32px;opacity:.7}
.schedule-toolbar h2{color:#806449;font-size:21px}.schedule-toolbar>button{background:#a45a3e;box-shadow:0 3px 8px #7c4b2920}.schedule-toolbar>button:hover{background:#89462e}.next-card{background:linear-gradient(90deg,#0b3034f2 0%,#0c3338e8 50%,#0b3034bd 100%),url('/images/ornament-copper-small.webp') center 58%/cover;border:1px solid #3a6260;box-shadow:0 10px 28px #23352d15}.next-card:after{content:'';position:absolute;inset:12px;border:1px solid #d5b0891f;border-radius:3px;pointer-events:none}.next-card .arch{display:none}.next-name h2{color:#fff5e5}.next-time>time{color:#fffaed}.digits strong{color:#eac095}.next-footer{color:#bed1c8}.next-footer .dot{background:#d09d72}.overline{color:#e4c1a0}.next-date{border-color:#d6b28a40;background:#133d3a40}.next-note{color:#e4c1a0}.countdown{border-color:#d8c3a52e}
.day-card,.saved-card,.export-section{background:#fcfaf6;border-color:#ddd3c3;box-shadow:0 5px 18px #3c2d1910}.day-card{border-top:3px solid #b47651}.prayer.active{background:#e2ede8;border:1px solid #c9dcd3}.prayer.active .badge{background:#cfdfd5;color:#295a50}.prayer .prayer-index{color:#a4866a}.prayer.active .prayer-index{color:#9a5736}.first-legend{color:#8b7e6c}.eyebrow{color:#9b7353}.section-heading h2{color:#224f50}.view-toggle{background:#e9e5da;border-color:#d7d1c3}.view-toggle button[aria-pressed=true]{background:#fcfaf6;color:#8f4e34}th{background:#e9e9dd;color:#5e726a}tr.today{background:#e2ece5}.saved-card{border-top:3px solid #a8704e}.saved-card-header h3{color:#24565a}.saved-source-links>a{color:#9b563b}.source-age{color:#8e806c}.source-message{background:#eee7d9}.source-note{color:#6d7b72}.export-actions button{background:#a45a3e;border-color:#a45a3e}.export-actions button+button{background:transparent;color:#995033}.export-section h2{color:#285459}.method-intro h2{color:#245257}.method-tag{border-color:#ba9c72;color:#8d6744;background:#f1e8d8}.method-details details{border-color:#d7cdbd}.method-details summary>span:last-child{color:#b2734f}.method-intro>p:not(.eyebrow){color:#6e7d74}.footer{border-top-color:#cbbda7}.footer-brand{color:#194b50}.photo-credit{font-size:9px;color:#958772;text-align:center;margin:-18px 20px 28px;letter-spacing:.2px}#schedule-dialog{background:#f7f2e9;border-color:#c7ac87}.schedule-options>button{background:#fdfbf7;border-color:#ddd0bb}.schedule-options>button:hover{background:#e5eee7}.print-preview-heading button{background:#a45a3e}
html[dir=rtl] .page-banner:after,html[dir=rtl] .banner-method:after{background:linear-gradient(270deg,#082c30ed 0%,#0c3336b8 38%,#092b2d28 85%)}
@media(max-width:640px){main{padding-top:20px}.picker-bar{padding:19px;margin-bottom:15px}.page-tabs{gap:0;margin-bottom:18px}.page-tabs a{flex:1;min-width:0;padding:10px 7px}.page-banner{min-height:156px;padding:23px 24px;margin-bottom:22px}.banner-copy{max-width:90%}.banner-copy h1{font-size:30px;line-height:1.2}.banner-copy>p{font-size:8px;letter-spacing:2.5px}.banner-copy>span{font-size:10px}.banner-times img{object-position:56% 36%}.banner-corner{font-size:25px;inset-inline-end:17px;bottom:8px}.schedule-toolbar h2{font-size:20px}.schedule-toolbar>button{padding:9px 12px}.next-card{background-position:center,center 60%}.photo-credit{font-size:8px;line-height:1.7;margin-top:-9px}}
@media print{.print-page{box-shadow:none;background:white}.print-header{border-bottom-color:#875b3d}.print-table th{background:white;color:#172f30}.print-table td{color:#172f30}.print-footer{color:#444}.print-preview-heading{display:none!important}}
:root{--muted:#5d6d66}.source-note{color:var(--muted)}.page-tabs a{color:#66695f}.page-tabs a[aria-current=page]{color:#944b34}.photo-credit{color:#786c5a}

.location-welcome {margin:36px 0 24px;padding:48px 32px;border-radius:20px;background:linear-gradient(90deg,rgba(9,42,45,.95),rgba(9,42,45,.62)),url('/images/ornament-arch-small.webp') center 42%/cover;color:#fff4e5}.location-welcome h1{font-size:clamp(28px,5vw,44px);margin:10px 0}.location-welcome p{max-width:620px;line-height:1.65}.location-welcome .eyebrow{color:#edc396}.choosing-location [data-page],.choosing-location .page-tabs,.choosing-location .header-clock,.choosing-location .picker-date,.choosing-location .picker-field:first-child,.choosing-location #print-output{display:none!important}.choosing-location .picker-bar{grid-template-columns:1fr}.choosing-location .search-field{width:100%}
/* Bordeaux and turquoise — quiet surfaces, clear times. */
:root{--bg:#f5f0ef;--ink:#442431;--muted:#75636c;--line:#e2d4d9;--green:#542038;--gold:#a9e1e3;--copper:#792e4c;--turquoise:#ace0e1}
body{background:radial-gradient(ellipse at 100% 0,#c9eeee55,transparent 42%),#f5f0ef}
.header{border-color:var(--line);padding-top:22px;padding-bottom:22px}.brand small{color:#876573;letter-spacing:1.6px}.header-clock .dot{background:#719c9e}.header-clock>span:last-child{border-color:var(--line)}.language-field select{background:#fffbfc;border-color:var(--line)}.language-field label{display:none}
main{padding-top:24px}.picker-bar{background:#fffbfc;border-color:var(--line);box-shadow:none;padding:18px 22px;gap:24px}.picker-field label{color:#785965;font-size:10px}.picker-field input{background:#f8f3f5;border-color:#e3d7dc}.search-input button{background:#542038;color:#fff5fa}.search-input button:hover{background:#742b49}#location-description{color:#806470}#location-description:empty,#location-status:empty{display:none}
.page-tabs{border-color:#d9c6ce;gap:12px;margin-bottom:20px}.page-tabs a{color:#806873;min-width:110px;font-size:11px}.page-tabs a[aria-current=page]{color:#63223e;border-color:#63223e}
.page-banner{min-height:116px;padding:23px 28px;border-radius:12px;border:0;box-shadow:none;margin-bottom:20px;background:#491c30}.page-banner:after,.banner-method:after{background:linear-gradient(90deg,#41182ef5,#491c30b5 48%,#491c3020)}.banner-copy>p,.banner-corner{display:none}.banner-copy h1{font-size:31px;color:#fff4f8}.banner-copy>span{color:#bfe6e7;margin-top:6px}.banner-times img{object-position:50% 39%}
.schedule-toolbar{margin-bottom:12px}.schedule-toolbar h2{font:500 12px system-ui;color:#80616e}.schedule-toolbar>button{background:#542038;box-shadow:none;border-radius:50%;width:36px;height:36px;justify-content:center;padding:0}.schedule-toolbar>button>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.next-card{min-height:390px;padding:30px 34px;border-radius:14px;background:linear-gradient(110deg,#43152eee,#542038e8 55%,#38182db8),url('/images/ornament-copper-small.webp') center 56%/cover;border:1px solid #602d45;box-shadow:0 14px 35px #491c3018}.next-card:after{border-color:#bde7e520;border-radius:7px}.next-name{margin-top:22px}.next-name h2{color:#fff5f8;font-size:64px}.next-name>span,.next-first{color:#bce4e5}.next-time>time{color:#fff7fa}.overline{color:#bce4e5}.next-date{color:#e7d6df;border-color:#e6c7d733;background:#632a4233}.digits strong{color:#bce9ea}.digits small,.digits b,.countdown>span{color:#d5c0cd}.countdown{margin-top:22px;border-color:#c9e5e52a}.next-note{display:none}
.day-card,.saved-card,.export-section{background:#fffbfc;border:1px solid #e3d5dc;border-radius:14px;box-shadow:0 6px 24px #491c3007}.day-card{padding-top:26px}.day-title .eyebrow{display:none}.day-title h2{font-size:23px;color:#542038}.prayer{border-color:#eee3e8}.prayer:first-child{border-color:#eee3e8}.prayer.active{background:#def0f0;border-color:#c3e3e4}.prayer.active .prayer-index{color:#386e72}.prayer .badge{background:#c0e3e4;color:#28565b}.prayer-index{display:none}.prayer-arabic{color:#927580}.first{color:#896e7a}.prayer.past>.prayer-name,.prayer.past>.prayer-times{color:#94828b}.sunrise{color:#806b76}
.section-heading h2,.saved-card-header h3,.export-section h2,.method-intro h2{color:#542038}.eyebrow{color:#8b6274}.overview .eyebrow{display:none}.view-toggle{background:#eae1e6;border-color:#dfd0d8}.view-toggle button[aria-pressed=true]{background:#fffbfc;color:#63223e}th{background:#eee5ea;color:#755867}td{border-color:#e9dfe5}tr.today{background:#e2f1f1}.table-day,.table-footer{color:#806b76}.saved-source-links>a{color:#7c3652}.source-note,.source-age{color:#7b6872}.source-details{margin-top:12px;border-top:1px solid var(--line)}.source-details summary{padding:9px 0;font-size:10px;color:#806370}.source-details p{font-size:10px}.source-message{background:#f1e7ec}.export-actions button,.print-preview-heading button{background:#542038;border-color:#542038}.export-actions button+button{color:#542038;background:transparent}.method-tag{background:#e1f0f0;border-color:#b7d7da;color:#3d6c70}.method-details details{border-color:var(--line)}.method-details summary>span:last-child{color:#8b405e}.method-intro>p:not(.eyebrow){color:var(--muted)}.footer{border-color:var(--line);padding-bottom:25px}.footer-brand{color:#542038}.photo-credit{margin:16px 0 0;text-align:start;color:#806b76}.location-welcome{margin:8px 0 22px;background:linear-gradient(100deg,#41172ef2,#54203880),url('/images/ornament-arch-small.webp') center 40%/cover;border-radius:16px;padding:50px 32px}.location-welcome h1{font:400 clamp(29px,5vw,44px)/1.2 Georgia,serif;max-width:600px}.location-welcome .eyebrow{display:none}#schedule-dialog{background:#fff9fc;border-color:#cdb6c2;border-radius:14px}.schedule-options>button{background:#f7eff3;border-color:#e0ced7}.schedule-options>button:hover{background:#e1f0f0}
html[dir=rtl] .page-banner:after,html[dir=rtl] .banner-method:after{background:linear-gradient(270deg,#41182ef5,#491c30b5 48%,#491c3020)}
@media(max-width:640px){.page-banner{min-height:104px;padding:21px 24px}.banner-copy h1{font-size:28px}.next-card{min-height:370px;padding:26px 28px}.next-name h2{font-size:62px}.picker-bar{gap:14px;padding:17px}.page-tabs{gap:0}.page-tabs a{min-width:0}.location-welcome{padding:42px 24px}.schedule-toolbar h2{font-size:12px}.day-card{padding:22px}.section-heading h2{font-size:23px}}
@media print{body.print-ready{background:white}.print-page{background:white;color:#183334}.print-table th,.print-table td{color:#183334;background:white}.print-header{border-color:#542038}}
/* Palette from the supplied reference: petrol, turquoise, mint, chalk, red. */
@font-face{font-family:'Noto Nastaliq';src:url('/fonts/noto-nastaliq-urdu.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
:root{--bg:#eaeaea;--ink:#003f3c;--muted:#4e706c;--line:#c8dcd7;--green:#003f3c;--gold:#a3ddd4;--copper:#ee193b;--turquoise:#00b39f}
body{background:radial-gradient(ellipse at 95% 0,#a3ddd455,transparent 45%),#eaeaea}.header{border-color:#c6d9d6}.brand small{color:#4e706c}.language-field select{background:#f8fbfa;border-color:#c8dcd7}.picker-bar,.day-card,.saved-card,.export-section{background:#f8fbfa;border-color:#d0dfdc;box-shadow:0 6px 24px #003f3c06}.picker-field label,#location-description,.section-heading>span{color:#4e706c}.picker-field input{background:#edf3f1;border-color:#c6dad5}.search-input button,.schedule-toolbar>button{background:#003f3c;color:white}.search-input button:hover{background:#006b61}.page-tabs{border-color:#c0d4cf}.page-tabs a{color:#4b706a}.page-tabs a[aria-current=page]{color:#003f3c;border-color:#ee193b}.page-banner,.location-welcome{background-color:#003f3c}.page-banner:after,.banner-method:after{background:linear-gradient(90deg,#003f3cf5,#003f3cb0 48%,#003f3c18)}.location-welcome{background:linear-gradient(100deg,#003f3cf2,#003f3c75),url('/images/ornament-arch-small.webp') center 40%/cover}.banner-copy h1{color:#f9ffff}.banner-copy>span{color:#a3ddd4}.schedule-toolbar h2{color:#4e706c}
.next-card{background:linear-gradient(110deg,#003f3cf5,#003f3ce8 55%,#003f3cae),url('/images/ornament-copper-small.webp') center 56%/cover;border-color:#005e55;box-shadow:0 14px 35px #003f3c18}.next-card:after{border-color:#a3ddd435}.next-name h2,.next-time>time{color:#f9ffff}.next-name{align-items:center;justify-content:space-between;gap:24px;min-height:110px;margin-top:10px}.next-name>span{font-family:'Noto Nastaliq',serif;font-size:46px;line-height:2.1;font-weight:400;color:#a3ddd4;opacity:1;padding:0 7px 12px;white-space:nowrap}.next-first,.overline,.digits strong{color:#a3ddd4}.digits small,.digits b,.countdown>span{color:#b9d8d2}.next-date{color:#d4eeea;background:#00665b30;border-color:#a3ddd440}.countdown{border-color:#a3ddd430}.day-title h2,.section-heading h2,.saved-card-header h3,.export-section h2,.method-intro h2,.footer-brand{color:#003f3c}.prayer,.prayer:first-child{border-color:#dce7e3}.prayer.active{background:#d8eeea;border-color:#acd8d0;border-inline-start:3px solid #ee193b}.prayer .badge{background:#a3ddd4;color:#003f3c}.prayer-arabic{color:#47766e}.first{color:#5d7d75}.prayer.past>.prayer-name,.prayer.past>.prayer-times{color:#7d938b}.sunrise,.table-day,.table-footer,.source-note,.source-age,.source-details summary{color:#526f68}.view-toggle{background:#d5e5e0;border-color:#bad5cd}.view-toggle button[aria-pressed=true]{background:#f8fbfa;color:#003f3c}th{background:#dceae5;color:#456d62}td{border-color:#d1e1da}tr.today{background:#d7eeea}.saved-source-links>a{color:#00756b}.source-message{background:#e0ece7}.export-actions button,.print-preview-heading button{background:#003f3c;border-color:#003f3c}.export-actions button+button{color:#003f3c;background:transparent}.method-tag{background:#ccebe4;border-color:#98cfc3;color:#205e51}.method-details summary>span:last-child{color:#008e7d}.method-intro>p:not(.eyebrow),.eyebrow{color:#527366}.footer{border-color:#c1d7ce}#schedule-dialog{background:#f8fbfa;border-color:#a5cbbf}.schedule-options>button{background:#e4f0e9;border-color:#bfd9cc}.schedule-options>button:hover{background:#cae9df}.search-result{background:#f8fbfa}.search-result:hover{background:#ccebe4}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline-color:#00a793}
html[dir=rtl] .page-banner:after,html[dir=rtl] .banner-method:after{background:linear-gradient(270deg,#003f3cf5,#003f3cb0 48%,#003f3c18)}
@media(max-width:640px){.next-name>span{font-size:42px;line-height:2.1;padding-bottom:12px}.next-name{min-height:106px;gap:12px}.next-name h2{font-size:56px}}
@media(max-width:380px){.next-name h2{font-size:46px}.next-name>span{font-size:36px}}
@media print{.print-table th,.print-table td{background:white;color:#183334}.print-header{border-color:#003f3c}}
/* Stronger red accents, grounded by petrol and mint. */
.search-input button,.schedule-toolbar>button,.export-actions button:first-child,.print-preview-heading button{background:#dc1235;border-color:#dc1235;color:#fff}.search-input button:hover,.schedule-toolbar>button:hover,.export-actions button:first-child:hover{background:#be0e2c}.page-tabs a[aria-current=page]{color:#c91030;border-bottom:3px solid #ed173b}.next-card{border-top:4px solid #ed173b}.brand img{box-shadow:3px 3px 0 #ed173b;border-radius:10px}.view-toggle button[aria-pressed=true]{background:#dc1235;color:white}.prayer .badge{background:#dc1235;color:white}.prayer.active{border-inline-start-width:4px}.location-welcome,.page-banner{border-inline-start:5px solid #ed173b}.date-buttons button:hover{background:#fce3e7;border-color:#e96b81;color:#a60b29}
html[lang=ar] .next-name h2{font-family:'Noto Nastaliq',serif;font-size:44px;line-height:2.2;letter-spacing:0}html[lang=ar] .next-name>span,html[lang=ar] .prayer-arabic{display:none}html[lang=ar] .banner-copy h1,html[lang=ar] .location-welcome h1{font-family:system-ui,sans-serif;letter-spacing:0}html[dir=rtl] .compare-table th:first-child,html[dir=rtl] td:first-child{text-align:right}html[dir=rtl] .date-buttons{direction:ltr}
@media(max-width:640px){html[lang=ar] .next-name h2{font-size:42px}}
.overview-toggle{border-top:1px solid var(--line);padding:20px 0;gap:15px}.overview-toggle h2{font:400 26px/1.4 Georgia,serif;color:#003f3c;margin:0}.overview-toggle>span{font-size:24px;color:#dc1235;transition:transform .2s}.overview[open]>.overview-toggle>span{transform:rotate(180deg)}.overview>.section-heading{justify-content:flex-end;margin:0 0 16px}.overview>.section-heading>div:first-child{display:none}#schedule-dialog{max-height:85vh;overflow:auto;width:min(520px,calc(100% - 32px))}#find-mosques{display:inline-block;font-size:12px;margin-bottom:12px}.manual-mosque{margin-top:20px;border-top:1px solid var(--line)}.manual-mosque summary{color:#003f3c}#mosque-form>label{display:block;font-size:11px;margin:12px 0 5px}#mosque-form>input{width:100%;padding:10px;border:1px solid #bfd9cc;border-radius:5px;background:#f8fbfa;color:#003f3c;font:inherit}.mosque-time-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mosque-time-inputs label{font-size:10px}.mosque-time-inputs input{display:block;width:100%;min-width:0;padding:7px 3px;border:1px solid var(--line);border-radius:4px;background:white;color:#003f3c}#mosque-form>button{margin-top:16px;border:0;border-radius:5px;background:#dc1235;color:white;padding:11px 18px;font:inherit;font-size:12px}
.page-tabs{flex-wrap:wrap}.page-tabs a{min-width:0;flex:1}.prayer-choices{display:flex;gap:14px;margin:0 0 18px;flex-wrap:wrap}.prayer-choices label{display:flex;align-items:center;gap:8px;font-size:11px;color:#456d62}.prayer-choices select{padding:7px 10px;border:1px solid #bad5cd;border-radius:5px;background:#f8fbfa;color:#003f3c;font:inherit}.settings-panel{padding:28px;background:#f8fbfa;border:1px solid var(--line);border-radius:14px}.settings-panel h1{font:400 30px Georgia,serif;margin:0 0 12px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.settings-grid label{font-size:12px}.settings-grid input,.settings-grid select{display:block;width:100%;padding:11px;margin-top:7px;min-height:44px;border:1px solid #bfd9cc;border-radius:5px;background:white;color:#003f3c;font:inherit}.settings-grid input{direction:ltr}.settings-panel details{border-top:1px solid var(--line)}.settings-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.settings-actions button{background:#dc1235;color:white;border:1px solid #dc1235;border-radius:5px;padding:11px 18px;font:inherit;font-size:12px}.settings-actions button+button{background:transparent;color:#003f3c;border-color:#bad5cd}.settings-panel #settings-status{font-size:12px}.settings-panel .source-note{font-size:12px}@media(max-width:640px){.page-tabs a{font-size:10px;padding:10px 5px}.settings-panel{padding:22px}.settings-grid{gap:12px}.settings-grid input,.settings-grid select{font-size:16px}.prayer-choices{gap:10px}.prayer-choices label{flex:1;min-width:130px}.prayer-choices select{width:100%}}
.source-picker{padding:18px 22px;margin:0 0 18px;background:#f8fbfa;border:1px solid #bfd9cc;border-radius:12px;border-inline-start:4px solid #dc1235}.source-picker>label{display:block;font-size:11px;margin-bottom:7px;color:#4e706c}.source-picker>select{width:100%;padding:12px;border:1px solid #bad5cd;border-radius:6px;background:#fff;color:#003f3c;font:inherit;font-size:13px}.source-identity{display:flex;align-items:center;gap:12px;margin-top:10px;font-size:12px}.source-identity a{font-size:10px}.source-picker>p,.source-picker>small{font-size:10px;color:#61776f;display:block}.source-picker>p:empty,.source-picker>small:empty{display:none}.nearby-mosques{margin-top:8px;border-top:1px solid var(--line)}.nearby-mosques summary{font-size:11px;padding:12px 0;gap:12px}.nearby-mosques summary>span:last-child{font-size:10px;color:#648174;transform:none}.nearby-mosques .source-note{font-size:10px}#mosque-directory{max-height:250px;overflow:auto}#mosque-directory>div{padding:10px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}#mosque-directory small{font-size:9px;color:var(--muted);text-align:end}#connect-mosque-form{margin-top:18px}#connect-mosque-form label{display:block;font-size:11px;margin-bottom:7px}#connect-mosque-url{width:100%;padding:10px;border:1px solid var(--line);border-radius:5px;font:inherit;font-size:12px;direction:ltr}#connect-mosque-button{background:#dc1235;border:0;color:white;border-radius:5px;padding:9px 15px;margin-top:8px}#connect-mosque-status{font-size:11px}.source-export-note{font-size:11px}
.iqama-time{display:block;font-size:9px;font-weight:400;color:#61796d;line-height:1.5;margin-top:2px;white-space:nowrap;direction:ltr}.source-identity strong{font-weight:600}
.app-status{max-width:1120px;margin:12px auto 0;padding:10px 18px;border-radius:7px;background:#d5eae5;color:#003f3c;font-size:11px;border-inline-start:3px solid #dc1235}.app-update{display:flex;align-items:center;justify-content:space-between;gap:12px}.app-update button,#install-native{background:#dc1235;color:white;border:0;border-radius:5px;padding:8px 14px;font:inherit;font-size:12px}#app-install{font:inherit;color:#003f3c;background:#d9eeea;border:1px solid #b7d8cd;border-radius:6px;padding:9px 14px;white-space:nowrap}#install-dialog{max-width:430px;width:calc(100% - 36px);padding:26px;border:1px solid #bad5cd;border-radius:16px;background:#f8fbfa;color:#003f3c}#install-dialog::backdrop{background:#003f3c88}#install-dialog h2{font:400 25px Georgia,serif;margin:0}#install-close{border:0;background:none;font-size:22px;color:#003f3c}.install-icon{display:block;border-radius:16px;margin:22px 0}#install-instructions{font-size:14px;line-height:1.8}#install-dialog .source-note{font-size:11px}.header{padding-top:max(22px,env(safe-area-inset-top));padding-inline-start:max(20px,env(safe-area-inset-left));padding-inline-end:max(20px,env(safe-area-inset-right))}.footer{flex-wrap:wrap;padding-bottom:max(25px,env(safe-area-inset-bottom))}@media(max-width:640px){.app-status{margin:10px 20px 0}.footer{gap:15px}}@media(display-mode:standalone){.header{background:#f5faf8}.footer{padding-bottom:calc(20px + env(safe-area-inset-bottom))}}@media print{.app-status,#install-dialog,#app-install{display:none!important}}
/* The next prayer leads; controls and secondary schedules open on demand. */
#home-hero{max-width:100%;min-height:350px;margin-bottom:22px}#home-hero .next-name{justify-content:flex-start;gap:42px}#home-hero .next-name>span{margin-inline-start:auto}#home-hero .countdown{max-width:400px}.hero-context{margin:12px 0 0;color:#b5d8cf;font-size:11px}.compact-fold{border:1px solid #c8dcd7;border-radius:10px;background:#f8fbfa;margin-bottom:12px;overflow:hidden}.compact-fold>summary{padding:17px 20px;gap:12px;min-height:54px;font-size:12px;color:#003f3c}.compact-fold>summary:after{content:'+';font-size:21px;line-height:1;color:#dc1235;margin-inline-start:auto}.compact-fold[open]>summary:after{content:'−'}.compact-fold>summary small{font-size:10px;color:#648174}.shared-controls .picker-bar{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.source-controls>.schedule-toolbar{margin:4px 20px 14px}.source-controls>.source-picker{margin:0 16px 16px}.source-controls>.prayer-choices{margin:0 20px 20px}.day-fold .day-card{border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.app-menu .page-tabs{margin:0;padding:0 12px 10px;border:0}.comparisons{margin-top:12px;border:1px solid var(--line);border-radius:10px;background:#f8fbfa;overflow:hidden}.comparisons>summary{margin:0;padding:17px 20px;align-items:center}.comparisons>summary h2{font:400 16px system-ui;margin:0}.comparisons>summary:after{content:'+';color:#dc1235;font-size:21px}.comparisons[open]>summary:after{content:'−'}.comparisons .comparison-grid{padding:0 16px 16px;margin-top:0}.overview{margin-top:12px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f8fbfa}.overview>.overview-toggle{border-top:0;padding:17px 20px}.overview-toggle h2{font:400 16px system-ui}.overview>.section-heading{padding:0 16px}.overview .table-footer{padding:14px 16px}.choosing-location #home-hero{display:none!important}.choosing-location .app-menu{display:none}.choosing-location #location-controls>summary{display:none}.choosing-location .location-welcome{margin-top:0}.app-menu summary{font-size:12px}#page-times{min-height:0}.source-controls summary span,.shared-controls summary span{font-size:12px}.day-fold .day-title h2{font-size:22px}@media(min-width:900px){#home-hero{padding:30px 42px;min-height:360px}#home-hero .next-name h2{font-size:76px}#home-hero .next-name>span{font-size:54px}#home-hero .countdown{position:absolute;inset-inline-end:45px;bottom:36px;width:340px;border-top:0}#home-hero .next-name{max-width:55%}#home-hero .next-time{margin-top:8px}}@media(max-width:640px){#home-hero{min-height:355px;padding:24px 28px;margin-bottom:18px}.hero-context{font-size:10px;line-height:1.6}#home-hero .next-name{gap:15px}#home-hero .next-name h2{font-size:56px}#home-hero .next-name>span{font-size:42px}.compact-fold>summary,.comparisons>summary,.overview>.overview-toggle{padding:15px 17px}.app-menu .page-tabs{flex-wrap:wrap}.app-menu .page-tabs a{flex:1 0 45%;font-size:11px}}
.makruh-times{border-top:1px solid #dce7e3;margin-top:14px;padding-top:14px}.makruh-times h3{margin:0 0 10px;font-size:11px;font-weight:600;color:#7f3446}.makruh-times>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px;padding:6px 0;font-size:10px}.makruh-times time{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}.makruh-times small{display:block;color:#6d8177;font-size:9px;margin-top:8px}.makruh-now{position:relative!important;margin:16px 0 0;padding:8px 12px;background:#fae1e5;color:#9c1330;border-radius:5px;font-size:11px;max-width:450px}.method-details details>a{font-size:11px;display:inline-block;margin-bottom:16px}
/* Tabs belong to the next-prayer card; a single panel opens below it. */
#home-hero{padding-bottom:0;overflow:hidden}.hero-tabs{display:flex;flex-wrap:wrap;gap:0;margin:24px -28px 0;padding:0 14px;background:#002f2e70;border-top:1px solid #a3ddd42e;position:relative;z-index:2}.hero-tabs button{flex:1 1 auto;border:0;border-bottom:3px solid transparent;background:transparent;color:#b8d9d2;font:inherit;font-size:11px;padding:15px 12px;min-height:50px;white-space:nowrap}.hero-tabs button:hover{background:#a3ddd412;color:#fff}.hero-tabs button[aria-selected=true]{border-bottom-color:#ed173b;background:#a3ddd41a;color:#fff}.hero-tabs button:focus-visible{outline:2px solid #a3ddd4;outline-offset:-5px}body:not(.subpage):not(.choosing-location) #location-controls:not([open]),body:not(.subpage) #app-menu:not([open]),body:not(.subpage) #source-controls:not([open]),body:not(.subpage) #daily-controls:not([open]),body:not(.subpage) #comparison-controls:not([open]),body:not(.subpage) #overview-controls:not([open]){display:none}body:not(.subpage) .compact-fold>summary:after,body:not(.subpage) .comparisons>summary:after{content:none}body:not(.subpage) .overview-toggle>span{display:none}.choosing-location .hero-tabs{display:none}#home-hero:after{bottom:62px}.hero-tabs button[hidden]{display:none!important}@media(min-width:900px){.hero-tabs{margin:26px -42px 0;padding:0 20px}.hero-tabs button{padding:17px 16px}.next-card#home-hero{min-height:420px}.next-card#home-hero .countdown{bottom:100px}#home-hero:after{bottom:64px}}@media(max-width:640px){.hero-tabs{margin:22px -28px 0;padding:0 8px}.hero-tabs button{font-size:10px;padding:13px 9px;flex:1 1 30%;min-height:43px}#home-hero:after{bottom:100px}#home-hero{margin-bottom:14px}.hero-tabs{border-top-color:#a3ddd433}}
@media(min-width:900px){#home-hero .hero-tabs{margin-top:auto}}
.compact-fold>summary>span,.compact-fold[open]>summary>span{transform:none}
.current-prayer-status{position:relative;display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin:18px 0;padding:11px 14px;border:1px solid #f0687e88;border-inline-start:3px solid #ff526e;border-radius:7px;background:#3f111fcc;color:#ff97a8;max-width:480px}.current-prayer-status>span:first-child{font-size:10px}.current-prayer-status strong{font-size:15px;font-weight:600;color:#ff8298}.current-prayer-status>#current-prayer-range{font-size:12px;font-variant-numeric:tabular-nums;color:#ff9fb0}.current-prayer-status small{width:100%;font-size:9px;line-height:1.5;color:#ffc0cc}.current-prayer-status small:empty{display:none}@media(min-width:900px){#home-hero{min-height:470px}.current-prayer-status{max-width:50%;margin-bottom:22px}}@media(max-width:640px){.current-prayer-status{margin:16px 0 4px;font-size:11px}.current-prayer-status strong{font-size:14px}}
.use-location{display:inline-flex;align-items:center;gap:7px;background:#d9eeea;color:#003f3c;border:1px solid #a7ccc1;border-radius:6px;padding:9px 13px;margin-top:11px;font:inherit;font-size:12px}.use-location:hover{background:#c6e5dd;border-color:#5f9b8b}.use-location:disabled{opacity:.5}
/* Bordeaux and clear turquoise, with the prayer card leading the screen. */
:root{--bg:#f7f0f4;--ink:#4f2037;--muted:#7b6070;--line:#e1cdd7;--green:#551a35;--gold:#7ee5e1;--turquoise:#42cfc9;--copper:#8e2d52}
body{background:radial-gradient(ellipse at 100% 10%,#ccf6f440,transparent 45%),#f7f0f4}main{padding-top:max(12px,env(safe-area-inset-top))}#home-hero{background:linear-gradient(110deg,#4e152ff5,#651c3eea 55%,#411229c9),url('/images/ornament-copper-small.webp') center 56%/cover;border-color:#7d3555;border-top-color:#49d6cf;box-shadow:0 12px 32px #4f17351c}.next-card#home-hero:after{border-color:#e1a4c52b}.next-name h2,.next-time>time{color:#fff6fb}.next-name>span,.digits strong,.next-first{color:#80e4df}.hero-context{color:#e0bfce}.overline{color:#b3eeeb}.next-date{color:#e8cbd9;border-color:#dca4bf55;background:#6e244333}.countdown{border-color:#e6b7ce33}.digits small,.digits b,.countdown>span{color:#d9b8c9}.hero-tabs{background:#3a0e2477;border-top-color:#efbbd12b}.hero-tabs button{color:#edcbdc}.hero-tabs button:hover{background:#6bdddc12;color:#fff}.hero-tabs button[aria-selected=true]{background:#42cfc91c;border-bottom-color:#58dcd6;color:#9ef3ec}.countdown-switch{display:inline-flex;align-self:flex-start;gap:4px;padding:4px;border:1px solid #bdeae340;border-radius:24px;background:#31091e45;margin:18px 0 0;max-width:100%}.countdown-switch button{border:0;background:none;color:#e3bed0;border-radius:20px;font:inherit;font-size:11px;padding:9px 17px;line-height:1.2;min-height:34px}.countdown-switch button[aria-pressed=true]{background:#7ee5e1;color:#43122a;box-shadow:0 2px 10px #0c001522}.countdown-switch button:focus-visible{outline:2px solid #fff;outline-offset:1px}.hero-time-caption{font-size:10px;color:#dfb8cb;margin-inline-end:4px}.next-time{flex-wrap:wrap;column-gap:8px}.current-prayer-status{background:#391025b5;border-color:#c477985c;border-inline-start-color:#7ee5e1;color:#f3bdd2}.current-prayer-status strong{color:#ffd1e3}.current-prayer-status>#current-prayer-range{color:#f4c3d6}.current-prayer-status.has-karahah{border-inline-start-color:#ff6c91;background:#6e143499}.current-prayer-status.has-karahah strong{color:#ffb9d0}.footer{color:#7b6070;border-color:#dbc2cf}.bottom-identity{width:100%;max-width:none;margin:8px 0 0;padding:20px 0 0!important;border-bottom:0;border-top:1px solid #e4d1db;gap:16px;background:transparent!important}.bottom-identity .brand{color:#551a35}.bottom-identity .brand small{color:#8b677b}.bottom-identity .language-field{margin-inline-start:auto}.bottom-identity .language-field select{background:#fff8fc;border-color:#ddc2d0;color:#551a35}.bottom-identity .header-clock{display:none}.footer-brand{color:#551a35}.compact-fold,.comparisons,.overview,.settings-panel{background:#fffafd;border-color:#dec5d2}.compact-fold>summary,.overview-toggle h2,.comparisons>summary h2{color:#5a2540}.source-picker{background:#fff8fc;border-color:#dfc4d2;border-inline-start-color:#42cfc9}.source-picker>select{color:#54213b;border-color:#d6b8c8}.day-card,.saved-card,.export-section{background:#fffafd;border-color:#dfc5d2}.section-heading h2,.day-title h2,.saved-card-header h3,.method-intro h2,.export-section h2{color:#5b2140}.prayer.active{background:#e0f7f4;border-color:#a9ded7;border-inline-start-color:#7b284d}.search-input button,.schedule-toolbar>button,.export-actions button:first-child,#connect-mosque-button{background:#7b284d;border-color:#7b284d}.picker-field input,.picker-field select{background:#fbf4f8;border-color:#dec8d5;color:#552039}.page-tabs a[aria-current=page]{color:#742348;border-color:#42cfc9}.page-banner:after,.banner-method:after{background:linear-gradient(90deg,#49132ef5,#5b1b3cad 48%,#49132e24)}.location-welcome{background:linear-gradient(100deg,#49132ef2,#651e4085),url('/images/ornament-arch-small.webp') center 40%/cover}.next-name h2.no-current{font:400 clamp(24px,4vw,36px)/1.3 Georgia,serif;letter-spacing:-.4px}.use-location{background:#def7f3;color:#57203a;border-color:#afdcd5}
@media(min-width:900px){.next-card#home-hero{min-height:510px}#home-hero .next-name{margin-top:2px}#home-hero .countdown{bottom:128px}.current-prayer-status{max-width:50%;margin-bottom:20px}.countdown-switch{margin-top:15px}}
@media(max-width:640px){main{padding-top:max(10px,env(safe-area-inset-top))}#home-hero .next-name{min-height:100px;margin-top:6px}#home-hero .next-name h2.no-current{font-size:28px}.countdown-switch{margin-top:16px}.countdown-switch button{font-size:11px;padding:9px 14px}.bottom-identity .brand{font-size:14px}.bottom-identity .brand small{font-size:8px;letter-spacing:1.2px}.bottom-identity .language-field select{max-width:120px}.next-time .hero-time-caption{font-size:10px}.footer{margin-top:0}.bottom-identity .brand img{width:32px;height:32px}}
@media print{.bottom-identity,.countdown-switch{display:none!important}}
.hero-context{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:10px}#hero-context-edit{display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px 5px;margin:0;padding:3px 0;border:0;background:transparent;font:inherit;font-size:12px;color:#eacddd;text-align:start;cursor:pointer}#hero-context-edit:hover{color:#a5f2ed}.context-edit-icon{font-size:15px;color:#7ee5e1;margin-inline-start:4px}.hero-source-name{font-size:10px;color:#c8a2b8}.hero-source-name:empty{display:none}#hero-context-edit:focus-visible{outline:2px solid #7ee5e1;outline-offset:4px;border-radius:3px}@media(max-width:640px){#hero-context-edit{font-size:11px}.hero-source-name{font-size:9px}}
.footer-navigation{display:flex;width:100%;flex-wrap:wrap;gap:10px 22px;justify-content:center;margin-bottom:10px}.footer-navigation a{font-size:11px;color:#79566b;text-decoration:none;padding:5px 0}.footer-navigation a[aria-current=page]{color:#6f2449;text-decoration:underline;text-underline-offset:5px}.footer-navigation a:hover{color:#8d2d56}.hero-tabs button{flex:1 1 0}@media(max-width:640px){.hero-tabs button{flex:1 1 0;padding:13px 7px}.footer-navigation{gap:8px 16px}.footer-navigation a{font-size:10px}}
.countdown-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.countdown-heading>span{font-size:11px;color:#d9b8c9}#show-today-times{border:1px solid #7ee5e14d;background:#7ee5e110;color:#a8eeea;font:inherit;font-size:10px;line-height:1.3;padding:6px 11px;border-radius:16px;white-space:nowrap}#show-today-times:hover,#show-today-times[aria-expanded=true]{background:#7ee5e1;color:#43122a}#show-today-times:focus-visible{outline:2px solid #fff;outline-offset:3px}.hero-tabs button{flex:1 1 0}@media(min-width:900px){.countdown-heading{max-width:330px}}@media(max-width:640px){#show-today-times{font-size:10px;padding:6px 10px}}
.countdown-actions{display:flex;align-items:center;gap:7px}#open-pdf{border:1px solid #7ee5e14d;background:#7ee5e110;color:#a8eeea;font:inherit;font-size:10px;line-height:1.3;padding:6px 11px;border-radius:16px;white-space:nowrap}#open-pdf:hover{background:#7ee5e1;color:#43122a}#pdf-dialog{width:min(620px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid #bcded7;border-radius:16px;background:#fff9fd;color:#551a35}#pdf-dialog::backdrop{background:#260c20a6}#pdf-dialog-title{font:400 26px Georgia,serif;margin:0}#pdf-dialog-close{border:0;background:none;font-size:24px;color:#551a35;padding:0 5px}#pdf-dialog .export-section{display:block;margin:16px 0 0;padding:0;border:0;box-shadow:none;background:transparent}#pdf-dialog .export-section>div>.eyebrow,#pdf-dialog #print-heading{display:none}#pdf-dialog .export-section>div>p{margin:6px 0 10px}#pdf-dialog .export-section>div>p[data-i18n=printHint]{display:none}.pdf-options{display:flex;gap:15px;flex-wrap:wrap;margin:16px 0}.pdf-options label{font-size:11px}.pdf-options select{display:block;margin-top:6px;padding:9px 12px;color:#551a35;border:1px solid #dfc8d5;border-radius:5px;background:white;font:inherit}.pdf-checkbox{display:flex;align-items:center;gap:8px;align-self:flex-end;padding-bottom:7px}.pdf-checkbox input{accent-color:#7b284d;width:16px;height:16px}.pdf-route-button{padding:12px 20px;border:0;border-radius:6px;background:#7b284d;color:white;font:inherit}#pdf-dialog .export-actions button{font-size:12px}#print-output{scroll-margin-top:20px}@page landscapePage{size:A4 landscape;margin:14mm 12mm}@media print{body.print-landscape .print-page{page:landscapePage}#pdf-dialog{display:none!important}}@media(max-width:640px){#pdf-dialog{padding:20px}.pdf-options{gap:12px}.pdf-checkbox{padding-bottom:0}.export-fields input{font-size:16px}#pdf-dialog-title{font-size:23px}}
@media print{body.print-landscape .print-table{font-size:9px;line-height:1.2}body.print-landscape .print-table th,body.print-landscape .print-table td{padding:2px 3px;font-size:9px;line-height:1.2}body.print-landscape .print-table span{font-size:8px}body.print-landscape .print-header h1{font-size:22px}body.print-landscape .print-footer{font-size:8px;margin-top:8px}}

/* Calculation source and exact-date manual timetable. */
.calculation-mode-field{display:grid;gap:8px;font-weight:600}
.source-picker [data-mosque-options]{margin-top:14px}
.source-picker [data-mosque-options]>select{width:100%;margin:8px 0}
.source-picker button,#manual-times-form>button,#mosque-directory button{border:1px solid #a4ddd6;border-radius:12px;padding:10px 14px;background:#fff;color:#641b35;cursor:pointer;margin-top:10px}
.source-picker [hidden]{display:none!important}
.settings-source-choice{padding:20px;border:1px solid #a4ddd6;border-radius:18px;margin:20px 0}
#manual-times-dialog{width:min(550px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #a4ddd6;border-radius:22px;background:#faf7f5;color:#52172c;padding:24px}
#manual-times-dialog::backdrop{background:#270916a8;backdrop-filter:blur(5px)}
#manual-times-form{display:grid;gap:10px}
#manual-times-form input{min-width:0;width:100%;box-sizing:border-box;border:1px solid #b5d9d5;border-radius:10px;padding:10px;background:white;color:#52172c;font:inherit}
.manual-prayer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0}
.manual-prayer-grid label{display:grid;gap:6px}
#mosque-directory>div{flex-wrap:wrap}

/* Saved app themes: deep primary, light accent, neutral surfaces. */
html[data-theme="bordeaux"]{--primary-rgb:78 21 47;--secondary-rgb:101 28 62;--accent:#7ee5e1;--bg:#f7f0f4;--ink:#4f2037;--muted:#7b6070;--line:#e1cdd7;--green:rgb(78 21 47);--gold:#7ee5e1;--turquoise:#7ee5e1;--copper:rgb(101 28 62)}
.palette-bordeaux{background:linear-gradient(90deg,rgb(78 21 47) 0 48%,#7ee5e1 48% 78%,#f7f0f4 78%)}
html[data-theme="garnet"]{--primary-rgb:83 16 36;--secondary-rgb:122 35 54;--accent:#f3d394;--bg:#fcf4ec;--ink:#55253a;--muted:#7e6267;--line:#e5cfc4;--green:rgb(83 16 36);--gold:#f3d394;--turquoise:#f3d394;--copper:rgb(122 35 54)}
.palette-garnet{background:linear-gradient(90deg,rgb(83 16 36) 0 48%,#f3d394 48% 78%,#fcf4ec 78%)}
html[data-theme="navy"]{--primary-rgb:15 31 66;--secondary-rgb:27 56 94;--accent:#9dddf5;--bg:#eff4fa;--ink:#1d3558;--muted:#65758b;--line:#cad7e5;--green:rgb(15 31 66);--gold:#9dddf5;--turquoise:#9dddf5;--copper:rgb(27 56 94)}
.palette-navy{background:linear-gradient(90deg,rgb(15 31 66) 0 48%,#9dddf5 48% 78%,#eff4fa 78%)}
html[data-theme="emerald"]{--primary-rgb:11 57 48;--secondary-rgb:22 80 65;--accent:#e9d8ac;--bg:#f1f6f1;--ink:#204b40;--muted:#61796d;--line:#cadbd0;--green:rgb(11 57 48);--gold:#e9d8ac;--turquoise:#e9d8ac;--copper:rgb(22 80 65)}
.palette-emerald{background:linear-gradient(90deg,rgb(11 57 48) 0 48%,#e9d8ac 48% 78%,#f1f6f1 78%)}
html[data-theme="plum"]{--primary-rgb:51 24 71;--secondary-rgb:79 40 100;--accent:#dfc1f7;--bg:#f7f1fb;--ink:#502e63;--muted:#7d6889;--line:#ddcfe7;--green:rgb(51 24 71);--gold:#dfc1f7;--turquoise:#dfc1f7;--copper:rgb(79 40 100)}
.palette-plum{background:linear-gradient(90deg,rgb(51 24 71) 0 48%,#dfc1f7 48% 78%,#f7f1fb 78%)}
html[data-theme="charcoal"]{--primary-rgb:32 34 43;--secondary-rgb:53 53 65;--accent:#f7bdcf;--bg:#f5f3f6;--ink:#363343;--muted:#75717f;--line:#d9d4de;--green:rgb(32 34 43);--gold:#f7bdcf;--turquoise:#f7bdcf;--copper:rgb(53 53 65)}
.palette-charcoal{background:linear-gradient(90deg,rgb(32 34 43) 0 48%,#f7bdcf 48% 78%,#f5f3f6 78%)}
html[data-theme="copper"]{--primary-rgb:80 35 25;--secondary-rgb:119 55 35;--accent:#a7e2ed;--bg:#faf2eb;--ink:#64392e;--muted:#896f65;--line:#e5d2c5;--green:rgb(80 35 25);--gold:#a7e2ed;--turquoise:#a7e2ed;--copper:rgb(119 55 35)}
.palette-copper{background:linear-gradient(90deg,rgb(80 35 25) 0 48%,#a7e2ed 48% 78%,#faf2eb 78%)}
html[data-theme="teal"]{--primary-rgb:8 54 62;--secondary-rgb:18 76 85;--accent:#ffb6a5;--bg:#eef7f6;--ink:#214c53;--muted:#627d80;--line:#c9dfdd;--green:rgb(8 54 62);--gold:#ffb6a5;--turquoise:#ffb6a5;--copper:rgb(18 76 85)}
.palette-teal{background:linear-gradient(90deg,rgb(8 54 62) 0 48%,#ffb6a5 48% 78%,#eef7f6 78%)}
html{--hero-photo:url('/images/ornament-copper-small.webp')}
html[data-background=arch]{--hero-photo:url('/images/ornament-arch-small.webp')}
html[data-background=windows]{--hero-photo:url('/images/ornament-windows-small.webp')}
html[data-background=plain]{--hero-photo:none}
html[data-theme] body{background:var(--bg);color:var(--ink)}
html[data-theme] #home-hero{background:linear-gradient(110deg,rgb(var(--primary-rgb) / .94),rgb(var(--secondary-rgb) / .90) 55%,rgb(var(--primary-rgb) / .77)),var(--hero-photo) center 56%/cover;border-color:rgb(var(--secondary-rgb));border-top-color:var(--accent);box-shadow:0 12px 32px rgb(var(--primary-rgb) / .12)}
html[data-theme] .next-name>span,html[data-theme] .digits strong,html[data-theme] .next-first,html[data-theme] .overline{color:var(--accent)}
html[data-theme] .hero-tabs{background:rgb(var(--primary-rgb) / .4)}
html[data-theme] .hero-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);background:#ffffff0d}
html[data-theme] .countdown-switch button[aria-pressed=true]{background:var(--accent);color:rgb(var(--primary-rgb))}
html[data-theme] #hero-context-edit,html[data-theme] .hero-source-name,html[data-theme] .digits small,html[data-theme] .digits b,html[data-theme] .hero-time-caption,html[data-theme] .countdown-heading>span,html[data-theme] .hero-tabs button,html[data-theme] .countdown-switch button{color:#f4eaf1}
html[data-theme] .context-edit-icon,html[data-theme] #show-today-times,html[data-theme] #open-pdf{color:var(--accent);border-color:#ffffff40}
html[data-theme] .current-prayer-status{background:rgb(var(--primary-rgb) / .65);border-inline-start-color:var(--accent)}
html[data-theme] .current-prayer-status.has-karahah{background:#681f3acc;border-inline-start-color:#ff6c91}
html[data-theme] .compact-fold,html[data-theme] .settings-panel,html[data-theme] .day-card,html[data-theme] .saved-card,html[data-theme] .export-section,html[data-theme] .source-picker{background:#fffdfd;border-color:var(--line);color:var(--ink)}
html[data-theme] .source-picker{border-inline-start-color:var(--accent)}
html[data-theme] .compact-fold>summary,html[data-theme] .schedule-toolbar h2,html[data-theme] .day-title h2,html[data-theme] .section-heading h2,html[data-theme] .footer-brand,html[data-theme] .brand,html[data-theme] .footer-navigation a,html[data-theme] .method-intro h2{color:var(--ink)}
html[data-theme] .source-note,html[data-theme] .footer,html[data-theme] .brand small{color:var(--muted)}
html[data-theme] .search-input button,html[data-theme] .schedule-toolbar>button,html[data-theme] .settings-actions button:first-child,html[data-theme] .export-actions button:first-child,html[data-theme] #connect-mosque-button,html[data-theme] .view-toggle button[aria-pressed=true]{background:rgb(var(--secondary-rgb));border-color:rgb(var(--secondary-rgb));color:white}
html[data-theme] .prayer.active{background:var(--bg);border-color:var(--line);border-inline-start-color:rgb(var(--secondary-rgb))}
html[data-theme] th{background:var(--bg);color:var(--ink)}html[data-theme] tr.today{background:var(--bg)}
html[data-theme] .page-banner:after,html[data-theme] .banner-method:after{background:linear-gradient(90deg,rgb(var(--primary-rgb) / .95),rgb(var(--secondary-rgb) / .65),transparent)}
.hero-top-tools{display:flex;align-items:center;gap:12px}
.settings-gear{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:6px;border:1px solid currentColor;border-radius:50%;color:var(--ink);background:transparent;cursor:pointer}
#home-hero .settings-gear{color:var(--accent);border-color:#ffffff40;background:#ffffff08}
.settings-gear:hover{background:#ffffff20}.footer-navigation .settings-gear{width:32px;height:32px}
#preferences-dialog{width:min(660px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:22px;background:#fffdfd;color:var(--ink)}
#preferences-dialog::backdrop{background:#170c20a6;backdrop-filter:blur(5px)}
#preferences-title{font:400 27px Georgia,serif;margin:0}#preferences-close{width:32px;height:32px;font-size:24px}
.preferences-tabs{display:flex;gap:6px;padding:5px;background:var(--bg);border-radius:14px;margin:22px 0}
.preferences-tabs button{flex:1;border:0;background:none;border-radius:10px;padding:12px 6px;font:inherit;font-size:12px;color:var(--muted)}
.preferences-tabs button[aria-selected=true]{background:rgb(var(--primary-rgb));color:#fff}
#preferences-dialog .settings-panel{padding:0;border:0;background:none}#preferences-dialog .settings-source-choice{margin:12px 0;padding:16px}
#preferences-dialog .source-picker label{font-size:12px}#preferences-dialog select{max-width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit}
#preferences-dialog h3{font-size:14px;font-weight:600;margin:24px 0 12px}
.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.theme-swatch{display:flex;align-items:center;gap:10px;text-align:start;border:1px solid var(--line);border-radius:12px;padding:10px;background:white;color:var(--ink);font-size:11px}
.palette{width:56px;height:36px;border-radius:7px;flex-shrink:0}
.theme-swatch[aria-pressed=true],.background-choice[aria-pressed=true]{outline:2px solid rgb(var(--secondary-rgb));outline-offset:1px}
.background-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:2px}
.background-choice{height:94px;border:0;border-radius:12px;padding:0;overflow:hidden;display:flex;align-items:end;background-size:cover;background-position:center 50%;color:#fff;text-align:start}
.background-choice span{padding:7px 12px;background:#190c1b9e;width:100%;font-size:11px}
.background-copper{background-image:url('/images/ornament-copper-small.webp')}.background-arch{background-image:url('/images/ornament-arch-small.webp')}.background-windows{background-image:url('/images/ornament-windows-small.webp')}.background-plain{background:rgb(var(--primary-rgb))}
.notification-check{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.notification-check input{width:19px;height:19px;accent-color:rgb(var(--secondary-rgb))}
.lead-minutes{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;padding:16px 0}.lead-minutes input{width:80px;padding:9px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:white}
.notification-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.notification-actions button,#preferences-method{border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:10px 13px;border-radius:9px;font:inherit;font-size:12px}
#notifications-enable{background:rgb(var(--secondary-rgb));color:#fff}#notification-status{font-size:12px;color:var(--muted)}
#preferences-method{margin-top:18px}#preferences-dialog button:focus-visible, .settings-gear:focus-visible{outline:2px solid rgb(var(--secondary-rgb));outline-offset:3px}
#home-hero .settings-gear:focus-visible{outline-color:var(--accent)}
@media(max-width:400px){#preferences-dialog{padding:18px}.theme-swatch{gap:7px;font-size:10px}.palette{width:40px}.preferences-tabs button{font-size:11px}}
@media print{#preferences-dialog,.settings-gear{display:none!important}}
/* Compact language control belongs with the day and settings tools. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hero-language{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid #ffffff40;border-radius:50%;color:var(--accent);background:#ffffff08;font-size:10px;font-weight:600;letter-spacing:.4px;flex-shrink:0}
.hero-language #language{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;color:#222;background:white}
.hero-language:focus-within{outline:2px solid var(--accent);outline-offset:3px}.hero-language:hover{background:#ffffff20}.hero-top-tools{gap:9px}.hero-top-tools .settings-gear{flex-shrink:0}
#pref-panel-calculation #app-install{display:block;margin-top:16px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);font:inherit;font-size:12px}
.method-back{display:inline-block;margin-bottom:16px;color:var(--ink);font-size:12px}.method-back:before{content:'← ';}html[dir=rtl] .method-back:before{content:'→ ';}
@media(max-width:380px){.hero-top-tools{gap:6px}.hero-language,.hero-top-tools .settings-gear{min-width:32px;width:32px;height:32px}}
html[data-background=custom]{--hero-photo:none}
#home-hero>#custom-hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.27;pointer-events:none;border-radius:inherit;z-index:0}
.background-custom{position:relative;background:rgb(var(--primary-rgb))}.background-custom img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.background-custom span{position:relative;z-index:1}
.background-upload{margin-top:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.upload-background-button,#remove-background{display:inline-block;padding:10px 13px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--bg);font:inherit;font-size:12px;cursor:pointer}.background-upload small,.background-upload p{flex-basis:100%;font-size:11px;color:var(--muted);margin:0}.background-upload:has(#background-file:focus-visible) .upload-background-button{outline:2px solid rgb(var(--secondary-rgb));outline-offset:3px}.background-upload:has(#background-file:disabled) .upload-background-button{opacity:.5;cursor:wait}
.background-upload-control{position:relative;display:inline-flex}.background-upload-control .upload-file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.background-upload-control:focus-within .upload-background-button{outline:2px solid rgb(var(--secondary-rgb));outline-offset:3px}
/* In-context Shuruq and the three solar caution windows. */
.shuruq-row{display:flex;align-items:center;gap:11px;margin:0 0 7px;padding:12px 10px;background:var(--bg);border-bottom:1px solid var(--line);border-radius:0 0 10px 10px;color:var(--ink);font-size:12px}
.shuruq-symbol{width:19px;text-align:center;font-size:17px;color:rgb(var(--secondary-rgb))}.shuruq-row time{margin-inline-start:auto;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.makruh-times{margin-top:22px;padding:18px 0 0;border-color:var(--line)}.makruh-times>.makruh-heading{display:flex;justify-content:flex-start;align-items:center;gap:9px;margin-bottom:10px;padding:0}.makruh-heading .makruh-symbol{font-size:17px;color:rgb(var(--secondary-rgb))}.makruh-times h3{font-size:12px;color:var(--ink);margin:0;font-weight:600}
.makruh-times>.makruh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;align-items:stretch}
.makruh-period{display:flex;align-items:flex-start;gap:9px;padding:14px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink)}.period-index{font-size:9px;opacity:.55;margin-top:2px}.makruh-period>div{display:flex;flex-direction:column;gap:6px}.makruh-period>div>span{font-size:10px;color:var(--muted)}.makruh-times .makruh-period time{font-size:12px;font-weight:550;color:var(--ink);white-space:nowrap}.makruh-times small{color:var(--muted);font-size:9px;margin-top:10px}
@media(max-width:700px){.makruh-times>.makruh-grid{grid-template-columns:1fr}.makruh-period{align-items:center;padding:12px}.makruh-period>div{flex-direction:row;align-items:center;justify-content:space-between;flex:1;gap:12px}.makruh-period>div>span{font-size:11px}.makruh-times .makruh-period time{font-size:12px}}
/* Native-language choices in a themed dialog, replacing the system select. */
.hero-language{border:0;background:none;padding:0}.hero-language .language-trigger{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #ffffff40;border-radius:50%;padding:0;color:var(--accent);background:#ffffff08;font:inherit;font-size:10px;font-weight:600;letter-spacing:.4px;cursor:pointer;opacity:1}
.hero-language #language{position:static;inset:auto;width:36px;height:36px;opacity:1;background:#ffffff08;color:var(--accent);font-size:10px}
#language-dialog{width:min(380px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:24px;background:#fffdfd;color:var(--ink)}#language-dialog::backdrop{background:#170c20a6;backdrop-filter:blur(5px)}#language-title{font:400 26px Georgia,serif;margin:0}#language-close{width:32px;height:32px;font-size:24px}
#language-options{display:grid;gap:8px;margin-top:20px}#language-options button{display:flex;align-items:center;gap:14px;min-height:51px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font:inherit;text-align:start}
#language-options button:hover{background:var(--bg)}#language-options button[aria-pressed=true]{border-color:rgb(var(--secondary-rgb));background:var(--bg)}.language-badge{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border-radius:9px;background:rgb(var(--primary-rgb));color:var(--accent);font-size:10px;font-weight:600}.language-check{margin-inline-start:auto;color:rgb(var(--secondary-rgb));font-weight:600}
@media print{#language-dialog{display:none!important}}
.overview-shuruq{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-top:7px;padding-top:6px;border-top:1px solid var(--line);color:var(--muted);font-weight:400;line-height:1.4}.overview-shuruq>span{font-size:8px;white-space:nowrap}.overview-shuruq time{font-size:11px;color:var(--ink);font-variant-numeric:tabular-nums}html[dir=rtl] .overview-shuruq{align-items:flex-start}
@media print{.print-table thead th:first-child,.print-table tbody th{width:17%}}
/* Closed panels must not reserve a page-sized blank area below the hero. */
#page-times{min-height:0}
body:not(.subpage) main{padding-bottom:12px}
body:not(.subpage) #home-hero{margin-bottom:12px}
/* With all panels closed, the prayer screen fills the viewport edge to edge. */
body.hero-only:not(.subpage){background:rgb(var(--primary-rgb));}
body.hero-only:not(.subpage) main{max-width:none;padding:0;}
body.hero-only:not(.subpage) #home-hero{min-height:100vh;min-height:100dvh;margin:0;border-radius:0;border-inline:0;border-bottom:0;padding-top:max(28px,env(safe-area-inset-top));}
body.hero-only:not(.subpage) #home-hero .hero-tabs{margin-top:auto;}
@media(max-width:899px){body.hero-only:not(.subpage) #home-hero .next-name{margin-top:clamp(12px,5vh,50px);}body.hero-only:not(.subpage) #home-hero .countdown{margin-top:clamp(24px,5vh,50px);}}
