/* New Gospel-journey prayer flow. Namespaced to avoid disturbing the legacy app. */
.journey-v2{
  --jv2-blue:var(--blue);
  --jv2-blue-dark:var(--blue-dark);
  --jv2-ink:var(--ink);
  --jv2-muted:var(--muted);
  --jv2-line:var(--line);
  --jv2-soft:var(--soft);
  --jv2-keyboard-inset:0px;
  min-height:100vh;
  background:var(--paper);
  color:var(--jv2-ink);
}
/* Keep the area below the fixed dock opaque while Safari exposes the keyboard. */
.journey-v2::after{
  content:"";
  display:none;
  position:fixed;
  left:0;
  right:0;
  top:calc(var(--jv2-footer-top,0px) + var(--jv2-footer-height,72px));
  bottom:0;
  background:var(--paper);
  pointer-events:none;
  z-index:39;
}
.journey-v2.keyboard-open::after{
  display:block;
}

html.keyboard-navigation-open,
html.keyboard-navigation-open body{
  background:var(--paper);
}

.journey-v2 *{box-sizing:border-box}
.journey-v2 button,.journey-v2 input,.journey-v2 textarea{font:inherit}

.jv2-topbar{
  height:56px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  padding:0 12px;
  border-bottom:1px solid var(--line);
  background:var(--paper);
  position:sticky;
  top:0;
  z-index:30;
}

.jv2-topbar-title{
  text-align:center;
  font-size:var(--appbar-title-size);
  font-weight:600;
  color:var(--ink-strong);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.jv2-icon-btn{
  width:var(--control-height);
  height:var(--control-height);
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  display:grid;
  place-items:center;
  font-size:1.5625rem;
  line-height:1;
  padding:0;
}
.jv2-icon-btn:hover{background:var(--blue-soft)}
.jv2-icon-btn:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}

.jv2-screen{
  min-height:calc(100vh - 56px);
  padding:26px 24px 104px;
}

.jv2-content{max-width:820px;margin:0 auto}
.jv2-narrow{max-width:620px;margin:0 auto}

.jv2-kicker{
  margin:0 0 8px;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:var(--eyebrow-size);
  font-weight:600;
  color:var(--gold-ink);
}


.jv2-title{
  margin:0;
  text-align:center;
  font-size:var(--title-size);
  line-height:1.18;
  font-weight:var(--title-weight);
  color:var(--ink-strong);
}

.jv2-subtitle{
  margin:10px auto 0;
  max-width:620px;
  text-align:center;
  font-size:1rem;
  line-height:1.55;
  color:var(--muted);
}

.jv2-progress{
  display:flex;
  justify-content:center;
  gap:7px;
  margin:18px 0 22px;
}
.jv2-progress span{width:7px;height:7px;border-radius:50%;background:var(--line)}
.jv2-progress span.active{background:var(--jv2-blue)}

/* Scene chooser */
.jv2-browse-switch{
  max-width:430px;
  margin:22px auto 0;
  padding:4px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
  border:1px solid var(--line);
  border-radius:var(--radius-pill);
  background:var(--soft);
}
.jv2-browse-option{
  border:0;
  border-radius:var(--radius-pill);
  padding:8px 14px;
  background:transparent;
  color:var(--muted);
  font-weight:600;
  cursor:pointer;
  min-height:var(--control-height);
  font-size:var(--label-size);
}
.jv2-browse-option.active{
  background:var(--paper);
  color:var(--blue-dark);
  box-shadow:none;
}
.jv2-browse-option:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}
.jv2-browse-hint{
  max-width:620px;
  margin:18px auto 0;
  padding:14px 18px;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  background:var(--blue-soft);
  color:var(--muted);
  text-align:center;
  line-height:1.5;
}
.jv2-context-placeholder{color:var(--muted-light)}
.jv2-map-wrap{
  margin:24px auto 0;
  max-width:760px;
  border-radius:var(--radius-card);
  overflow:hidden;
  background:#f6f3ea;
  border:1px solid #e7e5dc;
  position:relative;
}

.jv2-map{
  display:block;
  width:100%;
  height:auto;
  min-height:300px;
  background:linear-gradient(90deg,#dcecf4 0 32%,#f7f3e8 32% 100%);
}

.jv2-map .land{fill:#f6f1e5;stroke:#ded8c8;stroke-width:1.2}
.jv2-map .sea{fill:#d9eaf2}
.jv2-map .river{fill:none;stroke:#b9d8e7;stroke-width:3;stroke-linecap:round;opacity:.9}
.jv2-map .map-label{fill:var(--muted-light);font-size:12px;font-style:italic;pointer-events:none}
.jv2-map .place-label{fill:var(--ink);font-size:12px;pointer-events:bounding-box;cursor:pointer}
.jv2-map .place-dot{fill:var(--muted-light);stroke:var(--paper);stroke-width:2}
.jv2-map .place-ring{fill:var(--focus-ring);stroke:var(--jv2-blue);stroke-width:2;opacity:0}
.jv2-map .place-hit{fill:transparent;cursor:pointer}
.jv2-map .place-group.selected .place-dot{fill:var(--jv2-blue)}
.jv2-map .place-group.selected .place-ring{opacity:1}
.jv2-map .place-group.chapter .place-dot{fill:var(--muted)}
.jv2-map .place-group:hover .place-ring{opacity:.45}

.jv2-place-map-head{
  position:absolute;
  left:14px;
  right:14px;
  top:10px;
  z-index:3;
  min-height:34px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  pointer-events:none;
}
.jv2-place-map-title{
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  color:var(--ink-strong);
  text-align:center;
  pointer-events:none;
}
.jv2-place-map-title strong{
  font-family:var(--font-ui);
  font-size:1.1875rem;
  line-height:1.1;
  font-weight:700;
  letter-spacing:0;
  font-kerning:normal;
  paint-order:stroke;
  stroke:rgba(255,255,255,.94);
  stroke-width:3px;
  stroke-linejoin:round;
  text-shadow:
    0 1px 0 rgba(255,255,255,.96),
    1px 0 0 rgba(255,255,255,.96),
    -1px 0 0 rgba(255,255,255,.96),
    0 -1px 0 rgba(255,255,255,.96);
  color:var(--ink-strong);
}
.jv2-place-map-title span{
  font-size:0.75rem;
  line-height:1.2;
  color:var(--muted);
  letter-spacing:.02em;
  text-shadow:0 1px 0 rgba(255,255,255,.92);
}
.jv2-place-map-back{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:var(--radius-pill);
  background:rgba(255,255,255,.86);
  color:var(--jv2-blue-dark);
  padding:5px 9px;
  font-size:0.75rem;
  font-weight:700;
  cursor:pointer;
  box-shadow:none;
}
.jv2-place-map-back:hover{background:var(--paper);color:var(--blue-dark)}
.jv2-place-map-back .jv2-map-back-icon{
  display:block;
  width:16px;
  height:16px;
  flex:0 0 16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.jv2-place-map-back:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}
.jv2-local-map .local-ground{fill:#f7f3e9;stroke:#ded8c8;stroke-width:1.2}
.jv2-local-map .local-road{fill:none;stroke:#d5cdbd;stroke-width:2;stroke-linecap:round;stroke-dasharray:5 6}
.jv2-local-map .local-wall{fill:none;stroke:#cfc7b7;stroke-width:2}
.jv2-local-map .local-water{fill:none;stroke:#b9d8e7;stroke-width:4;stroke-linecap:round}
.jv2-local-map .jv2-selected-scene-label{pointer-events:none}
.jv2-local-map .jv2-selected-scene-label text{
  fill:var(--ink-strong);
  font-size:12px;
  font-weight:700;
  letter-spacing:0;
  paint-order:stroke;
  stroke:rgba(255,255,255,.96);
  stroke-width:3.5px;
  stroke-linejoin:round;
}
.jv2-local-map .event-dot{fill:var(--muted-light);stroke:var(--paper);stroke-width:2}
.jv2-local-map .event-ring{fill:var(--focus-ring);stroke:var(--jv2-blue);stroke-width:2;opacity:0}
.jv2-local-map .event-hit{fill:transparent;cursor:pointer}
.jv2-local-map .event-group.selected .event-dot{fill:var(--jv2-blue)}
.jv2-local-map .event-group.selected .event-ring{opacity:1}
.jv2-local-map .event-number{fill:var(--ink);font-size:10px;font-weight:700;text-anchor:middle;pointer-events:none}
.jv2-map-note{
  position:absolute;
  left:12px;
  bottom:10px;
  background:rgba(255,255,255,.88);
  border-radius:var(--radius-control);
  padding:5px 9px;
  font-size:10px;
  color:var(--muted-light);
}

.jv2-chapters{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:20px auto 0;
  max-width:760px;
  border-bottom:1px solid var(--jv2-line);
}
.jv2-chapter{
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  padding:12px 6px 10px;
  color:var(--muted-light);
  font-size:0.8125rem;
  line-height:1.2;
}
.jv2-chapter.active{color:var(--blue-dark);border-bottom-color:var(--jv2-blue);font-weight:700}
.jv2-chapter:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:-2px}

.jv2-selection-context{
  min-height:38px;
  margin:14px auto 6px;
  max-width:760px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:0.8125rem;
}
.jv2-selection-context strong{color:var(--ink)}
.jv2-clear-place{
  border:0;
  background:transparent;
  color:var(--jv2-blue-dark);
  padding:7px 5px;
}

.jv2-scenes{
  max-width:760px;
  margin:0 auto;
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding:6px 2px 14px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}

.jv2-scene-card{
  flex:0 0 190px;
  min-height:116px;
  scroll-snap-align:start;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  background:var(--paper);
  padding:16px;
  text-align:left;
  color:var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;
}
.jv2-scene-card:hover{border-color:var(--blue-border);background:var(--blue-soft)}
.jv2-scene-card.selected{border:2px solid var(--jv2-blue);padding:15px;background:var(--blue-soft)}
.jv2-scene-card:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}
.jv2-scene-title{font-size:0.9375rem;font-weight:700;line-height:1.28}
.jv2-scene-place{font-size:0.75rem;line-height:1.35;color:var(--muted-light)}

.jv2-primary-row{text-align:center;margin-top:14px}
.jv2-primary{
  border:0;
  border-radius:var(--radius-pill);
  min-height:46px;
  padding:11px 24px;
  background:var(--jv2-blue);
  color:var(--paper);
  font-weight:700;
  box-shadow:none;
}
.jv2-primary:disabled{opacity:.35;cursor:not-allowed}
.jv2-primary:focus-visible,.jv2-secondary:focus-visible,.jv2-duration:focus-visible,.jv2-grace-option:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}
.jv2-secondary{
  border:1px solid var(--blue-border);
  border-radius:var(--radius-pill);
  min-height:43px;
  padding:9px 18px;
  background:var(--paper);
  color:var(--jv2-blue-dark);
  font-weight:600;
}

/* Duration */
.jv2-duration-grid{
  margin:30px auto 0;
  max-width:520px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.jv2-duration{
  min-height:72px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--paper);
  color:var(--ink);
  font-size:1.125rem;
  font-weight:700;
}
.jv2-duration small{display:block;margin-top:4px;font-size:0.75rem;font-weight:500;color:var(--muted-light)}
.jv2-duration.selected{border:2px solid var(--jv2-blue);background:var(--blue-soft);color:var(--blue-dark)}

/* Grace */
.jv2-grace-field{margin:28px auto 0;max-width:600px}
.jv2-grace-field textarea{
  width:100%;
  min-height:112px;
  resize:vertical;
  border:1px solid var(--line-strong);
  border-radius:var(--radius-control);
  background:var(--field);
  padding:15px 14px;
  color:var(--ink-strong);
  outline:none;
  line-height:1.45;
}
.jv2-grace-field textarea:focus{border-color:var(--jv2-blue-dark);background:var(--paper)}
.jv2-grace-suggestions-title{margin:72px 0 12px;text-align:center;color:var(--muted-light);font-size:0.8125rem;font-weight:600}
.jv2-grace-options{display:grid;gap:8px;max-width:600px;margin:0 auto}
.jv2-grace-option{
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--paper);
  padding:12px 14px;
  text-align:left;
  color:var(--ink);
  line-height:1.4;
  font-size:0.8125rem;
}
.jv2-grace-option:hover{background:var(--blue-soft);border-color:var(--blue-border)}
.jv2-grace-option{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
}
.jv2-grace-option-title{
  display:block;
  font-weight:700;
  color:#33434b;
  line-height:1.25;
}
.jv2-grace-option-text{
  display:block;
  font-size:.93em;
  font-weight:400;
  line-height:1.45;
  color:#607d8b;
}

/* Stillness threshold */
.jv2-threshold{
  min-height:calc(100vh - 210px);
  display:grid;
  place-items:center;
  text-align:center;
}
.jv2-threshold-inner{max-width:570px;padding:34px 10px}
.jv2-threshold h2{margin:0 0 30px;font-size:1.875rem;font-weight:500;color:var(--ink-strong)}
.jv2-threshold p{margin:0 auto 20px;max-width:520px;font-size:1.125rem;line-height:1.7;color:var(--muted)}
.jv2-threshold .jv2-grace-repeat{margin:32px auto;padding:17px 20px;border-left:2px solid var(--blue-border);border-right:2px solid var(--blue-border);color:var(--ink);font-style:italic}
.jv2-before-prayer{
  max-width:520px;
  margin:-8px auto 26px;
  text-align:left;
}
.jv2-before-prayer summary{
  list-style:none;
  width:max-content;
  max-width:100%;
  margin:0 auto;
  padding:8px 6px;
  color:var(--jv2-blue-dark);
  font-weight:600;
  line-height:1.35;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
.jv2-before-prayer summary::-webkit-details-marker{display:none}
.jv2-before-prayer summary::after{
  content:"";
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  transition:transform .15s ease;
}
.jv2-before-prayer[open] summary::after{
  transform:rotate(225deg) translate(-1px,-1px);
}
.jv2-before-prayer summary:hover{color:var(--jv2-blue)}
.jv2-before-prayer summary:focus-visible{
  outline:2px solid var(--jv2-blue);
  outline-offset:2px;
  border-radius:var(--radius-pill);
}
.jv2-before-prayer-body{
  margin:10px auto 6px;
  padding:18px 20px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.jv2-threshold .jv2-before-prayer-body p{
  margin:0;
  max-width:none;
  color:var(--ink);
  font-size:1rem;
  line-height:1.78;
  text-align:left;
}
.jv2-before-prayer-body cite{
  display:block;
  margin-top:14px;
  color:var(--muted);
  font-size:.875rem;
  font-style:normal;
  text-align:right;
}


/* Live prayer */
.jv2-prayer-screen{padding-bottom:42px}
.jv2-prayer-head{text-align:center;margin:8px auto 20px}
.jv2-phase{font-size:0.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--muted-light)}
.jv2-prayer-title{font-size:1.125rem;font-weight:600;margin:6px 0 2px;color:var(--ink)}
.jv2-prayer-place{font-size:0.8125rem;color:var(--muted-light)}
.jv2-time{font-size:3.125rem;line-height:1;font-weight:760;text-align:center;color:var(--ink);margin:24px 0 10px;font-variant-numeric:tabular-nums}
.jv2-stage-track{max-width:520px;margin:0 auto 28px;height:4px;border-radius:4px;background:var(--line);overflow:hidden}
.jv2-stage-progress{height:100%;background:var(--jv2-blue);width:0%;transition:width .4s linear}

.jv2-prompt-card{
  max-width:650px;
  min-height:230px;
  margin:0 auto;
  display:grid;
  place-items:center;
  padding:30px 34px;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  background:var(--paper);
  text-align:center;
}
.jv2-prompt-text{font-size:clamp(21px,3.6vw,28px);line-height:1.5;color:var(--ink);font-weight:430}
.jv2-prompt-card.scripture .jv2-prompt-text{font-size:clamp(18px,3vw,23px);line-height:1.62;color:var(--ink)}
.jv2-prompt-card.colloquy .jv2-prompt-text{font-size:clamp(20px,3.4vw,26px)}
.jv2-prompt-source{margin-top:18px;font-size:0.75rem;color:var(--muted-light)}

.jv2-prayer-controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin:22px auto 0;
  flex-wrap:wrap;
}
.jv2-control{
  min-width:48px;
  min-height:44px;
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--muted);
  border-radius:var(--radius-control);
  padding:8px 15px;
  font-weight:600;
}
.jv2-control.primary{background:var(--blue-soft);border-color:var(--blue-border);color:var(--blue-dark)}
.jv2-control:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}
.jv2-audio-state{min-height:18px;margin-top:12px;text-align:center;font-size:0.75rem;color:var(--muted-light)}

/* Post-prayer */
.jv2-review-block{max-width:650px;margin:26px auto 0}
.jv2-review-q{margin:0 0 25px}
.jv2-review-q label{display:block;margin:0 0 8px;font-weight:600;color:var(--ink)}
.jv2-review-q p{margin:0 0 8px;color:var(--muted-light);font-size:0.8125rem;line-height:1.45}
.jv2-review-q textarea{
  width:100%;min-height:94px;resize:vertical;
  border:1px solid var(--line-strong);border-radius:var(--radius-control);
  background:var(--field);padding:13px;color:var(--ink-strong);outline:none;line-height:1.45;
}
.jv2-review-q textarea:focus{border-color:var(--jv2-blue);background:var(--paper)}

.jv2-complete{text-align:center;padding:55px 10px 30px}
.jv2-complete h1{font-size:1.875rem;font-weight:500;line-height:1.2;margin:18px 0 24px;color:var(--ink-strong)}
.jv2-crucifix{font-size:3.625rem;line-height:1;color:var(--muted);margin-bottom:20px}
.jv2-complete h2{font-size:1.875rem;font-weight:500;margin:0 0 12px}
.jv2-complete p{color:var(--muted);line-height:1.6;max-width:520px;margin:0 auto 26px}

.jv2-footer{
  position:fixed;
  top:auto;
  bottom:0;
  left:50%;
  transform:translate3d(-50%,0,0);
  width:min(100%,920px);
  min-height:72px;
  border-top:1px solid var(--line);
  background:var(--paper);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 24px max(12px,env(safe-area-inset-bottom));
  z-index:40;
  isolation:isolate;
  gap:var(--space-3);
}
.journey-v2.keyboard-open .jv2-footer{
  top:var(--jv2-footer-top);
  bottom:auto;
  height:72px;
  min-height:72px;
  padding-top:12px;
  padding-bottom:12px;
}
/* Do not add a footer-height scroll tail while the iOS keyboard is open.
   The old 84px padding became visible as an empty white strip at the true
   document bottom. Keep only normal content breathing room and use
   scroll-margin on editable fields for footer clearance instead. */
.journey-v2.keyboard-open .jv2-screen{
  padding-bottom:12px;
}
.journey-v2.keyboard-open textarea,
.journey-v2.keyboard-open input,
.journey-v2.keyboard-open [contenteditable="true"]{
  scroll-margin-bottom:92px;
}
.jv2-footer-spacer{width:94px}

@media(max-width:640px){
  .jv2-screen{padding:20px 16px 96px}
  .jv2-title{font-size:var(--title-size)}
  .jv2-subtitle{font-size:0.9375rem}
  .jv2-map-wrap{margin-top:18px;border-radius:var(--radius-card)}
  .jv2-map{min-height:250px}
  .jv2-chapter{font-size:0.75rem;padding-left:2px;padding-right:2px}
  .jv2-browse-switch{margin-top:18px}
  .jv2-browse-option{padding-left:8px;padding-right:8px;font-size:var(--label-size)}
  .jv2-selection-context{align-items:flex-start}
  .jv2-duration-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}
  .jv2-threshold p{font-size:1.0625rem}
  .jv2-threshold .jv2-before-prayer-body p{font-size:.975rem;line-height:1.72}
  .jv2-before-prayer-body{padding-left:14px;padding-right:14px}

  .jv2-time{font-size:2.75rem}
  .jv2-prompt-card{min-height:215px;padding:25px 20px}
  .jv2-footer{padding-left:16px;padding-right:16px}
  .jv2-footer-spacer{width:76px}
}


/* Story-order ledger: the same quiet card language as the classic flow. */
.jv2-story-groups{
  overflow-anchor:none;
}
.jv2-story-group-header{
  width:100%;
  display:grid;
  align-items:center;
  border:0;
  text-align:left;
  cursor:pointer;
  list-style:none;
}
.jv2-story-group-header::-webkit-details-marker{display:none}
.jv2-story-group-index{
  display:grid;
  place-items:center;
  border:1px solid var(--jv2-blue);
  border-radius:50%;
  color:var(--jv2-blue-dark);
  font-size:0.75rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.jv2-story-group-heading{min-width:0}
.jv2-story-group-title{
  display:block;
}
.jv2-story-group-toggle{
  display:grid;
  place-items:center;
  border-radius:50%;
}
.jv2-story-group-toggle svg{
  display:block;
}
.jv2-story-group[open] .jv2-story-group-toggle svg{transform:rotate(180deg)}
.jv2-story-scenes{
  position:relative;
  display:grid;
  margin:0;
  list-style:none;
}
.jv2-story-stop{
  position:relative;
  min-width:0;
}
.jv2-story-row{
  display:grid;
  grid-template-columns:100px minmax(0,1fr) auto;
  align-items:center;
  gap:17px;
  width:100%;
  min-height:116px;
  margin-left:0;
  padding:14px 16px 14px 14px;
  border:1px solid rgba(55,71,79,.07);
  border-radius:var(--radius-card);
  background:var(--paper);
  box-shadow:none;
  color:var(--ink);
  text-align:left;
  cursor:pointer;
  flex:initial;
}
.jv2-story-row:not(.has-artwork){grid-template-columns:minmax(0,1fr) auto}
.jv2-story-row:hover{border-color:var(--blue-border);background:var(--blue-soft)}
.jv2-story-row:focus-visible{outline:2px solid var(--jv2-blue);outline-offset:2px}
.jv2-story-row.selected{
  border-color:var(--jv2-blue);
  background:var(--blue-soft);
  box-shadow:none;
}
.jv2-story-row-artwork{
  width:100px;
  height:100px;
  overflow:hidden;
  border:0;
  border-radius:var(--radius-card);
  background:var(--canvas);
}
.jv2-story-row-artwork img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.jv2-story-row-copy{min-width:0}
.jv2-story-row-number{
  align-self:center;
  justify-self:end;
  display:inline-flex;
  align-items:center;
  min-height:31px;
  padding:4px 10px;
  border-radius:var(--radius-pill);
  background:var(--green-soft);
  color:var(--stage-world);
  font-size:0.75rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.jv2-story-row-selected{
  display:block;
  margin-bottom:7px;
  color:var(--blue-dark);
  font-size:0.75rem;
  font-weight:600;
}
.jv2-story-row-title{
  display:block;
  color:var(--ink);
  font-size:1.0625rem;
  line-height:1.25;
  font-weight:700;
}
.jv2-story-row-reference{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:0.875rem;
  line-height:1.3;
  font-weight:600;
}
.jv2-passage-length-note{
  display:flex;
  align-items:flex-start;
  gap:5px;
  margin-top:6px;
  color:var(--gold-ink);
  font-size:0.75rem;
  line-height:1.35;
  font-weight:600;
}
.jv2-passage-length-icon{
  display:block;
  width:13px;
  height:13px;
  flex:0 0 13px;
  margin-top:1px;
}
.jv2-story-row-place{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:6px;
  color:var(--muted);
  font-size:0.8125rem;
  line-height:1.3;
}
.jv2-story-place-icon{
  width:13px;
  height:13px;
  flex:0 0 13px;
  display:block;
}
.jv2-story-context{
  margin-top:16px;
  border:0;
  background:transparent;
  padding:0;
  color:var(--muted);
  text-align:left;
}
@media(max-width:640px){
  .jv2-story-groups{margin-top:20px}
  .jv2-story-group-index{font-size:0.75rem}
  .jv2-story-scenes{gap:12px;padding-left:5px}
  .jv2-story-row{grid-template-columns:78px minmax(0,1fr) auto;gap:12px;width:100%;min-height:98px;margin-left:0;padding:10px 11px 10px 10px}
  .jv2-story-row:not(.has-artwork){grid-template-columns:minmax(0,1fr) auto}
  .jv2-story-row-artwork{width:78px;height:78px;border-radius:var(--radius-card)}
  .jv2-story-row-title{font-size:var(--body-size)}
  .jv2-story-row-reference{font-size:0.8125rem}
  .jv2-story-row-place{font-size:0.75rem}
}
@media(max-width:410px){
  .jv2-story-row{grid-template-columns:68px minmax(0,1fr) auto;gap:10px;width:100%}
  .jv2-story-row:not(.has-artwork){grid-template-columns:minmax(0,1fr) auto}
  .jv2-story-row-artwork{width:68px;height:68px}
  .jv2-story-row-title{font-size:var(--body-size)}
  .jv2-story-row-reference,.jv2-story-row-place{font-size:0.75rem}
  .jv2-story-row-selected{font-size:0.75rem}
}


/* Journey duration step mirrors the classic timer controls while keeping its own layout. */
.journey-v2 .jv2-duration-screen{padding-bottom:18px}
.journey-v2 .jv2-timer-config{margin:22px auto 18px}
.journey-v2 .jv2-timer-ring{
  --jv2-warmup-duration:var(--stage-warmup);
  margin:0 auto;
}
.journey-v2 .jv2-duration-slider{margin:20px 4px}
.journey-v2 .jv2-duration-warmup-fixed{
  --jv2-warmup-duration:var(--stage-warmup);
  margin-bottom:22px;
}
.journey-v2 .jv2-warmup-duration-color{
  color:var(--jv2-warmup-duration);
}
.journey-v2 .jv2-duration-slider .slider-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.journey-v2 .jv2-duration-label-group{
  display:inline-flex;
  align-items:center;
  min-width:0;
  gap:4px;
  flex:1 1 auto;
}
.journey-v2 .jv2-duration-info-button{
  display:grid;
  place-items:center;
  flex:0 0 var(--control-height);
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  transition:background-color .15s ease,color .15s ease,transform .15s ease;
  width:var(--control-height);
  height:var(--control-height);
}
.journey-v2 .jv2-duration-info-button:hover,
.journey-v2 .jv2-duration-info-button[aria-expanded="true"]{
  background:var(--blue-soft);
  color:var(--stage-colloquy);
  transform:translateY(-1px);
}
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="world"]{
  color:var(--stage-world);
}
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="scripture"]{
  color:var(--stage-scripture);
}
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="colloquy"]{
  color:var(--stage-colloquy);
}
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="world"]:hover,
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="world"][aria-expanded="true"]{
  background:var(--green-soft);
  color:var(--green-ink);
}
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="scripture"]:hover,
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="scripture"][aria-expanded="true"]{
  background:var(--yellow-soft);
  color:var(--stage-scripture);
}
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="colloquy"]:hover,
.journey-v2 .jv2-duration-info-button[data-jv2-duration-info="colloquy"][aria-expanded="true"]{
  background:var(--blue-soft);
  color:var(--jv2-blue-dark);
}
.journey-v2 .jv2-duration-info-button:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}
.journey-v2 .jv2-duration-info-button .material-info-icon{
  display:block;
  width:16px;
  height:16px;
  fill:currentColor;
}

/* The info panel is fixed to the viewport so it floats above the layout. */
.jv2-duration-info-popover{
  position:fixed;
  z-index:1200;
  display:grid;
  gap:5px;
  box-sizing:border-box;
  width:min(360px,calc(100vw - 24px));
  max-height:min(320px,calc(100vh - 24px));
  overflow:auto;
  margin:0;
  padding:12px 14px 12px 15px;
  border:1px solid var(--jv2-info-border,var(--line));
  border-left:4px solid var(--jv2-info-accent,var(--muted-light));
  border-radius:var(--radius-control);
  background:var(--paper);
  box-shadow:var(--shadow-popover);
  color:var(--muted);
  font-size:0.875rem;
  line-height:1.5;
}
.jv2-duration-info-popover::before{
  content:"";
  position:absolute;
  left:var(--jv2-info-arrow-left,50%);
  width:12px;
  height:12px;
  box-sizing:border-box;
  background:inherit;
  border-left:1px solid var(--jv2-info-border,var(--line));
  border-top:1px solid var(--jv2-info-border,var(--line));
}
.jv2-duration-info-popover[data-placement="below"]::before{
  top:-7px;
  transform:translateX(-50%) rotate(45deg);
}
.jv2-duration-info-popover[data-placement="above"]::before{
  bottom:-7px;
  transform:translateX(-50%) rotate(225deg);
}
.jv2-duration-info-popover strong{
  color:var(--jv2-info-accent,var(--ink));
  font-size:0.875rem;
  line-height:1.3;
}
.jv2-duration-info-popover span{
  color:var(--muted);
}
.jv2-duration-info-popover[data-jv2-duration-popover="world"]{
  --jv2-info-accent:var(--stage-world);
  --jv2-info-border:var(--green-border);
  background:var(--green-soft);
}
.jv2-duration-info-popover[data-jv2-duration-popover="scripture"]{
  --jv2-info-accent:var(--stage-scripture);
  --jv2-info-border:var(--yellow-border);
  background:var(--yellow-soft);
}
.jv2-duration-info-popover[data-jv2-duration-popover="colloquy"]{
  --jv2-info-accent:var(--stage-colloquy);
  --jv2-info-border:var(--blue-border);
  background:var(--blue-soft);
}
.jv2-duration-info-popover[hidden]{display:none}
@media(prefers-reduced-motion:reduce){
  .journey-v2 .jv2-duration-info-button{transition:none}
}

/* Step 2 and Step 3 information now use the same centred modal treatment
   as the St Ignatius / preparation information dialogs. */
.journey-v2 .jv2-info-modal{
  max-width:620px;
}
.journey-v2 .jv2-info-modal h2{
  color:var(--ink);
  padding-inline:var(--space-6);
}
.journey-v2 .jv2-info-modal-body{
  margin:22px 6px 4px;
  color:var(--ink);
  font-size:1.0625rem;
  line-height:1.7;
}
@media(max-width:640px){
  .journey-v2 .jv2-info-modal-body{
    margin-top:18px;
    font-size:0.9375rem;
    line-height:1.65;
  }
}

.journey-v2 .jv2-duration-help{max-width:500px;margin:22px auto 0;text-align:center;line-height:1.5}
@media(max-width:640px){
  .journey-v2 .jv2-timer-config{margin-top:18px}
  .journey-v2 .jv2-duration-slider{margin-left:0;margin-right:0}
}

/* Keep the Journey timer diameter while making its coloured edge slightly lighter. */
.journey-v2 .jv2-timer-ring::after{width:230px;height:230px}
@media(max-width:640px){.journey-v2 .jv2-timer-ring::after{width:206px;height:206px}}

/* Keep Journey duration sliders light and consistent across Safari, Chromium and Firefox. */
.journey-v2 .jv2-duration-slider input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  margin:0;
  background:transparent;
  color-scheme:light;
  accent-color:var(--jv2-range-color);
}
.journey-v2 .jv2-duration-slider .scene-range{--jv2-range-color:var(--stage-world)}
.journey-v2 .jv2-duration-slider .contemplatio-range{--jv2-range-color:var(--stage-scripture)}
.journey-v2 .jv2-duration-slider .colloquy-range{--jv2-range-color:var(--stage-colloquy)}
.journey-v2 .jv2-duration-slider input[type="range"]::-webkit-slider-runnable-track{
  height:6px;
  border-radius:var(--radius-pill);
  background:linear-gradient(to right,var(--jv2-range-color) 0,var(--jv2-range-color) var(--jv2-range-progress,0%),var(--line) var(--jv2-range-progress,0%),var(--line) 100%);
}
.journey-v2 .jv2-duration-slider input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;
  height:18px;
  margin-top:-6px;
  border:0;
  border-radius:50%;
  background:var(--jv2-range-color);
  box-shadow:var(--shadow-soft);
}
.journey-v2 .jv2-duration-slider input[type="range"]:focus-visible{outline:none}
.journey-v2 .jv2-duration-slider input[type="range"]:focus-visible::-webkit-slider-thumb{
  box-shadow:0 0 0 3px var(--focus-ring);
}
.journey-v2 .jv2-duration-slider input[type="range"]::-moz-range-track{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--line);
}
.journey-v2 .jv2-duration-slider input[type="range"]::-moz-range-progress{
  height:6px;
  border-radius:var(--radius-pill);
  background:var(--jv2-range-color);
}
.journey-v2 .jv2-duration-slider input[type="range"]::-moz-range-thumb{
  width:18px;
  height:18px;
  border:0;
  border-radius:50%;
  background:var(--jv2-range-color);
  box-shadow:var(--shadow-soft);
}

/* Make the range controls read as draggable handles. */
.journey-v2 .jv2-duration-slider input[type="range"]{cursor:grab;height:var(--control-height);touch-action:pan-y}
.journey-v2 .jv2-duration-slider input[type="range"]:active{cursor:grabbing}
.journey-v2 .jv2-duration-slider input[type="range"]::-webkit-slider-thumb{cursor:grab}
.journey-v2 .jv2-duration-slider input[type="range"]:active::-webkit-slider-thumb{cursor:grabbing}
.journey-v2 .jv2-duration-slider input[type="range"]::-moz-range-thumb{cursor:grab}
.journey-v2 .jv2-duration-slider input[type="range"]:active::-moz-range-thumb{cursor:grabbing}

/* Keep the grace title centred while placing its info control in a clear right gutter. */
.journey-v2 .jv2-grace-heading{
  box-sizing:border-box;
}
.journey-v2 .jv2-grace-heading .jv2-title{margin:0 auto}
.journey-v2 .jv2-grace-heading .jv2-grace-info{
  width:var(--control-height);
  height:var(--control-height);
  font-size:0;
  line-height:0;
  color:var(--jv2-blue-dark);
  z-index:1;
}
@media(max-width:640px){
  .journey-v2 .jv2-grace-heading .jv2-grace-info{
    width:var(--control-height);
    height:var(--control-height);
  }
}

/* Live prayer stage navigation is deliberately quieter than pre/post-prayer
   navigation: forward is tonal; backward is text-only. */
.jv2-prayer-footer .jv2-stage-nav{
  border:0;
  border-radius:var(--radius-pill);
  padding:10px 18px;
  transition:transform .15s,box-shadow .15s,opacity .15s;
  min-height:var(--control-height);
  max-width:64%;
  white-space:normal;
  text-align:center;
  font-weight:600;
  letter-spacing:0;
  box-shadow:none;
}
.jv2-prayer-footer .jv2-stage-nav:hover{transform:translateY(-1px);box-shadow:none}
.jv2-prayer-footer .jv2-stage-nav:active{transform:translateY(1px)}
.jv2-prayer-footer .jv2-stage-nav:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.jv2-prayer-footer .jv2-stage-nav.btn-stage-scenes{
  background:var(--green-soft);
  background:color-mix(in srgb,var(--stage-world) 14%,var(--paper));
  color:var(--stage-world)}
.jv2-prayer-footer .jv2-stage-nav.btn-stage-contemplatio{
  background:var(--yellow-soft);
  background:color-mix(in srgb,var(--stage-scripture) 14%,var(--paper));
  color:var(--stage-scripture)}
.jv2-prayer-footer .jv2-stage-nav.btn-stage-colloquy{
  background:var(--blue-soft);
  background:color-mix(in srgb,var(--stage-colloquy) 14%,var(--paper));
  color:var(--stage-colloquy)}

.jv2-prayer-footer .jv2-prayer-back{
  border:0;
  border-radius:var(--radius-pill);
  min-height:var(--control-height);
  max-width:34%;
  padding:10px 8px;
  background:transparent;
  font:inherit;
  font-weight:600;
  line-height:1.4;
  text-align:left;
  cursor:pointer;
  transition:opacity .15s,transform .15s;
}
.jv2-prayer-footer .jv2-prayer-back:hover{opacity:.72}
.jv2-prayer-footer .jv2-prayer-back:active{transform:translateY(1px)}
.jv2-prayer-footer .jv2-prayer-back:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.jv2-prayer-footer .jv2-prayer-back-generic{color:var(--jv2-blue-dark)}
.jv2-prayer-footer .jv2-prayer-back.btn-stage-scenes{color:var(--stage-world)}
.jv2-prayer-footer .jv2-prayer-back.btn-stage-contemplatio{color:var(--stage-scripture)}
.jv2-prayer-footer .jv2-prayer-back.btn-stage-colloquy{color:var(--stage-colloquy)}

/* Continuous playback settings for the Journey prayer player. */
.journey-v2 .prayer-stage .player{
  position:relative;
}
.journey-v2 .prayer-stage .countdown-value{
  position:relative;
  z-index:2;
  display:block;
}
.journey-v2 .prayer-stage .continuous-trigger.is-active{
  background:transparent;
  color:var(--jv2-blue-dark);
}
.journey-v2 .prayer-stage .continuous-settings{
  position:absolute;
  z-index:20;
  top:calc(100% - 16px);
  right:0;
  width:min(320px,calc(100vw - 32px));
  padding:16px 17px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-control);
  background:var(--paper);
  box-shadow:var(--shadow-popover);
  text-align:left;
}
.journey-v2 .prayer-stage .continuous-settings[hidden]{
  display:none;
}
.journey-v2 .prayer-stage .continuous-settings-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
  color:var(--ink-strong);
}
.journey-v2 .prayer-stage .continuous-settings-head strong{
  font-size:0.875rem;
  font-weight:700;
}
.journey-v2 .prayer-stage .continuous-settings-close{
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted-light);
  font-size:1.25rem;
  line-height:1;
  cursor:pointer;
  width:var(--control-height);
  height:var(--control-height);
}
.journey-v2 .prayer-stage .continuous-settings-close:hover{
  background:var(--soft);
  color:var(--ink);
}
.journey-v2 .prayer-stage .continuous-setting-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:10px 0 0;
  color:var(--ink);
  font-size:0.8125rem;
}
.journey-v2 .prayer-stage .continuous-mode-row{
  padding-bottom:2px;
}
.journey-v2 .prayer-stage .continuous-settings-toggle{
  min-width:54px;
  padding:5px 11px;
  border:1px solid var(--blue-border);
  border-radius:var(--radius-pill);
  background:var(--soft);
  color:var(--muted);
  font-weight:700;
  cursor:pointer;
  min-height:var(--control-height);
  font-size:var(--label-size);
}
.journey-v2 .prayer-stage .continuous-settings-toggle[aria-pressed="true"]{
  border-color:var(--jv2-blue-dark);
  background:var(--blue-soft);
  color:var(--jv2-blue-dark);
}
.journey-v2 .prayer-stage .continuous-gap-row{
  grid-template-columns:minmax(0,1fr) auto;
}
.journey-v2 .prayer-stage .continuous-gap-row input{
  grid-column:1 / -1;
  width:100%;
  margin:2px 0 0;
  accent-color:var(--jv2-blue-dark);
  cursor:pointer;
}
.journey-v2 .prayer-stage .continuous-gap-row output{
  color:var(--muted);
  font-size:0.75rem;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.journey-v2 .prayer-stage .continuous-settings-note{
  margin:9px 0 0;
  color:var(--muted-light);
  font-size:0.75rem;
  line-height:1.35;
}
@media(max-width:640px){
  .journey-v2 .prayer-stage .continuous-settings{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:min(320px,calc(100vw - 24px));
  }
}


.journey-v2 .jv2-voice-notice{bottom:88px;z-index:120}
@media(max-width:640px){.journey-v2 .jv2-voice-notice{bottom:82px}}
@media(max-width:640px){.journey-v2 .prayer-stage .continuous-settings.player-options{top:40px;}}

/* MUI-inspired story accordions: separate elevated surfaces with a quiet summary row. */
.jv2-story-groups{
  max-width:760px;
  margin:24px auto 0;
  border-top:0;
}
.jv2-story-group{
  position:relative;
}
.jv2-story-group:last-child{margin-bottom:0}
.jv2-story-group::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:rgba(0,0,0,.08);
}
.jv2-story-group-header{
  grid-template-columns:34px minmax(0,1fr) auto 28px;
  gap:16px;
  color:rgba(0,0,0,.87);
  transition:background-color .18s ease,min-height .18s ease;
}
.jv2-story-group-header:hover{color:var(--blue-dark)}
.jv2-story-group-header:focus-visible{outline-offset:-2px}
.jv2-story-group-index{
  width:28px;
  height:28px;
  border-color:var(--jv2-blue);
  background:var(--paper);
}
.jv2-story-group-title{
  color:rgba(0,0,0,.87);
}
.jv2-story-group-toggle{
  border:0;
  background:transparent;
  color:rgba(0,0,0,.54);
  transition:background-color .18s ease,color .18s ease;
}
.jv2-story-group-toggle:hover{background:rgba(0,0,0,.05);color:rgba(0,0,0,.76)}
.jv2-story-group-toggle svg{
  width:24px;
  height:24px;
  transition:transform .2s cubic-bezier(.4,0,.2,1);
}
.jv2-story-scenes{
  gap:12px;
}
.jv2-story-group[open] .jv2-story-scenes{
  animation:jv2-accordion-details-in .18s ease-out both;
}
@keyframes jv2-accordion-details-in{
  from{opacity:0}
  to{opacity:1}
}
@media(max-width:640px){
  .jv2-story-group{margin-bottom:8px;border-radius:4px}
  .jv2-story-group-header{
    grid-template-columns:30px minmax(0,1fr) auto 28px;
    gap:10px;
  }
  .jv2-story-group-index{width:27px;height:27px}
  .jv2-story-group-title{font-size:1rem}
  .jv2-story-scenes{padding:10px 12px 14px}
}
@media(prefers-reduced-motion:reduce){
  .jv2-story-group-header,.jv2-story-group-toggle,.jv2-story-group-toggle svg{transition:none}
  .jv2-story-group[open] .jv2-story-scenes{animation:none}
}

/* Group the story sections like MUI's Accordion stack: one surface, internal dividers. */
.jv2-story-group{
  margin:0;
  overflow:visible;
}
.jv2-story-group::before{display:none}
.jv2-story-group-header{
  min-height:58px;
  padding:0 16px;
  border-radius:0;
}
.jv2-story-group[open] .jv2-story-group-header{min-height:58px}
.jv2-story-group-header:hover{background:var(--soft)}
.jv2-story-group-header:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px var(--focus-ring);
}
.jv2-story-group-title{
  font-size:1.125rem;
  line-height:1.5;
  font-weight:400;
}
.jv2-story-group-toggle{
  width:28px;
  height:28px;
}
.jv2-story-scenes{
  padding:12px 16px 16px;
  border-top:1px solid rgba(0,0,0,.12);
}
@media(max-width:640px){
  .jv2-story-group-header{
    min-height:56px;
    padding:0 12px;
  }
  .jv2-story-group[open] .jv2-story-group-header{min-height:56px}
}

/* Flat story list treatment: the reference uses separators without a card shell. */
.jv2-story-groups{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.jv2-story-group{
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:var(--paper);
  box-shadow:none;
}
.jv2-story-group:last-child{border-bottom:0}
.jv2-story-group-header{background:var(--paper)}
.jv2-story-scenes{background:var(--paper)}

/* Expanded story sections flow directly into their scene cards. */
.jv2-story-group[open] .jv2-story-scenes{border-top:0}

/* Keep the settings panel above the fixed prayer action bar. */
.journey-v2 .prayer-stage .continuous-settings.player-options{
  position:fixed;
  top:auto;
  right:max(16px,calc((100vw - 920px)/2 + 24px));
  bottom:calc(84px + env(safe-area-inset-bottom));
  z-index:50;
  max-height:calc(100vh - 108px);
  max-height:calc(100dvh - 108px);
  overflow-y:auto;
  overscroll-behavior:contain;
}
@media(max-width:640px){
  .journey-v2 .prayer-stage .continuous-settings.player-options{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    bottom:calc(84px + env(safe-area-inset-bottom));
    max-height:calc(100vh - 108px);
    max-height:calc(100dvh - 108px);
  }
}

/* Light, clearly draggable timing range. */
.prayer-stage .player-options .player-option-detail input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:6px;
  min-height:6px;
  padding:0;
  border:0;
  border-radius:var(--radius-pill);
  background:linear-gradient(90deg,var(--blue) 0%,var(--blue) var(--range-progress,0%),var(--line) var(--range-progress,0%),var(--line) 100%);
  box-shadow:none;
  outline:none;
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-webkit-slider-runnable-track{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:transparent;
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;
  height:18px;
  margin-top:-6px;
  border:0;
  border-radius:50%;
  background:var(--blue);
  box-shadow:var(--shadow-popover);
  cursor:grab;
}
.prayer-stage .player-options .player-option-detail input[type="range"]:active::-webkit-slider-thumb{cursor:grabbing}
.prayer-stage .player-options .player-option-detail input[type="range"]::-moz-range-track{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--line);
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-moz-range-progress{
  height:6px;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--blue);
}
.prayer-stage .player-options .player-option-detail input[type="range"]::-moz-range-thumb{
  width:18px;
  height:18px;
  border:0;
  border-radius:50%;
  background:var(--blue);
  box-shadow:var(--shadow-popover);
  cursor:grab;
}
.prayer-stage .player-options .player-option-detail input[type="range"]:active::-moz-range-thumb{cursor:grabbing}
.prayer-stage .player-options .player-option-detail input[type="range"]:focus-visible{
  outline:var(--focus-outline);
  outline-offset:3px;
}

/* Voice dictation state: make the listening mode unmistakable without adding audio. */
.voice-note-listening{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 18px;
  padding:12px 14px;
  border-radius:var(--radius-control);
  background:var(--purple-soft);
  color:var(--purple-ink);
}
.voice-note-listening>span:last-child{
  display:grid;
  gap:2px;
}
.voice-note-listening strong{font-size:0.9375rem;line-height:1.3}
.voice-note-listening small{font-size:0.8125rem;color:var(--muted);line-height:1.35}
.voice-note-listening-mic,
.jv2-voice-note-mic{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--purple-soft);
  color:var(--purple-ink);
  animation:voice-note-pulse 1.8s ease-in-out infinite;
}
.voice-note-listening-mic svg,
.jv2-voice-note-mic svg{width:20px;height:20px}
.jv2-voice-note-modal{width:min(100%,560px)}
.jv2-voice-note-status{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  color:var(--purple-ink);
}
.jv2-voice-note-status strong{font-size:1.125rem;font-weight:600}
.jv2-voice-note-help{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.45;
}
.jv2-voice-note-field{min-height:150px}
@keyframes voice-note-pulse{
  0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--purple) 20%,transparent)}
  50%{box-shadow:0 0 0 7px transparent}
}
@media(prefers-reduced-motion:reduce){
  .voice-note-listening-mic,.jv2-voice-note-mic{animation:none}
}


/* Brief guidance for hands-free voice controls. */
.prayer-stage .player-options .player-voice-help{
  margin:0 2px 9px 40px;
  color:var(--muted-light);
  font-size:0.75rem;
  line-height:1.4;
}

/* Gospel adventure path: artwork-first stepping-stone cards. */
.journey-v2 .jv2-story-groups{
  max-width:760px;
  margin:24px auto 0;
  padding:0 4px 34px;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.journey-v2 .jv2-story-group{
  --jv2-path-accent:var(--muted);
  --jv2-path-soft:var(--soft);
  --jv2-path-shadow:var(--line);
  position:relative;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.journey-v2 .jv2-story-group::before{display:none}
.journey-v2 .jv2-story-group-header{
  list-style:none;
}
.journey-v2 .jv2-story-group-header:hover{
  color:var(--jv2-ink);
}
.journey-v2 .jv2-story-group-header:focus-visible{
  outline:0;
  box-shadow:none;
}
.journey-v2 .jv2-story-divider-line{
  flex:1 1 120px;
  height:2px;
  min-width:24px;
  border-radius:var(--radius-pill);
  background:linear-gradient(90deg,transparent,var(--jv2-path-shadow) 35%,var(--jv2-path-shadow) 65%,transparent);
}
.journey-v2 .jv2-story-group-index{
  flex:0 0 34px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:var(--jv2-path-soft);
  color:var(--jv2-path-accent);
  font-size:0.75rem;
}
.journey-v2 .jv2-story-group-heading{
  flex:0 1 auto;
  min-width:0;
  text-align:center;
}
.journey-v2 .jv2-story-group-toggle{display:none}
.journey-v2 .jv2-story-scene-wrap{
  position:relative;
  width:100%;
  overflow:visible;
}
.journey-v2 .jv2-story-route{
  position:absolute;
  top:0;
  right:0;
  bottom:26px;
  left:0;
  z-index:0;
  pointer-events:none;
  opacity:.92;
}
.journey-v2 .jv2-story-route svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.journey-v2 .jv2-story-route path{
  fill:none;
  stroke:var(--jv2-path-shadow);
  stroke-width:2;
  stroke-dasharray:1 5;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
}
.journey-v2 .jv2-story-scenes{
  position:relative;
  z-index:1;
  display:block;
  margin:0;
  padding:8px 0 26px;
  list-style:none;
  border:0;
  background:transparent;
}
.journey-v2 .jv2-story-scenes::before{display:none}
.journey-v2 .jv2-story-stop{
  --jv2-story-path-x:50%;
  position:relative;
  display:block;
  width:100%;
  height:264px;
  min-height:264px;
  padding:0;
}
.journey-v2 .jv2-story-stop:nth-child(6n+1){--jv2-story-path-x:32%}
.journey-v2 .jv2-story-stop:nth-child(6n+2){--jv2-story-path-x:44%}
.journey-v2 .jv2-story-stop:nth-child(6n+3){--jv2-story-path-x:59%}
.journey-v2 .jv2-story-stop:nth-child(6n+4){--jv2-story-path-x:68%}
.journey-v2 .jv2-story-stop:nth-child(6n+5){--jv2-story-path-x:58%}
.journey-v2 .jv2-story-stop:nth-child(6n){--jv2-story-path-x:42%}
.journey-v2 .jv2-story-path-node{
  display:none;
}
.journey-v2 .jv2-story-row{
  --jv2-story-art-height:106px;
  position:absolute;
  top:50%;
  left:var(--jv2-story-path-x);
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  width:218px;
  max-width:calc(100% - 24px);
  min-height:194px;
  margin:0;
  padding:0 0 10px;
  border:2px solid var(--blue-border);
  border-radius:var(--radius-card);
  background:var(--paper);
  box-shadow:none;
  color:var(--ink-strong);
  text-align:left;
  cursor:pointer;
  overflow:hidden;
  transform:translate(-50%,-50%);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.journey-v2 .jv2-story-row:hover{
  border-color:var(--blue-border);
  background:var(--paper);
  box-shadow:none;
  transform:translate(-50%,calc(-50% - 3px));
}
.journey-v2 .jv2-story-row:focus-visible{
  outline:var(--focus-outline);
  outline-offset:3px;
}
.journey-v2 .jv2-story-row.selected{
  border-color:var(--blue);
  background:var(--blue-soft);
  box-shadow:none;
}
.journey-v2 .jv2-story-row-artwork{
  flex:0 0 var(--jv2-story-art-height);
  width:100%;
  height:var(--jv2-story-art-height);
  overflow:hidden;
  border-radius:20px 20px 12px 12px;
  background:#eaf4f8;
  box-shadow:none;
}
.journey-v2 .jv2-story-row-artwork img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.journey-v2 .jv2-story-row-artwork-placeholder{
  background:
    radial-gradient(circle at 72% 26%,rgba(255,255,255,.86) 0 5%,transparent 5.5%),
    linear-gradient(135deg,var(--jv2-path-soft),var(--paper) 60%,rgba(255,255,255,.55));
}
.journey-v2 .jv2-story-row-artwork-placeholder::after{
  content:"✦";
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:var(--jv2-path-accent);
  font-size:25px;
  opacity:.5;
}
.journey-v2 .jv2-story-row-copy{
  display:block;
  width:100%;
  min-width:0;
  padding:15px 13px 0;
  overflow:visible;
}
.journey-v2 .jv2-story-row-title{
  display:block;
  color:var(--ink-strong);
  line-height:1.15;
  font-size:1.125rem;
  font-weight:600;
}
.journey-v2 .jv2-story-row-reference{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:0.75rem;
  line-height:1.2;
  font-weight:600;
}
.journey-v2 .jv2-story-row-place{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:3px;
  margin-top:4px;
  color:var(--muted);
  font-size:0.75rem;
  line-height:1.2;
}
.journey-v2 .jv2-story-place-icon{
  flex:0 0 14px;
  width:14px;
  height:14px;
  margin-top:-1px;
}
.journey-v2 .jv2-story-row-selected{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin:0 0 7px;
  padding:3px 8px;
  border:1px solid var(--blue-border);
  border-radius:var(--radius-pill);
  background:var(--blue-soft);
  color:var(--blue-dark);
  font-size:0.75rem;
  line-height:1.1;
  font-weight:700;
  letter-spacing:.02em;
}
.journey-v2 .jv2-story-row-selected::before{
  content:"✓";
  font-size:11px;
  line-height:1;
  font-weight:700;
}
.journey-v2 .jv2-story-row .jv2-scene-status{
  position:absolute;
  top:var(--jv2-story-art-height);
  left:50%;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:max-content;
  max-width:calc(100% - 24px);
  margin:0;
  padding:4px 10px;
  border:1px solid var(--green-border);
  border-radius:var(--radius-pill);
  background:var(--green-soft);
  color:var(--green-ink);
  box-shadow:none;
  font-size:0.75rem;
  line-height:1.1;
  letter-spacing:.02em;
  white-space:nowrap;
  transform:translate(-50%,-50%);
}
.journey-v2 .jv2-story-row .jv2-scene-status-symbol{
  font-size:0.75rem;
  line-height:1;
}
.journey-v2 .jv2-story-row .jv2-scene-status-completed{
  border-color:var(--green-border);
  background:var(--green-soft);
  color:var(--green-ink);
}
.journey-v2 .jv2-story-row .jv2-scene-status-available{
  border-color:var(--blue-border);
  background:var(--blue-soft);
  color:var(--blue-dark);
}
.journey-v2 .jv2-story-row .jv2-scene-status-locked{
  border-color:var(--line);
  background:var(--soft);
  color:var(--muted-light);
}
.journey-v2 .jv2-story-row .jv2-scene-unlock-hint{
  display:block;
  margin-top:5px;
  color:var(--muted-light);
  font-size:0.75rem;
  line-height:1.25;
}
.journey-v2 .jv2-story-groups .jv2-story-row.is-completed{
  border-color:var(--blue-border);
  background:var(--paper);
}
.journey-v2 .jv2-story-groups .jv2-story-row.is-locked{
  opacity:.62;
  filter:saturate(.42);
  background:var(--soft);
  box-shadow:none;
}
.journey-v2 .jv2-story-groups .jv2-story-row[data-progress-track="required"][data-progress-status="available"]{
  border-color:var(--purple-border);
  background:var(--paper);
  box-shadow:none;
}
.journey-v2 .jv2-story-groups .jv2-story-row[data-progress-track="optional"][data-progress-status="available"]{
  border-color:var(--blue-border);
  background:var(--paper);
}
@media(prefers-reduced-motion:reduce){
  .journey-v2 .jv2-story-row{
    transition:none;
  }
}
@media(max-width:720px){
  .journey-v2 .jv2-story-groups{
    padding-left:0;
    padding-right:0;
  }
  .journey-v2 .jv2-story-group-header{
    gap:6px;
    padding-top:20px;
    padding-bottom:12px;
  }
  .journey-v2 .jv2-story-divider-line{min-width:8px}
  .journey-v2 .jv2-story-group-index{
    flex-basis:29px;
    width:29px;
    height:29px;
    font-size:0.75rem;
  }
  .journey-v2 .jv2-story-route{
    bottom:22px;
  }
  .journey-v2 .jv2-story-scenes{
    padding-top:6px;
    padding-bottom:22px;
  }
  .journey-v2 .jv2-story-stop{
    height:264px;
    min-height:264px;
  }
  .journey-v2 .jv2-story-row{
    --jv2-story-art-height:78px;
    width:calc(50% - 14px);
    max-width:calc(50% - 14px);
    min-height:176px;
    padding:0 0 8px;
    border-radius:var(--radius-card);
  }
  .journey-v2 .jv2-story-row-artwork{
    border-radius:17px 17px 11px 11px;
  }
  .journey-v2 .jv2-story-row-copy{
    padding:13px 9px 0;
  }
  .journey-v2 .jv2-story-row-title{font-size:var(--body-size)}
  .journey-v2 .jv2-story-row-reference{font-size:0.75rem}
  .journey-v2 .jv2-story-row-place{font-size:0.75rem}
  .journey-v2 .jv2-story-place-icon{
    flex-basis:12px;
    width:12px;
    height:12px;
  }
  .journey-v2 .jv2-story-row .jv2-scene-status{
    top:var(--jv2-story-art-height);
    max-width:calc(100% - 14px);
    padding:3px 7px;
    font-size:0.75rem;
  }
  .journey-v2 .jv2-story-row .jv2-scene-status-symbol{font-size:0.75rem}
  .journey-v2 .jv2-story-row .jv2-scene-unlock-hint{
    font-size:0.75rem;
  }
}


/* Optional imagination warm-up and its responsive prayer-player progress strip. */
.journey-v2{
  --jv2-warmup:var(--purple);
  --jv2-warmup-soft:var(--purple-soft);
  --jv2-warmup-border:var(--purple-border);
}
.journey-v2 .jv2-warmup-options{
  display:grid;
  margin:0;
  padding:0;
  list-style:none;
}
.journey-v2 .jv2-warmup-options li{margin:0}
.journey-v2 .jv2-warmup-option{
  position:relative;
  display:grid;
  width:100%;
  box-sizing:border-box;
  margin:0;
  color:var(--ink);
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.journey-v2 .jv2-warmup-option:hover,
.journey-v2 .jv2-warmup-option:focus-visible{
  border-color:var(--purple-border);
  background:var(--purple-soft);
  box-shadow:0 0 0 3px var(--focus-ring);
  outline:var(--focus-outline);
  transform:translateY(-1px);
}
.journey-v2 .jv2-warmup-option-art{
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,var(--purple-soft),var(--purple-soft));
  color:var(--purple-ink);
}
.journey-v2 .jv2-warmup-option-art.has-image{
  background:var(--gold-border);
}
.journey-v2 .jv2-warmup-option-art.has-image::before{
  display:none;
}
.journey-v2 .jv2-warmup-option-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.journey-v2 .jv2-warmup-option-art.has-image > span{
  right:5px;
  bottom:5px;
  left:5px;
  padding:4px 3px 3px;
  border-radius:var(--radius-pill);
  background:rgba(255,253,248,.88);
  color:var(--ink);
  font-size:0.75rem;
  box-shadow:none;
}
.journey-v2 .jv2-warmup-option-art::before{
  content:attr(data-symbol);
  display:block;
  font-size:38px;
  font-weight:700;
  line-height:1;
  opacity:.72;
}
.journey-v2 .jv2-warmup-option-art::after{
  content:"";
  position:absolute;
  top:7px;
  right:7px;
  display:none;
  width:21px;
  height:21px;
  place-items:center;
  border-radius:50%;
  background:var(--paper);
  color:var(--jv2-warmup);
  font-size:14px;
  font-weight:700;
  line-height:1;
  padding:1px 0 0 1px;
  box-shadow:none;
}
.journey-v2 .jv2-warmup-option.is-selected .jv2-warmup-option-art::after{
  content:"✓";
  display:grid;
}
.journey-v2 .jv2-warmup-option-art > span{
  position:absolute;
  right:7px;
  bottom:6px;
  left:7px;
  color:inherit;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1;
  text-align:center;
  text-transform:uppercase;
}
.journey-v2 .jv2-warmup-art-none{
  background:linear-gradient(145deg,var(--soft),var(--line));
  color:var(--muted);
}
.journey-v2 .jv2-warmup-art-mustard-seed{
  background:linear-gradient(145deg,#faf4d9,#f0e3ae);
  color:#9b7d00;
}
.journey-v2 .jv2-warmup-art-lost-sheep{
  background:linear-gradient(145deg,#edf8f1,#d7eedf);
  color:#3f8c5c;
}
.journey-v2 .jv2-warmup-art-narrow-gate{
  background:linear-gradient(145deg,#e8f3fa,#d1e8f5);
  color:#3177a5;
}
.journey-v2 .jv2-warmup-art-pearl{
  background:linear-gradient(145deg,#f5effb,#e3d8f4);
  color:#7451a3;
}
.journey-v2 .jv2-warmup-option-content{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
}
.journey-v2 .jv2-warmup-option-number{
  display:grid;
  width:31px;
  height:31px;
  place-items:center;
  border-radius:50%;
  background:var(--purple-soft);
  color:var(--purple-ink);
  font-size:0.8125rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.journey-v2 .jv2-warmup-option-title{
  display:block;
  margin-top:7px;
  color:var(--ink-strong);
  line-height:1.25;
  font-size:var(--body-size);
  font-weight:600;
}
.journey-v2 .jv2-warmup-option-copy{
  display:block;
  margin-top:5px;
  color:var(--muted);
  line-height:1.45;
  font-size:var(--label-size);
}
.journey-v2 .jv2-warmup-option-reference{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:0.8125rem;
  line-height:1.3;
  font-weight:600;
}
/* Keep every prayer section and its remaining time visible on all screen sizes. */
.journey-v2 .jv2-stage-strip{
  width:min(100%,760px);
  margin:18px auto 24px;
}
.journey-v2 .jv2-stage-track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(var(--jv2-stage-count),minmax(0,1fr));
  gap:6px;
  max-width:none;
  height:auto;
  margin:0;
  overflow:visible;
  border-radius:0;
  background:transparent;
}
.journey-v2 .jv2-stage-track::before{
  content:"";
  position:absolute;
  top:15px;
  right:8%;
  left:8%;
  height:2px;
  background:var(--line);
}
.journey-v2 .jv2-stage-step{
  position:relative;
  z-index:1;
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:7px;
  padding:0 4px;
  border:0;
  background:transparent;
  color:var(--muted-light);
  font:inherit;
  cursor:pointer;
}
.journey-v2 .jv2-stage-step:focus-visible{
  outline:2px solid var(--jv2-blue,var(--blue));
  outline-offset:4px;
  border-radius:8px;
}
.journey-v2 .jv2-stage-dot{
  display:block;
  width:30px;
  height:30px;
  border:2px solid var(--jv2-stage-color,currentColor);
  border-radius:50%;
  background:var(--paper);
  box-shadow:none;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.journey-v2 .jv2-stage-step:hover .jv2-stage-dot{
  transform:translateY(-1px);
  box-shadow:none;
}
.journey-v2 .jv2-stage-step-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:2px;
}
.journey-v2 .jv2-stage-step-label{
  max-width:100%;
  color:currentColor;
  font-size:var(--label-size);
  font-weight:700;
  line-height:1.2;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
}
.journey-v2 .jv2-stage-label-compact{display:none}
.journey-v2 .jv2-stage-step-time{
  color:var(--muted-light);
  font-size:0.75rem;
  font-variant-numeric:tabular-nums;
}
.journey-v2 .jv2-stage-step.is-active .jv2-stage-dot{
  border-color:var(--jv2-stage-color,currentColor);
  background:var(--jv2-stage-color,currentColor);
  box-shadow:none;
  transform:scale(1.08);
}
.journey-v2 .jv2-stage-step.is-active .jv2-stage-step-label{
  color:var(--jv2-stage-ink,currentColor);
}
.journey-v2 .jv2-stage-step-warmup{
  --jv2-stage-color:var(--stage-warmup);
  --jv2-stage-ink:var(--stage-warmup-ink);
  color:var(--stage-warmup-ink);
}
.journey-v2 .jv2-stage-step-scenes{
  --jv2-stage-color:var(--stage-world);
  --jv2-stage-ink:var(--stage-world-ink);
  color:var(--stage-world-ink);
}
.journey-v2 .jv2-stage-step-contemplatio{
  --jv2-stage-color:var(--stage-scripture);
  --jv2-stage-ink:var(--stage-scripture-ink);
  color:var(--stage-scripture-ink);
}
.journey-v2 .jv2-stage-step-colloquy{
  --jv2-stage-color:var(--stage-colloquy);
  --jv2-stage-ink:var(--stage-colloquy-ink);
  color:var(--stage-colloquy-ink);
}
.journey-v2 .jv2-stage-current{
  display:none;
}
@media(max-width:420px){
  .journey-v2 .jv2-stage-label-full{display:none}
  .journey-v2 .jv2-stage-label-compact{display:inline}
}
.journey-v2 .fab{
  display:grid;
  place-items:center;
}
.journey-v2 .fab .player-icon{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.jv2-prayer-footer .jv2-stage-nav.btn-stage-warmup{
  background:var(--purple-soft);
  background:color-mix(in srgb,var(--stage-warmup-ink) 14%,var(--paper));
  color:var(--stage-warmup-ink);
}
.jv2-prayer-footer .jv2-prayer-back.btn-stage-warmup{
  color:var(--stage-warmup-ink);
}

@media(max-width:640px){
  .journey-v2 .jv2-warmup-choice{
    margin-top:24px;
    padding:17px 15px 16px;
  }
  .journey-v2 .jv2-warmup-choice h2{
    font-size:1.125rem;
  }
  .journey-v2 .jv2-warmup-choice-copy p:last-child{
    font-size:0.875rem;
  }
  .journey-v2 .jv2-stage-strip{
    width:100%;
    margin:14px auto 22px;
  }
  .journey-v2 .jv2-stage-track{
    gap:0;
    align-items:stretch;
  }
  .journey-v2 .jv2-stage-track::before{
    display:none;
  }
  .journey-v2 .jv2-stage-step{
    display:flex;
    min-height:48px;
    gap:2px;
    justify-content:center;
    padding:4px 6px;
    border-left:1px solid var(--line);
  }
  .journey-v2 .jv2-stage-step:first-child{
    border-left:0;
  }
  .journey-v2 .jv2-stage-dot{
    display:none;
  }
  .journey-v2 .jv2-stage-step-copy{
    display:flex;
    width:100%;
    gap:3px;
  }
  .journey-v2 .jv2-stage-step-label{
    display:block;
    overflow:visible;
    color:currentColor;
    font-size:var(--label-size);
    font-weight:700;
    line-height:1.15;
    text-overflow:clip;
    white-space:normal;
  }
  .journey-v2 .jv2-stage-step-time{
    color:var(--ink);
    font-size:0.75rem;
    font-weight:700;
    line-height:1.15;
  }
  .journey-v2 .jv2-stage-step.is-active .jv2-stage-step-label,
  .journey-v2 .jv2-stage-step.is-active .jv2-stage-step-time{
    font-weight:700;
  }
  .journey-v2 .jv2-stage-current{
    display:none;
  }
  .jv2-prayer-footer .jv2-stage-nav{
    padding-left:12px;
    padding-right:12px;
    font-size:0.8125rem;
  }
  .jv2-prayer-footer .jv2-prayer-back{
    padding-left:4px;
    padding-right:4px;
    font-size:0.8125rem;
  }
}


/* Dedicated pre-prayer warm-up page. */
.journey-v2 .jv2-warmup-screen{
  padding-top:18px;
}
.journey-v2 .jv2-warmup-heading{
  box-sizing:border-box;
  margin:0 auto;
}
.journey-v2 .jv2-warmup-heading .jv2-title{
  margin:0;
}
.journey-v2 .jv2-warmup-heading .jv2-warmup-info-button{
  color:var(--jv2-warmup);
}
.journey-v2 .jv2-warmup-info-button:hover,
.journey-v2 .jv2-warmup-info-button[aria-expanded='true']{
  background:var(--jv2-warmup-soft);
  color:var(--stage-warmup);
}
.jv2-warmup-info-popover{
  --jv2-info-accent:var(--stage-warmup);
  --jv2-info-border:var(--purple-border);
  background:var(--purple-soft);
}
@media(max-width:640px){
  .journey-v2 .jv2-warmup-screen{
    padding-top:8px;
  }
  .journey-v2 .jv2-warmup-option-art::before{
    font-size:32px;
  }
  .journey-v2 .jv2-warmup-option-number{
    width:28px;
    height:28px;
    font-size:0.75rem;
  }
}






/* Step 2 warm-up choices: narrower cards with a centered scene heading. */
.journey-v2 .jv2-warmup-screen{
  max-width:900px;
}
.journey-v2 .jv2-warmup-screen > .jv2-kicker{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}
.journey-v2 .jv2-warmup-heading{
  max-width:620px;
}
.journey-v2 .jv2-warmup-list{
  max-width:720px;
  margin:38px auto 12px;
}
.journey-v2 .jv2-warmup-options{
  gap:12px;
}
.journey-v2 .jv2-warmup-option{
  grid-template-columns:82px minmax(0,1fr);
  align-items:start;
  gap:13px;
  min-height:112px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  background:var(--paper);
  box-shadow:none;
}
.journey-v2 .jv2-warmup-option:hover{
  box-shadow:none;
  transform:translateY(-1px);
  border-color:var(--blue-border);
  background:var(--soft);
}
.journey-v2 .jv2-warmup-option:focus-visible{
  border-color:var(--jv2-warmup);
  background:var(--paper);
  outline:var(--focus-outline);
  outline-offset:3px;
  box-shadow:none;
}
.journey-v2 .jv2-warmup-option.is-selected{
  border-color:var(--blue);
  background:var(--blue-soft);
  box-shadow:none;
}
.journey-v2 .jv2-warmup-option-art{
  width:82px;
  height:82px;
  border-radius:var(--radius-card);
}
@media(max-width:640px){
  .journey-v2 .jv2-warmup-screen{
    max-width:900px;
  }
  .journey-v2 .jv2-warmup-list{
    margin-top:30px;
  }
  .journey-v2 .jv2-warmup-option{
    grid-template-columns:70px minmax(0,1fr);
    gap:12px;
    min-height:0;
    padding:10px;
    border-radius:var(--radius-card);
  }
  .journey-v2 .jv2-warmup-option-art{
    width:70px;
    height:70px;
    border-radius:var(--radius-card);
  }
  .journey-v2 .jv2-warmup-option-title{
    margin-top:4px;
    font-size:1rem;
  }
  .journey-v2 .jv2-warmup-option-copy{
    margin-top:4px;
    font-size:0.875rem;
    line-height:1.35;
  }
  .journey-v2 .jv2-warmup-option-reference{
    margin-top:4px;
    font-size:0.78125rem;
  }
}
@media(max-width:410px){
  .journey-v2 .jv2-warmup-option{
    grid-template-columns:64px minmax(0,1fr);
    gap:10px;
  }
  .journey-v2 .jv2-warmup-option-art{
    width:64px;
    height:64px;
  }
}


/* Make the fixed warm-up stage feel intentional rather than like a missing slider. */
.journey-v2 .jv2-duration-warmup-fixed{
  display:block;
  box-sizing:border-box;
  margin:32px 4px 28px;
  padding:13px 15px;
  border:1px solid var(--purple-border);
  border-radius:var(--radius-control);
  background:var(--purple-soft);
  box-shadow:none;
}
.journey-v2 .jv2-duration-warmup-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.journey-v2 .jv2-duration-warmup-title{
  display:inline-flex;
  min-width:0;
  align-items:center;
  gap:8px;
  color:var(--purple);
  font-size:1rem;
  line-height:1.25;
  flex:1 1 auto;
}
.journey-v2 .jv2-duration-warmup-title strong{
  font-weight:700;
}
.journey-v2 .jv2-duration-warmup-status{
  flex:0 0 auto;
  padding:5px 0;
  border-radius:0;
  background:transparent;
  color:var(--purple-ink);
  font-size:0.8125rem;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  margin-left:auto;
}
@media(max-width:640px){
  .journey-v2 .jv2-duration-warmup-fixed{
    margin:24px 0 24px;
    padding:12px;
  }
  .journey-v2 .jv2-duration-warmup-head{
    gap:10px;
  }
  .journey-v2 .jv2-duration-warmup-title{
    font-size:0.9375rem;
  }
  .journey-v2 .jv2-duration-warmup-status{
    padding:4px 0;
    font-size:0.75rem;
  }
}


/* Workbook-backed nested headings keep scenes within their story subsection. */
.jv2-story-subsections{display:flex;flex-direction:column;gap:20px}
.jv2-story-subsection{min-width:0}
.jv2-story-subsection-title{margin:0;padding:12px 16px 8px;color:var(--ink);font-size:1rem;font-weight:700;line-height:1.35}
.jv2-story-subsection-scenes{margin-top:0}

/* Distinguish the three narrative stage markers from geographic places. */
.journey-v2 .jv2-map-legend{
  position:absolute;left:10px;top:10px;right:auto;bottom:auto;z-index:2;
  display:flex;flex-wrap:wrap;gap:7px 12px;max-width:calc(100% - 24px);
  padding:6px 9px;border:1px solid rgba(120,132,128,.2);border-radius:var(--radius-control);
  background:rgba(255,255,255,.88);color:var(--ink);font-size:0.75rem;line-height:1.25;
  box-shadow:none;
}
.journey-v2 .jv2-map-legend>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.journey-v2 .jv2-map-legend-place{
  display:inline-block;width:9px;height:9px;border-radius:50%;
  background:#53717d;border:1px solid var(--paper);box-shadow:none;
}
.journey-v2 .jv2-map-legend-stage{
  display:inline-block;width:10px;height:10px;transform:rotate(45deg);
  background:var(--gold);border:1px solid var(--gold-ink);
}
.journey-v2 .jv2-map .jv2-stage-marker-shape{fill:var(--gold);stroke:var(--gold-ink);stroke-width:2.4;filter:drop-shadow(0 1px 1px rgba(255,255,255,.95))}
.journey-v2 .jv2-map .jv2-stage-marker-glyph{fill:none;stroke:var(--gold-ink);stroke-width:2.3;stroke-linecap:round;pointer-events:none}
.journey-v2 .jv2-map .jv2-narrative-stage.selected .jv2-stage-marker-shape{fill:var(--gold);stroke-width:3.2}
.journey-v2 .jv2-map .jv2-narrative-stage .place-label{font-weight:700}
.journey-v2 .jv2-map-wrap[data-map-art] .jv2-map-legend{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
@media(max-width:480px){
  .journey-v2 .jv2-map-legend{left:6px;top:6px;gap:5px 9px;padding:5px 7px;font-size:0.75rem}
}


/* A quiet, two-level locator follows the reader down the Gospel story. */
.journey-v2 .jv2-story-location-index{
  display:grid;
  flex:0 0 26px;
  place-items:center;
  border:1px solid var(--gold-border);
  border-radius:50%;
  background:var(--paper);
  color:var(--gold-ink);
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.journey-v2 .jv2-story-location-dot{
  flex:0 0 4px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--gold);
}
.journey-v2 .jv2-story-subsections{
  display:block;
}
.journey-v2 .jv2-story-subsection{
  min-width:0;
}
.journey-v2 .jv2-story-group .jv2-story-subsection-scenes{
  padding-top:0;
  padding-bottom:0;
}
.journey-v2 .jv2-story-group .jv2-story-subsection:first-child .jv2-story-subsection-scenes{
  padding-top:6px;
}
.journey-v2 .jv2-story-group .jv2-story-subsection:last-child .jv2-story-subsection-scenes{
  padding-bottom:22px;
}
@media(max-width:720px){
  .journey-v2 .jv2-story-subsection-index{flex-basis:18px;width:18px;height:18px;font-size:0.75rem}
  .journey-v2 .jv2-story-subsection-title{letter-spacing:.05em}
}
.journey-v2 .jv2-story-groups .jv2-story-group .jv2-story-route svg path.jv2-story-route-segment{
  fill:none;
  stroke:var(--gold-border);
  stroke-width:1.35;
  stroke-dasharray:1 5;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  opacity:.92;
}


/* Editorial wayfinding for the winding Gospel path. */
.journey-v2 .jv2-story-location-track{
  display:grid;
  flex:0 0 24px;
  grid-template-rows:22px 6px 16px;
  justify-items:center;
  align-items:center;
  width:24px;
}
.journey-v2 .jv2-story-location-index,
.journey-v2 .jv2-story-location-subsection-index{
  display:grid;
  place-items:center;
  border:1px solid var(--gold-border);
  border-radius:50%;
  background:var(--paper);
  color:var(--gold-ink);
  font-variant-numeric:tabular-nums;
  line-height:1;
}
.journey-v2 .jv2-story-location-index{
  width:22px;
  height:22px;
  font-size:0.75rem;
  font-weight:700;
}
.journey-v2 .jv2-story-location-subsection-index{
  width:16px;
  height:16px;
  border-color:var(--gold-border);
  color:var(--gold-ink);
  font-size:0.75rem;
  font-weight:700;
}
.journey-v2 .jv2-story-location-track-line{
  width:1px;
  height:6px;
  background:var(--gold-border);
}
.journey-v2 .jv2-story-location-copy{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-width:0;
  gap:3px;
}
.journey-v2 .jv2-story-group.is-current .jv2-story-group-index{
  border-color:var(--gold);
  background:var(--gold-soft);
  color:var(--gold-ink);
}
.journey-v2 .jv2-story-subsection-heading{
  display:flex;
  align-items:center;
  width:100%;
  max-width:520px;
  box-sizing:border-box;
  margin:0 auto;
}
.journey-v2 .jv2-story-subsection-index{
  display:grid;
  flex:0 0 19px;
  width:19px;
  height:19px;
  place-items:center;
  border:1px solid var(--gold-border);
  border-radius:50%;
  background:var(--gold-soft);
  color:var(--gold-ink);
  font-size:0.75rem;
  font-weight:700;
  line-height:1;
  font-variant-numeric:tabular-nums;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.journey-v2 .jv2-story-subsection-title{
  flex:0 1 auto;
  min-width:0;
  max-width:70%;
  margin:0;
  padding:0;
  line-height:1.35;
}
.journey-v2 .jv2-story-subsection.is-current .jv2-story-subsection-index{
  border-color:var(--gold);
  background:var(--gold-soft);
  color:var(--gold-ink);
}
.journey-v2 .jv2-story-subsection.is-current .jv2-story-subsection-title{
  color:var(--ink);
}
@media(max-width:720px){
  .journey-v2 .jv2-story-location{
    gap:10px;
  }
}
@media(max-width:390px){
  .journey-v2 .jv2-story-location{
    padding:6px 10px;
  }
}

/* Typographic title pages mark each new Gospel chapter. */
.journey-v2 .jv2-story-group-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  min-height:0;
  gap:0;
  padding:55px 14px 30px;
  border:0;
  background:radial-gradient(ellipse at 50% 56%,rgba(202,171,108,.10) 0%,rgba(202,171,108,0) 66%);
  color:var(--ink-strong);
  text-align:center;
  cursor:default;
}
.journey-v2 .jv2-story-group-header:hover{background:radial-gradient(ellipse at 50% 56%,rgba(202,171,108,.10) 0%,rgba(202,171,108,0) 66%)}
.journey-v2 .jv2-story-group-overline{
  display:block;
  margin:0 0 9px;
  font-family:var(--font-ui);
  font-weight:700;
  line-height:1.2;
  text-transform:uppercase;
  font-size:var(--eyebrow-size);
  color:var(--gold-ink);
  letter-spacing:.1em;
}
.journey-v2 .jv2-story-group-title{
  display:block;
  max-width:100%;
  margin:0;
  color:var(--ink-strong);
  font-family:var(--font-ui);
  font-size:clamp(24px,3.5vw,32px);
  line-height:1.16;
  text-align:center;
  text-wrap:balance;
  white-space:normal;
  text-transform:none;
  letter-spacing:-.018em;
  font-weight:600;
}
.journey-v2 .jv2-story-group-rule{
  display:block;
  flex:none;
  width:42px;
  height:2px;
  margin:15px auto 0;
  border-radius:2px;
  background:var(--gold);
}
.journey-v2 .jv2-story-group.is-current .jv2-story-group-title{color:var(--ink-strong)}
.journey-v2 .jv2-story-location{
  position:fixed;
  top:56px;
  left:50%;
  z-index:24;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  box-sizing:border-box;
  width:calc(100% - 24px);
  max-width:580px;
  min-height:82px;
  margin:0;
  padding:8px 16px 9px;
  border:1px solid rgba(184,154,98,.24);
  border-top:2px solid var(--gold);
  border-radius:0 0 13px 13px;
  background:rgba(255,253,248,.97);
  box-shadow:none;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  text-align:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%,-7px);
  transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;
}
.journey-v2 .jv2-story-location.is-visible{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
  transition:opacity .18s ease,transform .18s ease;
}
.journey-v2 .jv2-story-location-kicker{
  display:block;
  max-width:100%;
  overflow:hidden;
  color:var(--gold-ink);
  font-family:var(--font-ui);
  font-size:0.75rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.18em;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.journey-v2 .jv2-story-location-section{
  display:block;
  max-width:100%;
  overflow:hidden;
  color:var(--ink-strong);
  font-family:var(--font-ui);
  font-size:1rem;
  font-weight:700;
  line-height:1.16;
  letter-spacing:.085em;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.journey-v2 .jv2-story-location-subsection{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  max-width:100%;
  gap:7px;
  color:var(--muted);
  font-family:var(--font-ui);
  font-size:0.75rem;
  font-style:italic;
  font-weight:500;
  line-height:1.2;
}
.journey-v2 .jv2-story-location-subsection-rule{
  flex:0 0 14px;
  width:14px;
  height:1px;
  background:var(--gold);
}
.journey-v2 .jv2-story-location-subsection>span:last-child{
  display:block;
  max-width:min(70vw,500px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.journey-v2 .jv2-story-subsection-heading{
  justify-content:flex-start;
  gap:9px;
  padding:12px 18px 7px;
}
.journey-v2 .jv2-story-subsection-title{
  color:var(--muted);
  font-family:var(--font-ui);
  font-weight:500;
  letter-spacing:.015em;
  text-align:left;
  text-transform:none;
  font-size:var(--label-size);
}
.journey-v2 .jv2-story-subsection-divider{
  flex:1 1 32px;
  min-width:16px;
  height:1px;
  margin-left:2px;
  background:linear-gradient(90deg,var(--gold-border),rgba(213,198,167,.18));
}
@media(max-width:720px){
  .journey-v2 .jv2-story-group-header{padding:44px 12px 25px}
  .journey-v2 .jv2-story-group-overline{margin-bottom:8px;font-size:0.75rem}
  .journey-v2 .jv2-story-group-title{
    font-size:clamp(22px,6vw,27px);
    letter-spacing:.075em;
  }
  .journey-v2 .jv2-story-group-rule{width:36px;margin-top:13px}
  .journey-v2 .jv2-story-location{
    width:calc(100% - 20px);
    min-height:78px;
    padding:7px 12px 8px;
  }
  .journey-v2 .jv2-story-location-section{font-size:0.9375rem}
  .journey-v2 .jv2-story-location-subsection{font-size:0.75rem}
  .journey-v2 .jv2-story-subsection-heading{
    gap:8px;
    padding:11px 12px 6px;
  }
  .journey-v2 .jv2-story-subsection-title{
    max-width:72%;
    font-size:var(--label-size);
  }
  .journey-v2 .jv2-story-subsection-divider{min-width:12px}
}
@media(max-width:390px){
  .journey-v2 .jv2-story-group-header{padding-top:38px}
  .journey-v2 .jv2-story-location{
    width:calc(100% - 16px);
    padding-right:10px;
    padding-left:10px;
  }
  .journey-v2 .jv2-story-location-section{font-size:0.875rem}
  .journey-v2 .jv2-story-subsection-heading{gap:7px;padding-right:8px;padding-left:8px}
  .journey-v2 .jv2-story-subsection-title{max-width:74%;font-size:var(--label-size)}
  .journey-v2 .jv2-story-subsection-divider{min-width:9px}
}
@media(prefers-reduced-motion:reduce){
  .journey-v2 .jv2-story-location{transition:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .journey-v2 .jv2-story-subsection-index{transition:none}
}

/* Passion subsections borrow the chapter-divider motif, with letters marking the nested level. */
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading{
  justify-content:center;
  gap:12px;
  padding:22px 12px 12px;
}
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading::before{
  content:"";
  display:block;
  flex:1 1 24px;
  min-width:14px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-border) 54%,var(--gold-border));
}
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-divider{
  flex:1 1 24px;
  min-width:14px;
  margin-left:0;
  background:linear-gradient(90deg,var(--gold-border),var(--gold-border) 46%,transparent);
}
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-index{
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-color:var(--gold);
  background:var(--gold-soft);
  color:var(--gold-ink);
  font-family:var(--font-ui);
  font-size:0.8125rem;
  font-weight:600;
}
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-title{
  max-width:none;
  color:var(--ink-strong);
  font-size:1rem;
  font-weight:600;
  letter-spacing:.11em;
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
}
@media(max-width:720px){
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading{
    gap:7px;
    padding:18px 10px 10px;
  }
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading::before,
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-divider{
    flex-basis:8px;
    min-width:8px;
  }
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-index{
    flex-basis:28px;
    width:28px;
    height:28px;
    font-size:0.75rem;
  }
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-title{
    max-width:72%;
    font-size:clamp(11px,3.4vw,13px);
    letter-spacing:.075em;
  }
}
@media(max-width:390px){
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading{
    gap:6px;
    padding:17px 8px 9px;
  }
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading::before,
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-divider{
    min-width:6px;
  }
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-index{
    flex-basis:26px;
    width:26px;
    height:26px;
  }
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-title{
    max-width:74%;
    font-size:var(--label-size);
    letter-spacing:.06em;
  }
}


/* Match the Passion subsection dividers to the supplied chapter-heading reference. */
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading{
  width:min(620px,calc(100vw - 48px));
  max-width:620px;
  margin-left:50%;
  transform:translateX(-50%);
}
.journey-v2 .jv2-story-group-passion .jv2-story-subsection-index,
.journey-v2 .jv2-story-group-passion .jv2-story-subsection.is-current .jv2-story-subsection-index{
  border-color:var(--gold);
  background:var(--paper);
  color:var(--gold-ink);
  box-shadow:none;
}
@media(max-width:720px){
  .journey-v2 .jv2-story-group-passion .jv2-story-subsection-heading{
    width:calc(100vw - 24px);
    max-width:620px;
    margin-left:50%;
    transform:translateX(-50%);
  }
}


/* Every story subsection uses the same quiet, ruled chapter-divider treatment. */
.journey-v2 .jv2-story-groups .jv2-story-subsection-index{
  display:none;
}
.journey-v2 .jv2-story-groups .jv2-story-subsection-heading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:min(620px,calc(100vw - 48px));
  max-width:620px;
  box-sizing:border-box;
  margin-left:50%;
  padding:20px 12px 11px;
  transform:translateX(-50%);
}
.journey-v2 .jv2-story-groups .jv2-story-subsection-heading::before{
  content:"";
  display:block;
  flex:1 1 24px;
  min-width:14px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-border) 18%,var(--gold-border) 82%,transparent);
}
.journey-v2 .jv2-story-groups .jv2-story-subsection-divider{
  flex:1 1 24px;
  min-width:14px;
  height:1px;
  margin-left:0;
  background:linear-gradient(90deg,transparent,var(--gold-border) 18%,var(--gold-border) 82%,transparent);
}
.journey-v2 .jv2-story-groups .jv2-story-subsection-title{
  flex:0 1 auto;
  min-width:0;
  max-width:72%;
  margin:0;
  padding:0;
  color:var(--ink-strong);
  font-family:var(--font-ui);
  font-size:1rem;
  line-height:1.25;
  font-weight:600;
  letter-spacing:.015em;
  text-align:center;
  text-transform:none;
  white-space:normal;
}
@media(max-width:720px){
  .journey-v2 .jv2-story-groups .jv2-story-subsection-heading{
    width:calc(100vw - 24px);
    gap:8px;
    padding:18px 10px 10px;
  }
  .journey-v2 .jv2-story-groups .jv2-story-subsection-heading::before,
  .journey-v2 .jv2-story-groups .jv2-story-subsection-divider{
    flex-basis:8px;
    min-width:8px;
  }
  .journey-v2 .jv2-story-groups .jv2-story-subsection-title{
    max-width:72%;
    font-size:clamp(13px,3.6vw,15px);
    letter-spacing:0;
  }
}
@media(max-width:390px){
  .journey-v2 .jv2-story-groups .jv2-story-subsection-heading{
    width:calc(100vw - 20px);
    gap:6px;
    padding:17px 8px 9px;
  }
  .journey-v2 .jv2-story-groups .jv2-story-subsection-heading::before,
  .journey-v2 .jv2-story-groups .jv2-story-subsection-divider{
    min-width:6px;
  }
  .journey-v2 .jv2-story-groups .jv2-story-subsection-title{
    max-width:74%;
    font-size:clamp(12px,3.4vw,13.5px);
  }
}

/* Let the SVG alone draw the track and segments, including the fixed warm-up. */
.journey-v2 .jv2-timer-ring{
  background:transparent;
}
.journey-v2 .jv2-timer-ring::after{content:none}
.journey-v2 .jv2-timer-ring .jv2-duration-ring-svg{
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
.journey-v2 .jv2-duration-ring-svg circle,
.journey-v2 .jv2-duration-ring-svg path{
  fill:none;
  stroke-width:13;
  stroke-linecap:butt;
}
.journey-v2 .jv2-duration-ring-track{stroke:var(--line)}
.journey-v2 .jv2-duration-ring-warmup{stroke:var(--stage-warmup)}
.journey-v2 .jv2-duration-ring-world{stroke:var(--stage-world)}
.journey-v2 .jv2-duration-ring-scripture{stroke:var(--stage-scripture)}
.journey-v2 .jv2-duration-ring-colloquy{stroke:var(--stage-colloquy)}
.journey-v2 .jv2-timer-ring .timer-value{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
}

.account-modal-close .material-nav-icon,
.modal-close-x .jv2-nav-icon{
  width:20px;
  height:20px;
  flex:0 0 20px;
}
.journey-v2 .jv2-warmup-heading,
.journey-v2 .jv2-grace-heading{
  column-gap:8px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:start;
  gap:var(--space-2);
  padding:0;
}
.journey-v2 .jv2-warmup-heading .jv2-title,
.journey-v2 .jv2-grace-heading .jv2-title{
  grid-column:2;
  grid-row:1;
  min-width:0;
  margin:0;
}
.journey-v2 .jv2-warmup-heading .jv2-warmup-info-button,
.journey-v2 .jv2-grace-heading .jv2-grace-info{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  align-self:start;
  position:static;
  width:var(--control-height);
  height:var(--control-height);
  margin:0;
  transform:none;
}
@media (max-width:640px){
  .journey-v2 .jv2-warmup-heading,
  .journey-v2 .jv2-grace-heading{
    column-gap:5px;
  }
}

/* Give long centered questions their full reading width on small phones. */
@media(max-width:420px){
  .journey-v2 .jv2-warmup-heading .jv2-title,
  .journey-v2 .jv2-grace-heading .jv2-title{grid-column:1 / -1}
  .journey-v2 .jv2-warmup-heading .jv2-warmup-info-button,
  .journey-v2 .jv2-grace-heading .jv2-grace-info{
    grid-column:1 / -1;
    grid-row:2;
    justify-self:center;
  }
}
.journey-v2 [data-jv2-duration-label]{margin-left:auto}



/* The optional chapter keeps its title-page styling as a native accordion. */
.journey-v2 details.jv2-story-group-early-years > summary{
  position:relative;
  cursor:pointer;
  list-style:none;
}
.journey-v2 details.jv2-story-group-early-years > summary::marker{content:""}
.journey-v2 .jv2-early-years-chevron{
  position:absolute;
  right:18px;
  color:var(--gold-ink);
  font-size:1.25rem;
}
.journey-v2 details.jv2-story-group-early-years[open] .jv2-early-years-chevron{transform:rotate(180deg)}
