.prayer-alert-bar,.prayer-picker-heading,.prayer-picker-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.prayer-alert-bar{padding:8px 12px;border-bottom:1px solid #17463820;font-size:13px}
.prayer-alert-bar button,.prayer-picker-heading button,.prayer-picker-actions button{font:inherit;color:inherit;background:transparent;border:0;min-height:44px;padding:8px 10px;border-radius:12px;cursor:pointer}
.prayer-alert-bar button{background:#1746380d;font-weight:700}
.prayer-inline-picker{padding:8px 10px 10px;background:#17463808;border-bottom:1px solid #17463820;color:inherit}
.prayer-picker-heading{font-size:13px;margin-bottom:4px}
.prayer-picker-heading button{font-weight:700;color:#175747}
.prayer-alert-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.prayer-alert-choices button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:66px;padding:8px 2px;font-weight:600;font-family:inherit;font-size:11px;line-height:1.3;border:1px solid #17463825;border-radius:12px;background:#fff8;color:inherit;cursor:pointer}
.prayer-alert-choices svg{width:21px;height:21px}
.prayer-alert-choices button[aria-pressed=true]{background:#175747;color:#fff;border-color:#175747;box-shadow:inset 0 0 0 1px currentColor}
.prayer-inline-picker button:focus-visible,.prayer-alert-bar button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.prayer-inline-picker button:disabled{opacity:.65;cursor:wait}
.prayer-picker-status{font-size:12px;line-height:1.5;margin:10px 2px 0}
.prayer-picker-actions{font-size:12px;justify-content:flex-end;margin-top:2px}
.prayer-picker-actions .prayer-enable{margin-right:auto;font-weight:700}
.prayer-inline-picker [hidden]{display:none!important}
.native-prayer-control:has(small){height:auto!important;min-height:48px;gap:1px;align-content:center}
.native-prayer-control small{font:600 9px/1.2 system-ui;white-space:nowrap;color:var(--muted)}
html[data-theme=dark] .prayer-inline-picker,html[data-theme=dark] .prayer-alert-bar{background:#ffffff07;border-color:#ffffff26}
html[data-theme=dark] .prayer-alert-choices button{background:#ffffff0d;border-color:#ffffff40;color:#f5efdf}
html[data-theme=dark] .prayer-alert-choices button[aria-pressed=true]{background:#b8d7c4;color:#102e25;border-color:#b8d7c4}
html[data-theme=dark] .prayer-picker-heading button{color:#b8d7c4}
@media(prefers-reduced-motion:no-preference){.prayer-alert-choices button{transition:background .15s,color .15s}}

/* Saved preferences and scheduled alerts are distinct. */
.prayer-alert-bar{flex-wrap:wrap}.prayer-alert-overview{flex:1 0 100%;margin:0!important;font-size:12px;line-height:1.5;color:var(--muted);padding:0 0 8px}.prayer-alert-overview[data-state=attention]{color:var(--ink);border-left:3px solid var(--gold,#b6984c);padding-left:10px}.prayer-picker-status{line-height:1.5}

/* The selected sound and the actual schedule are separate, visible states. */
.prayer-alert-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 14px!important;margin:0 0 8px!important;border:1px solid var(--line,#d7d8c9);border-radius:16px;background:var(--card,#f9f7f0);color:var(--ink,#173c31);box-sizing:border-box}
.alert-status-label{grid-column:1;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted,#647269)}.alert-status-main{grid-column:1;font-size:14px;line-height:1.5}.alert-status-detail{grid-column:1/-1;font-size:11px;color:var(--muted,#647269);line-height:1.6}.prayer-alert-overview .alert-status-action{grid-column:2;grid-row:1/3;align-self:center;font-size:11px;max-width:110px;background:#195744;color:white}.prayer-alert-overview [hidden]{display:none!important}.prayer-alert-overview[data-state=attention]{border-inline-start:3px solid var(--gold,#b6984c);border-left-width:1px}.prayer-alert-overview[data-state=ready] .alert-status-label{color:#206548}html[data-theme=dark] .prayer-alert-overview{background:#19392e;border-color:#385545}html[data-theme=dark] .prayer-alert-overview[data-state=ready] .alert-status-label{color:#b8d7c4}

/* iPhone haptics are a phone setting, never a falsely selected alert mode. */
.prayer-vibration-setup small{font-size:9px;font-weight:400;line-height:1.2}
.prayer-vibration-help{padding:12px;margin-top:10px;border:1px solid var(--line,#d7d8c9);border-radius:12px;background:var(--card,#f9f7f0);font-size:12px;line-height:1.6}
.prayer-vibration-help p{margin:8px 0}.prayer-vibration-help .vibration-limits{font-size:11px;color:var(--muted,#647269)}
.prayer-vibration-help .prayer-picker-actions{flex-wrap:wrap;justify-content:flex-start}
.prayer-vibration-help .vibration-use{background:#175747;color:white}
