:root {
  color-scheme: light dark;
  --pray-bg: #fff;
  --pray-fg: #050505;
  --pray-muted: #8d8d92;
  --pray-soft: #d4d4d8;
  --pray-faint: #eeeeef;
  --pray-danger: #b42318;
  --pray-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --pray-rounded: ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

@media (prefers-color-scheme: dark) {
  :root { --pray-bg: #050505; --pray-fg: #f7f7f7; --pray-muted: #96969c; --pray-soft: #3c3c42; --pray-faint: #171719; --pray-danger: #ff6b61; }
}

* { box-sizing: border-box; }
html { touch-action: manipulation; }
html, body, #pray-app { margin: 0; min-height: 100%; }
body { background: var(--pray-bg); color: var(--pray-fg); }
button, input { font: inherit; }
button { min-height: 44px; }
a { color: inherit; text-underline-offset: .2em; }
.pray-app { background: var(--pray-bg); color: var(--pray-fg); font-family: var(--pray-rounded); min-height: 100dvh; overflow: hidden; }
.screen { min-height: 100dvh; position: relative; }
.sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.button, .text-button, .icon-button, .sheet-link, .setting-preview, .inline-link { border: 0; color: inherit; cursor: pointer; }
.button { background: transparent; border: 1px solid var(--pray-soft); border-radius: 999px; display: inline-block; font-weight: 600; padding: .72rem 1.35rem; text-align: center; text-decoration: none; }
.button.primary { background: var(--pray-fg); border-color: var(--pray-fg); color: var(--pray-bg); }
.button.wide { min-width: min(220px, 70vw); }
.button.danger { color: var(--pray-danger); }
.text-button, .icon-button, .setting-preview { background: transparent; }
.text-button { padding: .6rem 1rem; }
.inline-link { background: transparent; min-height: auto; padding: 0; text-decoration: underline; }
.icon-button { border-radius: 50%; font-size: 0; height: 44px; padding: 0; width: 44px; }
.icon-button::after { content: "•••"; font-size: 1rem; letter-spacing: .12em; }
.sheet-chrome .icon-button:first-child::after { content: "‹"; font-family: var(--pray-serif); font-size: 2rem; }
.sheet-chrome .icon-button:last-child::after { content: "×"; font-size: 1.7rem; font-weight: 300; letter-spacing: 0; }
.menu-button { position: absolute; right: calc(18px + var(--safe-right)); top: calc(12px + var(--safe-top)); z-index: 2; }

.home-screen { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: calc(2rem + var(--safe-top)) calc(2rem + var(--safe-right)) calc(7rem + var(--safe-bottom)) calc(2rem + var(--safe-left)); text-align: center; }
.home-center { align-items: center; display: flex; flex-direction: column; max-width: 42rem; }
.home-icon { height: auto; margin-bottom: 2.6rem; width: 172px; }
.home-center h1, .paused-copy h1, .completion-screen h1 { font-family: var(--pray-serif); font-size: clamp(2rem, 7vw, 2.4rem); font-weight: 400; margin: 0 0 .5rem; }
.home-center p { color: var(--pray-muted); line-height: 1.45; margin: .25rem 0; }
.home-center .notice { font-size: .86rem; margin-top: 1.2rem; max-width: 32rem; }
.home-action { bottom: calc(44px + var(--safe-bottom)); left: var(--safe-left); position: absolute; right: var(--safe-right); }

.center-screen { align-items: center; display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; padding: calc(2rem + var(--safe-top)) calc(2rem + var(--safe-right)) calc(2rem + var(--safe-bottom)) calc(2rem + var(--safe-left)); text-align: center; }
.center-screen > p { color: var(--pray-muted); line-height: 1.5; max-width: 34rem; }
.spinner { animation: spin .9s linear infinite; border: 2px solid var(--pray-soft); border-radius: 50%; border-top-color: var(--pray-fg); height: 30px; width: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

.session-screen { display: grid; place-items: center; padding: calc(5rem + var(--safe-top)) calc(4.5rem + var(--safe-right)) calc(10rem + var(--safe-bottom)) calc(2.1rem + var(--safe-left)); }
.prayer-content { max-width: 760px; text-align: center; width: 100%; }
.prayer-content h1 { color: var(--pray-muted); font-size: .96rem; font-weight: 600; margin: 0 0 1.35rem; }
.prayer-text { font-family: var(--pray-serif); font-size: clamp(1.2rem, 4.8vw, 1.7rem); line-height: 1.48; margin: 0; text-wrap: balance; }
.prayer-character { color: var(--pray-fg); opacity: var(--prayer-character-opacity, .32); }
.prayer-character.spoken-character { opacity: var(--prayer-character-opacity, 1); }
.bell-cue { align-items: center; display: flex; inset: 0; justify-content: center; position: absolute; }
.bell-cue-dot { animation: bell-cue-throb 900ms ease-in-out infinite alternate; background: var(--pray-fg); border-radius: 50%; height: 11px; width: 11px; }
@keyframes bell-cue-throb { from { opacity: .82; transform: scale(.88); } to { opacity: .3; transform: scale(1); } }
.prayer-text.manual { color: var(--pray-fg); }
.session-status { color: var(--pray-muted); font-size: .78rem; left: calc(24px + var(--safe-left)); line-height: 1.35; max-width: min(70vw, 34rem); position: absolute; top: calc(64px + var(--safe-top)); }
.session-menu { opacity: 0; pointer-events: none; position: absolute; right: calc(18px + var(--safe-right)); top: calc(12px + var(--safe-top)); transition: opacity .24s ease; }
.session-controls { align-items: center; bottom: calc(38px + var(--safe-bottom)); display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; left: calc(18px + var(--safe-left)); opacity: 0; pointer-events: none; position: absolute; right: calc(18px + var(--safe-right)); transition: opacity .24s ease; }
.session-navigation { align-items: center; display: flex; gap: .65rem; justify-content: center; }
.session-controls.has-listening { flex-direction: column; flex-wrap: nowrap; }
.session-controls.visible, .session-menu.visible { opacity: 1; pointer-events: auto; }
.session-controls .listening { margin: 0 auto; max-width: 220px; width: min(220px, 70vw); }

.progress-rail { align-items: center; bottom: calc(112px + var(--safe-bottom)); display: flex; gap: clamp(.55rem, 2vw, 1rem); justify-content: center; left: calc(4% + var(--safe-left)); position: absolute; right: calc(4% + var(--safe-right)); }
.intro, .decade { align-items: center; display: flex; gap: clamp(.2rem, 1vw, .45rem); }
.cross { color: var(--pray-soft); display: inline-block; font-family: var(--pray-serif); font-size: .75rem; font-weight: 400; }
.bead { background: var(--pray-soft); border-radius: 999px; display: block; height: 10px; width: 1.5px; }
.mystery-dot { background: var(--pray-soft); border-radius: 50%; display: block; height: 5.5px; width: 5.5px; }
.done { background: var(--pray-fg); color: var(--pray-fg); }
.cross.done { background: transparent; color: var(--pray-fg); }

@media (orientation: landscape) {
  .cross { transform: rotate(-90deg); }
}

.paused-screen { display: grid; place-items: center; padding: calc(3rem + var(--safe-top)) calc(3.5rem + var(--safe-right)) calc(8rem + var(--safe-bottom)) calc(2rem + var(--safe-left)); text-align: center; }
.paused-copy p { color: var(--pray-muted); line-height: 1.5; margin: .4rem auto; max-width: 30rem; }
.paused-copy p:last-child { margin-top: 1.5rem; }
.end-controls { bottom: calc(42px + var(--safe-bottom)); display: flex; gap: .65rem; justify-content: center; left: calc(18px + var(--safe-left)); position: absolute; right: calc(18px + var(--safe-right)); }
.completion-screen h1 { max-width: 32rem; }
.stacked-actions { display: flex; flex-direction: column; gap: .7rem; }

.sheet-backdrop { align-items: flex-end; background: rgb(0 0 0 / .2); display: flex; inset: 0; justify-content: center; position: fixed; z-index: 10; }
.menu-sheet { background: var(--pray-bg); border-radius: 36px 36px 0 0; box-shadow: 0 -18px 60px rgb(0 0 0 / .16); height: min(88dvh, 760px); max-width: 760px; overflow: auto; padding: 1rem calc(1.5rem + var(--safe-right)) calc(2.5rem + var(--safe-bottom)) calc(1.5rem + var(--safe-left)); width: 100%; }
.sheet-chrome { align-items: center; display: flex; justify-content: space-between; position: sticky; top: 0; z-index: 2; }
.sheet-content { margin: 2.2rem auto 0; max-width: 620px; }
.sheet-content h2 { font-family: var(--pray-serif); font-size: 2rem; font-weight: 400; margin: 0 0 2rem; text-align: center; }
.sheet-list { display: flex; flex-direction: column; }
.sheet-link { align-items: center; background: transparent; border-bottom: 1px solid var(--pray-faint); display: flex; font-size: 1.05rem; min-height: 68px; padding: 1rem .4rem; text-align: left; }
.sheet-link::after { color: var(--pray-muted); content: "›"; font-family: var(--pray-serif); font-size: 1.55rem; margin-left: auto; }
.destination-menu .sheet-content { margin-top: .25rem; max-width: 360px; }
.menu-app-icon { display: block; height: auto; margin: 0 auto; width: 122px; }
.menu-identity { margin: 1.4rem 0 1.2rem; }
.sheet-content .menu-identity h2 { font-size: 3.25rem; line-height: 1; margin: 0 0 .65rem; text-align: left; }
.menu-identity p { color: var(--pray-muted); line-height: 1.4; margin: 0; }
.sheet-copy { color: var(--pray-muted); line-height: 1.6; margin: 0 auto; max-width: 34rem; }
.support-content { margin: 0 auto; max-width: 360px; }
.support-body { color: var(--pray-muted); display: flex; flex-direction: column; gap: 28px; line-height: 1.55; }
.support-section h3 { color: color-mix(in srgb, var(--pray-fg) 86%, transparent); font-size: .92rem; font-weight: 600; margin: 0 0 10px; }
.support-section p { margin: 0; }
.support-links { display: flex; flex-direction: column; gap: 18px; }
.support-link { align-items: center; color: inherit; display: flex; gap: 14px; min-height: 44px; padding: 4px 0; text-decoration: none; }
.support-link > svg { fill: none; flex: 0 0 24px; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.support-link > span { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.support-link small { color: var(--pray-muted); font-size: .75rem; font-weight: 600; }
.support-link strong { color: var(--pray-fg); font-size: 1rem; font-weight: 500; overflow-wrap: anywhere; }
.support-link > i { color: color-mix(in srgb, var(--pray-muted) 66%, transparent); font-size: .95rem; font-style: normal; }
.support-link:hover strong, .support-link:focus-visible strong { text-decoration: underline; }
.settings-list { margin: 0 auto; max-width: 360px; }
.setting-row { align-items: center; display: flex; justify-content: space-between; min-height: 58px; }
.setting-row input[role="switch"] { accent-color: var(--pray-fg); height: 28px; width: 48px; }
.setting-row select { background: var(--pray-bg); border: 1px solid var(--pray-soft); border-radius: 10px; color: var(--pray-fg); font: inherit; padding: .45rem 2rem .45rem .7rem; }
.setting-note { color: var(--pray-muted); font-size: .8rem; line-height: 1.45; margin: -.25rem 0 1rem; }
.setting-preview { font-size: 1rem; padding: 0; text-align: left; }
.destructive-actions { display: flex; gap: .75rem; justify-content: center; margin-top: 2.5rem; }
.usage-content { margin: 0 auto; max-width: 34rem; }
.usage-grid { display: grid; gap: 4px 8px; grid-auto-rows: minmax(6px, 1fr); grid-template-columns: repeat(11, 1fr); height: min(48dvh, 390px); margin: 1.5rem auto 1.4rem; max-width: 290px; }
.usage-dot { align-self: center; background: var(--pray-soft); border-radius: 50%; height: 4.8px; justify-self: center; width: 4.8px; }
.usage-dot.completed { background: var(--pray-fg); }
.usage-dot:not(.completed):not(.future) { opacity: .42; }
.usage-dot.future { height: 2.5px; opacity: .38; width: 2.5px; }
.usage-dot.today { height: 8.5px; width: 8.5px; }
.usage-key { color: var(--pray-muted); font-size: .78rem; line-height: 1.45; margin: 0 auto; max-width: 28rem; text-align: center; }
.about-content { margin: 0 auto; max-width: 34rem; }
.about-intro, .about-footnote { color: var(--pray-muted); line-height: 1.55; }
.about-intro { margin: 0 0 2rem; }
.about-footnote { font-size: .84rem; margin: 2rem 0 .4rem; }
.about-links { color: var(--pray-muted); margin: 0; }
.contribution-content { display: grid; gap: 1rem; margin: 0 auto; max-width: 34rem; }
.contribution-content h2 { margin-bottom: .5rem; }
.contribution-content h1 { font-family: var(--pray-serif); font-size: clamp(2rem, 7vw, 2.5rem); font-weight: 400; margin: 0 0 .5rem; }
.contribution-route-screen { min-height: 100dvh; overflow-y: auto; padding: calc(5rem + var(--safe-top)) calc(1.5rem + var(--safe-right)) calc(3rem + var(--safe-bottom)) calc(1.5rem + var(--safe-left)); }
.contribution-route-content { margin: 0 auto; max-width: 42rem; width: 100%; }
.contribution-route-home { font-size: .82rem; font-weight: 800; left: calc(20px + var(--safe-left)); letter-spacing: .12em; position: absolute; text-decoration: none; top: calc(20px + var(--safe-top)); }
.contribution-route-back { color: var(--pray-muted); font-size: .88rem; text-decoration: none; width: fit-content; }
.consent-copy { color: var(--pray-muted); line-height: 1.55; }
.consent-copy p { margin: 0 0 .8rem; }
.share-links-panel { background: var(--pray-faint); border: 1px solid var(--pray-soft); border-radius: 1rem; display: grid; gap: .9rem; padding: 1rem; text-align: left; width: 100%; }
.share-links-panel h2, .share-links-panel p { margin: 0; }
.share-links-heading { align-items: start; display: flex; gap: 1rem; justify-content: space-between; }
.share-links-heading p { color: var(--pray-muted); font-size: .86rem; line-height: 1.45; margin-top: .25rem; }
.share-links-heading > strong { background: var(--pray-fg); border-radius: 999px; color: var(--pray-bg); flex: none; font-size: .72rem; padding: .35rem .55rem; }
.share-link-list { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.share-link-slot { align-items: center; background: var(--pray-bg); border: 1px solid var(--pray-soft); border-radius: .75rem; display: flex; gap: .75rem; justify-content: space-between; min-height: 4rem; padding: .7rem .8rem; }
.share-link-slot > div:first-child { display: grid; gap: .18rem; }
.share-link-slot span { color: var(--pray-muted); font-size: .76rem; }
.share-link-slot code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; overflow-wrap: anywhere; }
.share-link-actions { display: flex; gap: .4rem; }
.share-link-actions .button, .share-link-slot.empty .button { min-height: 2.5rem; padding: .5rem .75rem; width: auto; }
.share-link-slot.disabled { background: var(--pray-faint); opacity: .62; }
.share-link-status, .share-link-note { max-width: 10rem; text-align: right; }
.contribution-completion { height: auto; min-height: 100dvh; overflow-y: auto; padding-bottom: calc(2rem + var(--safe-bottom)); padding-top: calc(2rem + var(--safe-top)); }
.field-label { display: grid; font-size: .9rem; font-weight: 600; gap: .45rem; }
.field-label input { background: var(--pray-bg); border: 1px solid var(--pray-soft); border-radius: 12px; color: var(--pray-fg); font: inherit; font-size: 1rem; padding: .8rem; text-transform: uppercase; }
.field-label input[data-contribution-withdrawal-code] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: none; }
.consent-row { align-items: flex-start; display: flex; gap: .75rem; line-height: 1.45; }
.consent-row input { accent-color: var(--pray-fg); flex: 0 0 auto; height: 20px; margin-top: .1rem; width: 20px; }
.form-error { color: var(--pray-danger); line-height: 1.4; margin: 0; }
.contribution-access { text-align: center; }
.contribution-access-status { color: var(--pray-muted); line-height: 1.55; margin: 0 auto; max-width: 28rem; }
.contribution-content.contribution-returning { max-width: 34rem; }
.contribution-returning { display: flex; flex-direction: column; min-height: calc(100dvh - 6.5rem - var(--safe-top) - var(--safe-bottom)); }
.contribution-returning-main { display: grid; gap: 1.35rem; margin: clamp(7rem, 19dvh, 11rem) auto 0; max-width: 34rem; width: 100%; }
.contribution-returning-main h1 { line-height: .92; text-wrap: balance; }
.contribution-returning-main > .button { font-size: 1.05rem; min-height: 56px; width: 100%; }
.contribution-returning > .contribution-utilities { align-items: stretch; border-top: 0; flex-direction: column; gap: .1rem; margin: .9rem auto 0; max-width: 32rem; padding-top: 0; width: 100%; }
.contribution-returning > .contribution-utilities > .text-button { flex: none; min-height: 44px; white-space: normal; width: 100%; }
.contribution-returning > .contribution-utilities > .exception-form { flex: none; margin-inline: auto; max-width: 32rem; width: 100%; }
.contribution-utilities { border-top: 1px solid var(--pray-faint); display: flex; flex-direction: column; margin-top: 1.5rem; padding-top: 1rem; }
.contribution-utilities .text-button { color: var(--pray-muted); font-size: .78rem; min-height: 36px; padding: .35rem .6rem; text-decoration: none; }
.contribution-utilities .text-button.danger { color: var(--pray-danger); }
.contribution-onboarding-primary { display: flex; flex-direction: column; min-height: calc(100dvh - 6.5rem - var(--safe-top) - var(--safe-bottom)); }
.contribution-onboarding-main { display: grid; gap: 1rem; margin: clamp(5.5rem, 17dvh, 10rem) auto 0; width: 100%; }
.contribution-onboarding-main h1 { line-height: .92; text-align: center; text-wrap: balance; }
.contribution-onboarding-main > .sheet-copy { margin: .6rem 0 .45rem; }
.contribution-onboarding-consents { display: grid; gap: .9rem; margin-top: .3rem; }
.contribution-onboarding-main > .button { font-size: 1.08rem; min-height: 56px; width: 100%; }
.contribution-onboarding-main > .setting-note { line-height: 1.45; margin: .05rem .35rem 0; }
.contribution-onboarding-utilities { border-top: 0; display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 2.5rem; }
.contribution-onboarding-utilities > .text-button { align-items: center; display: flex; justify-content: flex-start; padding-left: 0; text-align: left; }
.contribution-onboarding-utilities > a.text-button { justify-content: flex-end; padding-right: 0; text-align: right; }
.contribution-onboarding-utilities .exception-form { grid-column: 1 / -1; order: 3; }
.contribution-onboarding-details { font-size: 1.05rem; padding: 1.5rem .6rem 2rem; }
.contribution-thank-you { display: flex; flex-direction: column; min-height: 100dvh; padding: calc(2rem + var(--safe-top)) calc(1.5rem + var(--safe-right)) calc(3rem + var(--safe-bottom)) calc(1.5rem + var(--safe-left)); text-align: center; }
.contribution-thank-you-route { min-height: calc(100dvh - 6.5rem - var(--safe-top) - var(--safe-bottom)); padding: 0; }
.contribution-thank-you-main { display: grid; gap: 1.65rem; margin: auto; max-width: 34rem; width: 100%; }
.contribution-thank-you-main h1 { font-family: var(--pray-serif); font-size: clamp(2rem, 7vw, 2.5rem); font-weight: 400; line-height: .92; margin: 0; text-wrap: balance; }
.contribution-thank-you-main p { color: var(--pray-muted); display: grid; gap: .3rem; line-height: 1.45; margin: 0; }
.contribution-thank-you-actions { display: grid; gap: 1rem; margin: .35rem auto 0; width: min(100%, 18rem); }
.contribution-thank-you-actions .button { min-height: 56px; width: 100%; }
.contribution-thank-you-footer { margin-top: auto; }
.contribution-thank-you-footer .text-button { font-size: .9rem; }
.exception-form { background: var(--pray-faint); border-radius: 14px; display: grid; gap: .75rem; margin: .35rem 0 .75rem; padding: .9rem; text-align: left; }
.exception-form p { color: var(--pray-muted); font-size: .76rem; line-height: 1.4; margin: 0; }
.local-test-note { background: var(--pray-faint); border: 1px solid var(--pray-soft); border-radius: 16px; display: grid; gap: .25rem; line-height: 1.4; margin: 0; padding: .9rem 1rem; }
.local-test-note span { color: var(--pray-muted); font-size: .84rem; }
.local-test-note code, .consent-copy code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.contribution-session { padding-bottom: calc(17rem + var(--safe-bottom)); }
.contribution-session .progress-rail { bottom: calc(214px + var(--safe-bottom)); }
.contribution-progress { color: var(--pray-muted); flex-direction: column; font-size: .76rem; gap: .45rem; }
.contribution-progress progress { accent-color: var(--pray-fg); height: 4px; width: min(220px, 52vw); }
.contribution-end-control { margin: 1.25rem auto 0; }
.voice-recorder { --recording-level: 0; background: color-mix(in srgb, var(--pray-faint) 92%, transparent); border: 1px solid color-mix(in srgb, var(--pray-soft) 75%, transparent); border-radius: 28px; bottom: calc(12px + var(--safe-bottom)); box-shadow: 0 16px 44px rgb(0 0 0 / .13); left: 50%; max-width: 650px; padding: .9rem 1rem .8rem; position: absolute; transform: translateX(-50%); width: min(calc(100vw - 28px - var(--safe-left) - var(--safe-right)), 650px); z-index: 3; }
.recorder-meta { align-items: center; color: var(--pray-muted); display: grid; font-size: .76rem; grid-template-columns: 1fr auto 1fr; }
.recorder-meta > :last-child { text-align: right; }
.recorder-meta time { color: var(--pray-fg); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .02em; }
.recorder-state { align-items: center; color: var(--pray-danger); display: inline-flex; gap: .42rem; }
.recorder-state i { animation: recording-pulse 1.3s ease-in-out infinite; background: currentColor; border-radius: 50%; height: 8px; width: 8px; }
.voice-recorder.mic-off .recorder-state { color: var(--pray-muted); }
.voice-recorder.mic-off .recorder-state i { animation: none; }
.recorder-wave { align-items: center; display: flex; gap: 3px; height: 38px; justify-content: center; margin: .35rem 0 0; overflow: hidden; }
.recorder-wave i { --wave-scale: .18; background: var(--pray-danger); border-radius: 999px; display: block; height: var(--wave-height); opacity: .76; transform: scaleY(var(--wave-scale)); transition: transform 70ms linear; width: 3px; }
.voice-recorder.paused .recorder-wave i { background: var(--pray-muted); }
.recorder-feedback { color: var(--pray-muted); font-size: .72rem; height: 1.1rem; margin: -.1rem 0 .25rem; text-align: center; }
.recorder-feedback [data-level="good"] { color: #16834c; font-weight: 700; }
.recorder-feedback [data-level="quiet"], .recorder-feedback [data-level="loud"] { color: var(--pray-danger); font-weight: 700; }
.recorder-actions { align-items: start; display: grid; grid-template-columns: repeat(4, 1fr); }
.recorder-action { align-items: center; background: transparent; border: 0; color: var(--pray-fg); display: flex; flex-direction: column; gap: .28rem; min-width: 0; padding: 0 .2rem; }
.recorder-action > span { align-items: center; background: var(--pray-bg); border: 1px solid var(--pray-soft); border-radius: 50%; display: flex; font-size: 1.25rem; height: 44px; justify-content: center; line-height: 1; width: 44px; }
.recorder-action small { color: var(--pray-muted); font-size: .68rem; white-space: nowrap; }
.recorder-action.pause-recording > span { background: var(--pray-fg); border-color: var(--pray-fg); color: var(--pray-bg); font-size: 1rem; font-weight: 800; }
.recorder-action.keep-recording > span { background: var(--pray-danger); border-color: var(--pray-danger); color: white; font-size: 1.3rem; font-weight: 700; }
.recorder-action:disabled { cursor: not-allowed; opacity: .35; }
.recording-resume-card { align-items: center; background: var(--pray-faint); border: 1px solid var(--pray-soft); border-radius: 24px; bottom: calc(24px + var(--safe-bottom)); display: flex; flex-direction: column; gap: .45rem; left: 50%; padding: 1.15rem; position: absolute; text-align: center; transform: translateX(-50%); width: min(calc(100vw - 32px), 420px); }
.recording-resume-card span { color: var(--pray-muted); font-size: .82rem; margin-bottom: .35rem; }
.mic-off-mark { align-items: center; background: var(--pray-faint); border-radius: 50%; color: var(--pray-muted); display: flex; font-size: 2rem; height: 72px; justify-content: center; margin: 0 auto 1.3rem; width: 72px; }
@keyframes recording-pulse { 50% { opacity: .35; transform: scale(.82); } }
.withdrawal-code { background: var(--pray-faint); border-radius: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; padding: .85rem; }
.schedule-section h3 { font-family: var(--pray-serif); font-size: 1.3rem; font-weight: 400; margin: 0 0 1rem; text-align: left; }
.schedule-scroll { overflow-x: auto; padding-bottom: .25rem; }
.schedule-table { border-collapse: collapse; font-size: .72rem; min-width: 480px; table-layout: fixed; width: 100%; }
.schedule-table th, .schedule-table td { color: var(--pray-muted); font-weight: 400; height: 42px; padding: .25rem; text-align: center; }
.schedule-table thead th:first-child, .schedule-table tbody th { text-align: left; width: 92px; }
.schedule-table tbody tr + tr { border-top: 1px solid var(--pray-faint); }
.schedule-table .current-day, .schedule-table .current-mystery > th { color: var(--pray-fg); }
.schedule-dot { background: var(--pray-soft); border-radius: 50%; display: inline-block; height: 5px; width: 5px; }
.schedule-table .current-day .schedule-dot, .schedule-table .current-mystery .current-day .schedule-dot { background: var(--pray-fg); }

@media (max-width: 699px) {
  .destination-menu { padding: .75rem calc(1.25rem + var(--safe-right)) calc(1rem + var(--safe-bottom)) calc(1.25rem + var(--safe-left)); }
  .destination-menu .menu-app-icon { width: 104px; }
  .destination-menu .menu-identity { margin: .75rem 0 .65rem; }
  .destination-menu .sheet-content .menu-identity h2 { font-size: 2.75rem; margin-bottom: .4rem; }
  .destination-menu .sheet-link { min-height: 56px; }
  .contribution-ready { display: flex; flex-direction: column; min-height: calc(100dvh - 8rem - var(--safe-top) - var(--safe-bottom)); padding-bottom: clamp(4rem, 10dvh, 6rem); }
  .contribution-ready > .contribution-utilities { align-items: center; margin-top: auto; width: 100%; }
  .contribution-ready > .contribution-utilities > .text-button { text-align: center; }
}

@media (min-width: 700px) and (min-height: 600px) {
  .sheet-backdrop { align-items: center; padding: 2rem; }
  .menu-sheet { border-radius: 36px; box-shadow: 0 22px 80px rgb(0 0 0 / .22); height: auto; max-height: calc(100dvh - 4rem); max-width: 680px; padding: 1rem 2.75rem 2.5rem; transition: height 360ms cubic-bezier(.22, 1, .36, 1); width: min(680px, calc(100vw - 4rem)); }
  .sheet-content { margin-top: 1.1rem; }
  .destination-menu .sheet-content { margin-top: 0; }
  .menu-app-icon { width: 142px; }
  .menu-identity { margin: 1.8rem 0 1.5rem; }
  .usage-grid { gap: 5px 9px; grid-template-columns: repeat(14, 1fr); height: min(46dvh, 390px); max-width: 390px; }
}

@media (orientation: portrait) and (min-height: 650px) {
  .progress-rail { align-items: center; bottom: auto; flex-direction: column; gap: 16px; left: auto; right: calc(14px + var(--safe-right)); top: 19%; }
  .contribution-session .contribution-progress { bottom: calc(214px + var(--safe-bottom)); left: calc(4% + var(--safe-left)); right: calc(4% + var(--safe-right)); top: auto; }
  .intro, .decade { flex-direction: column; gap: 5px; }
  .bead { height: 1.5px; width: 10px; }
  .session-screen { padding-right: calc(4.5rem + var(--safe-right)); }
  .session-controls { bottom: calc(10px + var(--safe-bottom)); }
}

@media (orientation: landscape) and (max-height: 560px) {
  .session-screen { padding-bottom: calc(8.5rem + var(--safe-bottom)); }
  .progress-rail { bottom: calc(92px + var(--safe-bottom)); }
  .session-controls { bottom: calc(24px + var(--safe-bottom)); }
  .session-screen.contribution-session { padding-bottom: calc(12rem + var(--safe-bottom)); }
  .contribution-session .progress-rail { bottom: calc(176px + var(--safe-bottom)); }
}

@media (max-width: 540px) {
  .home-icon { margin-bottom: 1.8rem; width: 145px; }
  .session-controls:not(.has-listening) .session-navigation { gap: .45rem; width: 100%; }
  .session-controls:not(.has-listening) .session-navigation .button { flex: 1 1 0; font-size: .92rem; min-width: 0; padding-inline: .5rem; }
  .session-controls.has-listening .session-navigation .button { padding-inline: .7rem; }
  .schedule-table { font-size: .64rem; min-width: 0; }
  .schedule-table thead th:first-child, .schedule-table tbody th { width: 72px; }
}

@media (max-height: 700px) {
  .contribution-onboarding-main, .contribution-returning-main { margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-delay: 0ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .bell-cue-dot { animation: none !important; opacity: .65; }
}
