























/* A neutral overlay with an explanatory modal; no permanent clutter below prayers. */
#modal-backdrop:has(.prayer-status-sheet) .modal{border-radius:24px 24px 0 0;max-width:min(100%,560px);background:var(--surface)!important;border:1px solid var(--line);padding-top:24px}
.prayer-status-sheet h2{font-size:clamp(21px,5vw,27px);font-weight:750;letter-spacing:-.035em;margin:3px 0 20px;color:var(--text)}
.prayer-help-items{display:flex;flex-direction:column}
.prayer-help-item{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid var(--line)}
.prayer-help-item:last-child{border-bottom:0}
.prayer-help-glyph{flex:0 0 51px;width:51px;height:51px;border-radius:14px;border:1px solid var(--line);display:grid;place-items:center;background:var(--surface2);color:var(--accent)}
.prayer-help-glyph svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.prayer-help-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;line-height:1.4;color:var(--text);font-size:15px}
.prayer-help-copy strong{font-weight:700}
.prayer-help-copy>span{color:var(--muted);font-size:13px;line-height:1.4}
/* All Qada segmented-control accent color stays inside the active choice. */
#view-qada .segmented,body[data-theme=dark] #view-qada .segmented,body[data-theme=oled] #view-qada .segmented{background:var(--surface2)!important;border:1px solid var(--line)!important;box-shadow:none!important}
#view-qada .segmented button:not(.selected){background:transparent!important;color:var(--muted)!important}
#view-qada .segmented button.selected,body[data-theme=dark] #view-qada .segmented button.selected,body[data-theme=oled] #view-qada .segmented button.selected{background:var(--accent)!important;color:var(--accent-ink)!important;box-shadow:none!important}
/* Birth calculator: center dates vertically, use consistent field geometry and equal footer buttons. */
#birth-qada-form .form-field{min-width:0;box-sizing:border-box}
#birth-qada-form .form-field>input,#birth-qada-form .form-field>select{width:100%;height:49px;min-height:49px;max-height:49px;box-sizing:border-box;padding:0 14px;border-radius:13px;line-height:normal;margin:0;display:block}
#birth-qada-form .form-field>input[type=date]{text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;-webkit-appearance:none;appearance:none;padding-inline:12px}
#birth-qada-form input[type=date]::-webkit-date-and-time-value{min-height:49px;line-height:49px;text-align:center!important;width:100%;}
#birth-qada-form input[type=date]::-webkit-datetime-edit{min-height:49px;line-height:49px;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%;padding:0!important;}
#birth-qada-form input[type=date]::-webkit-datetime-edit-fields-wrapper{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:49px;height:49px;padding:0!important;}
#birth-qada-form input[type=date]::-webkit-calendar-picker-indicator{position:absolute;right:12px;top:50%;transform:translateY(-50%);margin:0}
#birth-qada-form .button-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch!important}
#birth-qada-form .button-row>.button{box-sizing:border-box;width:100%;height:56px!important;min-height:56px!important;max-height:56px!important;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.16!important;font-size:clamp(12px,3.15vw,15px)!important;padding:8px 6px!important;white-space:normal;overflow-wrap:normal;word-break:normal;border-radius:13px}
/* Arabic titles drive the alignment of their accompanying metadata, not app language. */
.dua-card-copy.arabic-heading{align-items:stretch!important;direction:ltr}
.dua-card-copy.arabic-heading h3{direction:rtl!important;text-align:right!important;width:100%}
.dua-card-copy.arabic-heading .dua-category{align-self:flex-end!important;direction:rtl!important;text-align:right!important;max-width:100%;width:max-content}
.dua-card-copy.arabic-heading p{direction:rtl!important;text-align:right!important;width:100%}
.reader-inner.arabic-heading .reader-overline{text-align:right!important;direction:ltr}
.reader-inner.arabic-heading h1{text-align:right!important;direction:rtl!important}
.reader-inner.arabic-heading .reader-rule{margin-left:auto!important;margin-right:0!important;}
@media(max-width:390px){
 
 
 
 
 
 
 
 
 #birth-qada-form .button-row>.button{font-size:12px!important}
}


