/* Prayer sheet + memory sheet (owner: Claude). Neutral, tokens only. */
.cp-head-actions { display: flex; justify-content: flex-end; }
.cp-note-btn { flex: none; min-height: 32px; margin-left: 4px; padding: 0 11px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font: 500 12px var(--sans); cursor: pointer; }
.cp-note-btn:hover { background: var(--surface-2); }

.mem-note, .pr-hint { margin: 0 0 14px; color: var(--muted); font: 400 12px/1.5 var(--sans); }
.mem-chips { margin-bottom: 8px; }
.mem-count { margin-left: 4px; font-weight: 600; opacity: .7; }
.mem-group { margin-top: 18px; }
.mem-group .section-label { margin-bottom: 4px; }
.mem-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.mem-text { flex: 1; min-width: 0; display: block; padding: 4px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
span.mem-text { cursor: default; }
.mem-text span, .mem-text small { display: block; }
.mem-text span { font: 400 14px/1.45 var(--sans); overflow-wrap: anywhere; }
.mem-text small { margin-top: 2px; color: var(--muted); font: 400 12px var(--sans); }
.mem-item.is-editing { display: grid; gap: 8px; }
.mem-input, .mem-select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font: 400 15px var(--sans); }
.mem-input:focus, .mem-select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.mem-select { width: auto; }
.mem-edit-row { display: flex; align-items: center; gap: 8px; }
.mem-edit-row .mem-input { flex: 1; }
.mem-save { margin-left: auto; }
.mem-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.mem-confirm p { flex-basis: 100%; margin: 0; font: 400 13px/1.45 var(--sans); }
.mem-empty { padding-bottom: 12px; }

.pr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: var(--r-sm); background: var(--surface-2); }
.pr-tabs button { min-height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; }
.pr-tabs button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pr-start, .pr-list, .pr-reminders, .pr-remind-form { display: grid; gap: 12px; }
.pr-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pr-go .icon { width: 18px; height: 18px; }
.pr-lead { margin: 0; font: 400 21px/1.4 var(--serif); color: var(--ink); }
.pr-add, .mem-code { display: flex; gap: 8px; }
.mem-code { margin-top: 18px; }
.pr-add .mem-input, .mem-code .mem-input { flex: 1; }
.pr-check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1.5px solid var(--muted); border-radius: 50%; background: transparent; color: transparent; cursor: pointer; }
.pr-check .icon { width: 15px; height: 15px; }
.pr-check.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pr-msg { margin: 0; color: var(--danger); font: 400 13px/1.45 var(--sans); }

/* prayer sheet: start, list intro, reminders */
.pr-hint { margin: 0; color: var(--muted); font: 400 13px/1.5 var(--sans); }
.pr-opt { margin-left: 6px; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.pr-start .section-label { margin-top: 6px; }
.pr-go { margin-top: 8px; min-height: 48px; }
.pr-intro { display: grid; gap: 8px; padding: 16px; border: 1px dashed var(--line); border-radius: var(--r); }
.pr-intro p { margin: 0; color: var(--ink-2); font: 400 14px/1.55 var(--sans); }
.pr-intro strong { color: var(--ink); font-size: 15px; }
.pr-repeat { width: 100%; }
.pr-repeat .you-segment { flex: 1; min-height: 38px; font-size: 13px; }
.pr-notify { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); color: var(--ink); text-align: left; cursor: pointer; }
.pr-notify > span { flex: 1; }
.pr-notify strong, .pr-notify small { display: block; }
.pr-notify strong { font: 600 14px var(--sans); }
.pr-notify small { margin-top: 3px; color: var(--muted); font: 400 12px/1.45 var(--sans); }
.pr-notify .icon { width: 18px; height: 18px; flex: none; }

/* scroll wheels (iPhone-style time picker); row height = H in wheel.tsx */
.wh { position: relative; display: flex; justify-content: center; gap: 4px; height: 200px; padding: 0 8px; border-radius: var(--r); background: var(--surface-2); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wh::before { content: ""; position: absolute; left: 8px; right: 8px; top: 80px; height: 40px; border-radius: 10px; background: var(--surface); pointer-events: none; }
.wh .wh { height: auto; padding: 0; background: none; -webkit-mask-image: none; mask-image: none; }
.wh .wh::before { display: none; }
.wh-col { position: relative; width: 64px; height: 200px; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: none; }
.wh-col::-webkit-scrollbar { display: none; }
.wh-col.is-wide { width: 150px; }
.wh-col:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 10px; }
.wh-pad { height: 80px; }
.wh-item { height: 40px; display: grid; place-items: center; scroll-snap-align: center; color: var(--muted); font: 400 20px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; user-select: none; }
.wh-col.is-wide .wh-item { font-size: 16px; }
.wh-item[aria-selected="true"] { color: var(--ink); font-weight: 500; }

/* the timed session: full screen */
dialog.pr-session { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
dialog.pr-session::backdrop { background: var(--bg); }
.ps { display: grid; grid-template-rows: auto auto 1fr auto; width: min(100%, var(--app-w)); height: 100%; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); }
.ps-top { display: flex; align-items: center; justify-content: space-between; }
.ps-left { color: var(--muted); font: 500 15px var(--sans); font-variant-numeric: tabular-nums; }
.ps-orb { display: grid; place-items: center; padding: 8px 0 16px; }
.ps-orb canvas { width: 150px; height: 150px; }
.ps-body { display: grid; gap: 14px; align-content: start; }
.ps-label { margin: 0; color: var(--muted); font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.ps-lead { margin: 0; font: 400 24px/1.45 var(--serif); }
.ps-lead.is-loading { color: var(--muted); font-size: 18px; text-align: center; }
.ps-hint { margin: 6px 0 0; color: var(--muted); font: 400 13px/1.5 var(--sans); }
.ps-open { margin: 0; padding-left: 18px; color: var(--ink-2); font: 400 15px/1.7 var(--sans); }
.ps-verse { margin: 0; font: italic 400 24px/1.5 var(--serif); }
.ps-verse cite { display: block; margin-top: 12px; color: var(--muted); font: normal 500 13px var(--sans); }
.ps-note { display: block; width: 100%; margin-top: 20px; resize: none; text-align: left; }
.pr-answer { display: block; width: 100%; margin-top: 6px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; font: 400 13px var(--sans); }
.pr-answer:focus { outline: none; border-bottom-color: currentColor; }
.ps-foot { display: grid; gap: 20px; }
.ps-bars { display: grid; grid-template-columns: .15fr .2fr .25fr .3fr .1fr; gap: 4px; }
.ps-bars span { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ps-bars i { display: block; height: 100%; background: var(--ink); }
.ps-controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.ps-play { display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; }
.ps-play .icon { width: 24px; height: 24px; }
.ps-play:disabled, .ps-controls .icon-btn:disabled { opacity: .35; cursor: default; }
.ps-end { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (prefers-reduced-motion: no-preference) { .ps-body { animation: ps-in 600ms var(--ease) both; } .ps-bars i { transition: width 250ms linear; } }
@keyframes ps-in { from { opacity: 0; transform: translateY(8px); } }

/* You → Notifications */
.ns { display: grid; gap: 14px; }
.ns-status { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.ns-status > div { flex: 1; }
.ns-status strong, .ns-status small { display: block; }
.ns-status strong { font: 600 15px var(--sans); }
.ns-status small { margin-top: 3px; color: var(--muted); font: 400 12px/1.45 var(--sans); }
.ns-bell { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); }
.ns-bell .icon { width: 18px; height: 18px; }
.ns-status.is-on .ns-bell { background: var(--ink); color: var(--bg); }
.ns-ios { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.ns-ios-why { margin: 0; font: 400 14px/1.55 var(--sans); }
.ns-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ns-steps li { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/1.55 var(--sans); }
.ns-num { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 12px var(--sans); }
.ns-glyph { width: 18px; height: 18px; vertical-align: -4px; color: #0a84ff; }
.ns-small { margin: 0; color: var(--muted); font: 400 12px/1.5 var(--sans); }
.ns-h { margin-top: 8px; }
.ns-list { border: 1px solid var(--line); border-radius: var(--r); }
.ns-list.is-idle { opacity: .6; }
.ns-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; }
.ns-row + .ns-row { border-top: 1px solid var(--line); }
.ns-text { flex: 1; min-width: 0; }
.ns-text strong, .ns-text small { display: block; }
.ns-text strong { font: 500 14px var(--sans); }
.ns-text small { margin-top: 2px; color: var(--muted); font: 400 12px/1.45 var(--sans); }
.ns-time { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 500 12px var(--sans); cursor: pointer; }
.ns-time .icon { width: 14px; height: 14px; }
.ns-wheel { flex-basis: 100%; }
.ns-switch { position: relative; width: 50px; height: 30px; flex: none; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; padding: 0; }
.ns-switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.ns-switch.is-on { background: var(--ink); }
.ns-switch.is-on span { transform: translateX(20px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { .ns-switch, .ns-switch span { transition: transform 200ms var(--ease), background-color 200ms var(--ease); } }

/* companion idle screen: a clear way in to prayer */
.cp-pray-big { display: inline-flex; align-items: center; gap: 8px; margin: 4px auto 0; }
.cp-pray-big .icon { width: 18px; height: 18px; }
