html[data-p2-embedded="true"],html[data-p2-embedded="true"] body{height:100%;overflow:clip}
html[data-p2-embedded="true"] .showcase{height:100svh}
html[data-p2-embedded="true"] .stage{position:relative}
:root{--paper:#eeeae1;--ink:var(--ws-ink)}
*{box-sizing:border-box}
html,body{margin:0;background:var(--paper);color:var(--ink)}
body{font-family:var(--ws-type-display-zh,"Chiron Hei HK WS",sans-serif)}
.showcase{height:520svh;position:relative}
.stage{position:sticky;top:0;height:100svh;overflow:hidden;isolation:isolate}
.planes{position:absolute;inset:0 0 auto;height:50svh;z-index:50;pointer-events:none}
.plane{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;transform-origin:top center;will-change:transform;contain:paint;background:var(--color);transform:scale3d(1,0,1);clip-path:none}
.p0{--color:var(--ws-water,#a1a994)}
.p1{--color:var(--ws-first-light,#d6c7a5)}
.p2{--color:var(--ws-pale-gold,var(--ws-first-light,#d6c7a5))}
.p3{--color:var(--ws-olive,#899783)}
.p4{--color:var(--ws-harvest,#c6a889)}
.p5{--color:var(--ws-crimson,#a06d78)}
.p6{--color:var(--ws-water,#a1a994)}
.fold-church-identity{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(3px,.6svh,8px);padding:2svh 5vw;color:#f2efe6;text-align:center;pointer-events:none}
.fold-church-name{display:block;width:min(78vw,980px);aspect-ratio:1800/193;flex:none;background:currentColor;-webkit-mask:url("/images/living-water-west-church-name.png") center/contain no-repeat;mask:url("/images/living-water-west-church-name.png") center/contain no-repeat}
.fold-church-english{line-height:1.1;white-space:nowrap}
.fold-church-address{font-size:clamp(12px,1.8vw,26px);line-height:1.2;white-space:nowrap}
@media(max-width:700px){.fold-church-identity{padding-inline:3vw;gap:5px}.fold-church-name{width:94vw}.fold-church-english{font-size:clamp(12px,3.4vw,22px);letter-spacing:-.04em}.fold-church-address{font-size:clamp(10px,2.65vw,17px);white-space:normal}}
.ocean-rise{position:absolute;inset:0;z-index:37;overflow:hidden;pointer-events:none}
.water-cover{position:absolute;inset:0;background:var(--paper);z-index:39;pointer-events:none}
.composition{position:absolute;inset:50svh 0 0;height:50svh;z-index:40;pointer-events:none}
.edition{display:none}
.edition.editorial-john{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto auto;align-items:center;gap:1.5vh 2vw;padding:clamp(14px,2vw,34px);background:transparent}
.ej-mast{grid-column:1/-1;display:flex;justify-content:space-between;border-bottom:1px solid #777;font:var(--ws-type-scale-micro) var(--ws-type-display-en);letter-spacing:.08em;padding-bottom:8px}
.ej-full{display:none}
.ej-title{grid-column:1;grid-row:2;align-self:center;min-width:0;margin:0;font:400 clamp(110px,17vw,300px)/.83 var(--ws-type-display-en,"Bodoni Moda",serif);letter-spacing:-.075em;white-space:nowrap}
.ej-title span,.ej-title em{display:block;font-weight:400}
.ej-title em{font-style:italic;color:var(--ws-water,#5b8fa8)}
.ej-copy{grid-column:2;grid-row:2;align-self:center;margin:0;max-width:28ch;font:var(--ws-type-scale-reading)/1.5 var(--ws-type-display-en)}
.ej-zh{grid-column:1/-1;font-size:var(--ws-type-scale-ui);margin:0}
.ej-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #888;font-size:var(--ws-type-scale-meta);padding-top:7px}
.ej-footer a{display:none}
.church-editorial{position:absolute;inset:0;z-index:42;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);visibility:hidden;pointer-events:none}
.church-editorial__visual{background:transparent}
.church-editorial__copy{font-family:var(--ws-type-display-zh);font-weight:var(--ws-weight-zh-air);grid-column:2;display:flex;flex-direction:column;gap:clamp(4px,.7vh,10px);min-height:0;overflow-y:auto;background:var(--paper);padding:clamp(18px,3vw,50px);pointer-events:auto}
.church-editorial__copy small{font:var(--ws-type-scale-meta) var(--ws-type-display-en);letter-spacing:.12em}
.schedule-heading{font:400 var(--ws-type-scale-display-lg)/.9 var(--ws-type-display-en);margin:0}
.schedule-heading i{font-weight:400}
.church-schedule-source{font-size:var(--ws-type-scale-meta)}
.sunday-schedule__top,.worship-row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #bbb;padding:8px 0}
.worship-row time{flex:0 0 35%}
.worship-row>div{flex:1;min-width:0;text-align:right}
.worship-row strong,.worship-row p{text-align:right}
.worship-row strong{display:block;font-family:var(--ws-type-display-zh);font-size:var(--ws-type-scale-title-sm);font-weight:var(--ws-weight-zh-anchor);font-synthesis:none;line-height:1.18;color:var(--ws-first-light,#a2872a)}
.worship-row p{margin:4px 0}
.sunday-schedule h3{font-family:var(--ws-type-display-zh);font-size:var(--ws-type-scale-title-sm);font-weight:var(--ws-weight-zh-anchor);font-synthesis:none}
.sunday-schedule h3 span{display:block;font:italic var(--ws-type-scale-meta) var(--ws-type-display-en)}
.worship-ministry p{line-height:1.6}
.water-doors{position:absolute;inset:0;z-index:43;pointer-events:none;visibility:hidden}
.water-door{background:var(--paper);position:absolute;inset:0;overflow:hidden;will-change:transform}
.water-door--left{display:none}
.water-door--right{clip-path:inset(0 0 0 50%)}
.index{position:absolute;right:3vw;bottom:14px;z-index:90;font:var(--ws-type-scale-meta) var(--ws-type-display-en);display:flex;align-items:baseline;justify-content:flex-end;gap:1.1em;white-space:nowrap}
.index a{color:inherit;text-decoration:none;pointer-events:auto}
@media(max-width:650px){.church-editorial__copy{padding:12px}.schedule-heading{font-size:32px}.ej-title{font-size:clamp(48px,10vw,90px)}}
.ocean-rise{background:transparent}
[lang="en"],time,.sunday-schedule__top,.worship-next>span,.sunday-schedule__place>span,.church-editorial__copy small{font-family:var(--ws-type-display-en)!important;font-weight:400}
.church-editorial__copy time{font-variant-numeric:lining-nums tabular-nums}
.fold-church-english{font-family:var(--ws-type-display-en);font-weight:400;font-size:var(--ws-type-scale-title-md);letter-spacing:0}
.fold-church-name{font-weight:var(--ws-weight-zh-air)}
.schedule-church-logo{display:block;flex:none;align-self:center;width:min(100%,520px);aspect-ratio:1800/193;margin:clamp(10px,2vh,24px) 0;-webkit-mask:url("/images/living-water-west-church-name.png") center/contain no-repeat;mask:url("/images/living-water-west-church-name.png") center/contain no-repeat}
.schedule-scripture{margin:clamp(18px,3vh,34px) 0 0;padding:clamp(14px,2vh,24px) 0 0}
.schedule-scripture p{font-size:var(--ws-type-scale-reading);line-height:var(--ws-type-leading-reading);max-width:var(--ws-type-measure-reading);margin:0 0 .75em}
.schedule-scripture footer{font-family:var(--ws-type-display-zh);font-size:var(--ws-type-scripture-reference-size);letter-spacing:var(--ws-type-scripture-reference-tracking);font-weight:var(--ws-weight-zh-air)}
.schedule-scripture footer [lang="en"]{font-family:var(--ws-type-display-en)}
@media(max-width:650px){.schedule-church-logo{width:95%}}
.fold-church-address{font-family:var(--ws-type-display-en);font-style:italic;font-weight:400;font-synthesis:none}
.sunday-schedule__place p{font-family:var(--ws-type-display-en);font-style:italic;font-weight:400;font-synthesis:none}
.ej-footer a{font-family:var(--ws-type-display-en);font-size:var(--ws-type-scale-meta);font-style:normal;font-weight:400;letter-spacing:var(--ws-type-scripture-reference-tracking);font-synthesis:none}
.editorial-john .ej-zh{font-family:var(--ws-type-display-zh);font-weight:var(--ws-weight-zh-air);font-synthesis:none}
.schedule-church-logo{background:var(--ws-first-light,#a2872a);margin-top:0;margin-bottom:0}
.schedule-church-english{margin-top:0}
.schedule-church-english{margin:0;text-align:center;font:400 var(--ws-type-scale-title-sm)/var(--ws-type-leading-title) var(--ws-type-display-en);font-synthesis:none}
.schedule-church-address{margin:0 0 clamp(8px,1.5vh,16px);text-align:center;font:italic 400 var(--ws-type-scale-meta)/var(--ws-type-leading-ui) var(--ws-type-display-en);font-synthesis:none}
.schedule-kicker{margin:0;text-align:left;font-family:var(--ws-type-display-zh);font-size:var(--ws-type-scale-ui);font-weight:var(--ws-weight-zh-air)}
.schedule-scripture{color:var(--ws-first-light,#a2872a);text-align:center;border-top:1px solid var(--ink)}
.schedule-scripture p{font-family:var(--ws-type-display-zh);font-weight:var(--ws-weight-zh-air);font-synthesis:none;text-wrap:pretty;line-break:strict;overflow-wrap:normal;margin-inline:auto}
.schedule-scripture__keep{white-space:nowrap}
.schedule-scripture footer{color:inherit;text-align:center}
.schedule-scripture footer [lang="en"]{color:inherit}
.schedule-scripture__line{display:block;white-space:nowrap}
.church-editorial__copy{position:relative;justify-content:center}
.church-editorial__copy>small{position:absolute;top:clamp(18px,3vw,50px);left:clamp(18px,3vw,50px)}
.schedule-content-group{display:flex;flex-direction:column;gap:clamp(4px,.7vh,10px);flex:none;width:100%;margin-block:auto}
.water-door--right::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(83,135,158,.08),rgba(83,135,158,.24))}
.water-rise-tint{position:absolute;inset:0;z-index:41;pointer-events:none;background:linear-gradient(180deg,rgba(83,135,158,.08),rgba(83,135,158,.24));opacity:0}
.water-rise-line{position:absolute;inset:0;width:100%;height:100%;z-index:41;pointer-events:none;overflow:hidden}
.water-rise-line path{fill:none;stroke:var(--ws-water,#5b8fa8);stroke-width:1.5;stroke-opacity:.65;vector-effect:non-scaling-stroke}
.ocean-rise>#upper,.water-door>.water-upper{position:absolute;top:0;left:0;width:100%;height:50%;display:block;pointer-events:none}
.ocean-rise>#water-lower,.water-door>.water-lower{position:absolute;left:0;bottom:0;width:100%;height:50%;display:block;pointer-events:none}



/* P2 editorial schedule: scoped layout only; water and door physics untouched. */
body[data-ws-scope="p2"] .church-editorial__copy{justify-content:flex-start;padding:clamp(20px,2.2vw,38px);gap:0;scrollbar-gutter:stable}
body[data-ws-scope="p2"] .church-editorial__copy>small{position:static;flex:none;margin-bottom:clamp(8px,1.5vh,18px)}
body[data-ws-scope="p2"] .schedule-content-group{margin-block:auto;gap:clamp(4px,.6vh,8px)}
body[data-ws-scope="p2"] .schedule-church-logo{width:min(75%,460px);margin-inline:auto}
body[data-ws-scope="p2"] .schedule-church-address{margin-bottom:clamp(6px,1vh,12px)}
body[data-ws-scope="p2"] .schedule-kicker{font-size:var(--ws-type-scale-ui);font-weight:var(--ws-weight-zh-standard)}
body[data-ws-scope="p2"] .church-schedule-source{font-size:var(--ws-type-scale-ui);line-height:1.4}
body[data-ws-scope="p2"] .sunday-schedule__top{font-size:var(--ws-type-scale-meta);padding:6px 0}
body[data-ws-scope="p2"] .sunday-schedule h3{margin:clamp(8px,1vh,12px) 0;font-size:var(--ws-type-scale-title-sm)}
body[data-ws-scope="p2"] .sunday-schedule h3 span{margin-top:3px;font-size:var(--ws-type-scale-meta)}
body[data-ws-scope="p2"] .worship-ministry{font-size:var(--ws-type-scale-meta);line-height:1.45;margin-bottom:clamp(8px,1vh,12px)}
body[data-ws-scope="p2"] .worship-ministry p{margin:4px 0 0}
body[data-ws-scope="p2"] .worship-row{display:grid;grid-template-columns:minmax(96px,24%) minmax(0,1fr);align-items:center;gap:clamp(12px,2vw,28px);padding:clamp(6px,.75vh,9px) 0}
body[data-ws-scope="p2"] .worship-row time{font-size:var(--ws-type-scale-ui);line-height:1.3;white-space:nowrap;align-self:center}
body[data-ws-scope="p2"] .worship-row>div{width:100%;justify-self:end;text-align:right}
body[data-ws-scope="p2"] .worship-row strong{font-size:var(--ws-type-scale-title-sm);line-height:1.2}
body[data-ws-scope="p2"] .worship-row p{font-size:var(--ws-type-scale-meta);line-height:1.45;margin:3px 0 0;overflow-wrap:anywhere}
body[data-ws-scope="p2"] .worship-next,body[data-ws-scope="p2"] .sunday-schedule__place{font-size:var(--ws-type-scale-meta);line-height:1.5}
body[data-ws-scope="p2"] .worship-next p,body[data-ws-scope="p2"] .sunday-schedule__place p{margin:4px 0 8px}
body[data-ws-scope="p2"] .schedule-scripture{margin-top:clamp(10px,1.6vh,20px);padding-top:clamp(10px,1.3vh,16px)}
body[data-ws-scope="p2"] .schedule-scripture p{font-size:var(--ws-type-scale-ui);line-height:1.6}
body[data-ws-scope="p2"] .schedule-scripture__line{white-space:normal}
@media(max-width:900px){body[data-ws-scope="p2"] .church-editorial__copy{padding:clamp(14px,2vw,24px)}body[data-ws-scope="p2"] .worship-row{grid-template-columns:minmax(86px,27%) minmax(0,1fr);gap:10px}}
@media(max-width:650px){body[data-ws-scope="p2"] .church-editorial__copy{padding:14px}body[data-ws-scope="p2"] .worship-row{grid-template-columns:minmax(0,1fr);gap:3px}body[data-ws-scope="p2"] .worship-row time{font-size:var(--ws-type-scale-meta)}body[data-ws-scope="p2"] .schedule-scripture p{overflow-wrap:anywhere}}


/* P2 Sunday programme: Italian editorial folio composition.
   The Design OS remains the only type/color authority. No water/door selectors. */
body[data-ws-scope="p2"] .church-editorial__copy{
  justify-content:flex-start;gap:0;padding:clamp(20px,2.3vw,38px);
  overflow-y:auto;scrollbar-gutter:stable;
}
body[data-ws-scope="p2"] .church-editorial__copy>small{
  position:static;flex:none;margin:0 0 clamp(8px,1.4vh,18px);
  font-size:var(--ws-type-scale-meta);
}
body[data-ws-scope="p2"] .schedule-content-group{
  width:100%;margin-block:auto;gap:clamp(5px,.75vh,10px);
}
body[data-ws-scope="p2"] .church-schedule-source{font-size:var(--ws-type-scale-ui);line-height:1.45}
body[data-ws-scope="p2"] .sunday-schedule__top{
  padding:7px 0;border-top:1px solid currentColor;
  font-size:var(--ws-type-scale-meta);letter-spacing:.05em;
}
body[data-ws-scope="p2"] .sunday-schedule h3{
  margin:clamp(7px,1.1vh,14px) 0 clamp(5px,.8vh,10px);
  font-size:clamp(27px,2.15vw,42px);
  font-weight:var(--ws-weight-zh-air);
  line-height:1.08;letter-spacing:-.025em;
}
body[data-ws-scope="p2"] .sunday-schedule h3 span{
  margin-top:5px;font-size:var(--ws-type-scale-meta);letter-spacing:0;
}
body[data-ws-scope="p2"] .worship-ministry{
  display:grid;grid-template-columns:minmax(75px,22%) 1fr;gap:12px;
  margin:0 0 clamp(8px,1.1vh,14px);
  font-size:var(--ws-type-scale-meta);line-height:1.5;
}
body[data-ws-scope="p2"] .worship-ministry p{margin:0}
body[data-ws-scope="p2"] .worship-row{
  display:grid;
  grid-template-columns:clamp(20px,2vw,32px) minmax(88px,23%) minmax(0,1fr);
  gap:clamp(8px,1vw,18px);align-items:baseline;
  padding:clamp(7px,1vh,12px) 0;
  border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);
}
body[data-ws-scope="p2"] .worship-row::before{
  content:counter(worship,decimal-leading-zero);
  font:400 var(--ws-type-scale-meta)/1.4 var(--ws-type-display-en);
  opacity:.55;
}
body[data-ws-scope="p2"] .worship-program{counter-reset:worship}
body[data-ws-scope="p2"] .worship-row{counter-increment:worship}
body[data-ws-scope="p2"] .worship-row time{
  font:400 var(--ws-type-scale-ui)/1.4 var(--ws-type-display-en);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
body[data-ws-scope="p2"] .worship-row>div{
  min-width:0;text-align:left;
}
body[data-ws-scope="p2"] .worship-row strong{
  display:block;text-align:left;
  color:var(--ws-ink);
  font-size:var(--ws-type-scale-title-sm);
  font-weight:var(--ws-weight-zh-standard);
  line-height:1.3;
}
body[data-ws-scope="p2"] .worship-row p{
  text-align:left;font-size:var(--ws-type-scale-meta);
  line-height:1.55;margin:4px 0 0;overflow-wrap:anywhere;
}
body[data-ws-scope="p2"] .worship-next,
body[data-ws-scope="p2"] .sunday-schedule__place{
  font-size:var(--ws-type-scale-meta);line-height:1.5;
}
body[data-ws-scope="p2"] .worship-next{margin-top:clamp(8px,1.2vh,14px)}
body[data-ws-scope="p2"] .worship-next p,
body[data-ws-scope="p2"] .sunday-schedule__place p{margin:3px 0 7px}
body[data-ws-scope="p2"] .schedule-scripture{
  text-align:left;margin:clamp(12px,1.7vh,22px) 0 0;
  padding:clamp(10px,1.3vh,18px) 0 0;
  border-top:1px solid color-mix(in srgb,currentColor 45%,transparent);
}
body[data-ws-scope="p2"] .schedule-scripture p{
  text-align:left;font-size:var(--ws-type-scale-ui);
  line-height:1.65;max-width:52ch;margin:0 0 .6em;
}
body[data-ws-scope="p2"] .schedule-scripture__line{display:inline;white-space:normal}
body[data-ws-scope="p2"] .schedule-scripture footer{text-align:left}
@media(max-width:1050px){
  body[data-ws-scope="p2"] .church-editorial__copy{padding:clamp(14px,2vw,26px)}
  body[data-ws-scope="p2"] .worship-row{
    grid-template-columns:20px minmax(75px,24%) minmax(0,1fr);gap:8px;
  }
}
@media(max-width:650px){
  body[data-ws-scope="p2"] .church-editorial__copy{padding:14px}
  body[data-ws-scope="p2"] .worship-row{
    grid-template-columns:20px minmax(0,1fr);gap:4px 9px;
  }
  body[data-ws-scope="p2"] .worship-row time{grid-column:2}
  body[data-ws-scope="p2"] .worship-row>div{grid-column:2}
  body[data-ws-scope="p2"] .worship-ministry{grid-template-columns:1fr;gap:3px}
}

/* Sunday theme scripture: editorial reading block, separate from Acts 4:12. */
body[data-ws-scope="p2"] .schedule-theme-scripture{
  margin-top:clamp(14px,2vh,26px);padding-top:clamp(12px,1.6vh,20px);
  border-top:1px solid color-mix(in srgb,currentColor 25%,transparent);
  font-family:var(--ws-type-reading-zh);
}
body[data-ws-scope="p2"] .schedule-theme-scripture h3{
  margin:0 0 .6em;font-family:var(--ws-type-display-zh);
  font-size:var(--ws-type-scale-title-sm);line-height:1.25;
  font-weight:var(--ws-weight-zh-standard);
}
body[data-ws-scope="p2"] .schedule-theme-scripture p{
  margin:0 0 .85em;max-width:64ch;
  font-size:var(--ws-type-scale-ui);line-height:1.75;
}
body[data-ws-scope="p2"] .schedule-theme-scripture__lead{
  font-weight:var(--ws-weight-zh-standard);
}
body[data-ws-scope="p2"] .schedule-theme-scripture__ref{
  display:block;margin-top:.2em;
  font-family:var(--ws-type-display-zh);
  font-size:var(--ws-type-scale-meta);
  font-weight:var(--ws-weight-zh-air);
}

/* Cloudflare screenshot review: tighter editorial measure and readable type.
   Deliberately excludes church identity artwork, English name and address. */
body[data-ws-scope="p2"] .worship-row{
  grid-template-columns:clamp(20px,2vw,30px) minmax(108px,18%) minmax(0,1fr);
  column-gap:clamp(10px,1.3vw,20px);
  align-items:start;
}
body[data-ws-scope="p2"] .worship-row time{
  font-size:clamp(12px,.85vw,15px);
  line-height:1.45;
}
body[data-ws-scope="p2"] .worship-row strong{
  font-size:clamp(16px,1.15vw,21px);
  font-weight:var(--ws-weight-zh-standard);
  line-height:1.35;
}
body[data-ws-scope="p2"] .worship-row p,
body[data-ws-scope="p2"] .worship-ministry,
body[data-ws-scope="p2"] .worship-next,
body[data-ws-scope="p2"] .sunday-schedule__place{
  font-size:clamp(12px,.78vw,14px);
  line-height:1.6;
}
body[data-ws-scope="p2"] .schedule-theme-scripture p{
  font-family:var(--ws-type-reading-zh);
  font-size:clamp(13px,.9vw,16px);
  line-height:1.8;
  max-width:64ch;
}
body[data-ws-scope="p2"] .schedule-theme-scripture__ref{
  font-size:clamp(11px,.75vw,13px);
}
body[data-ws-scope="p2"] .schedule-scripture p{
  font-size:clamp(13px,.9vw,16px);
}
@media(max-width:1050px){
  body[data-ws-scope="p2"] .worship-row{
    grid-template-columns:20px minmax(94px,22%) minmax(0,1fr);
    column-gap:10px;
  }
}
@media(max-width:650px){
  body[data-ws-scope="p2"] .worship-row{
    grid-template-columns:20px minmax(0,1fr);
    column-gap:9px;
  }
}

/* P2 folio authority: one four-track grid for all programme rows and metadata.
   Do not edit independent church identity, ocean engraving or door animation. */
body[data-ws-scope="p2"] .church-editorial__copy{
  container:p2-paper / inline-size;
  padding-inline:clamp(18px,4%,56px);
}
body[data-ws-scope="p2"] .church-schedule-source,
body[data-ws-scope="p2"] .schedule-theme-scripture,
body[data-ws-scope="p2"] .schedule-scripture{
  width:100%;min-width:0;max-width:none;margin-inline:auto;
}
body[data-ws-scope="p2"] .sunday-schedule{
  --p2-grid: [number] minmax(24px,5fr) [time] minmax(112px,20fr) [heading] minmax(0,38fr) [details] minmax(0,37fr) [end];
  --p2-gap:clamp(12px,2cqi,22px);
}
body[data-ws-scope="p2"] .worship-program{
  width:100%;counter-reset:worship;
}
body[data-ws-scope="p2"] .worship-program .worship-row{
  position:relative;
  display:grid;
  grid-template-columns:var(--p2-grid);
  column-gap:var(--p2-gap);
  align-items:center;
  padding-block:clamp(11px,1.55cqi,18px);
}
body[data-ws-scope="p2"] .worship-program .worship-row::before{
  grid-column:number;grid-row:1;
}
body[data-ws-scope="p2"] .worship-program .worship-row time{
  grid-column:time;grid-row:1;white-space:nowrap;
  font-size:clamp(13px,1.85cqi,16px);
}
body[data-ws-scope="p2"] .worship-program .worship-row>div{
  display:contents;
}
body[data-ws-scope="p2"] .worship-program .worship-row strong{
  grid-column:heading;grid-row:1;
  position:static;left:auto;width:auto;
  display:block;text-align:center;
  font-size:clamp(17px,2.5cqi,23px);
  font-weight:var(--ws-weight-zh-standard);
  line-height:1.4;
}
body[data-ws-scope="p2"] .worship-program .worship-row p{
  grid-column:details;grid-row:1;
  min-width:0;margin:0;text-align:left;
  font-size:clamp(13px,1.8cqi,16px);
  line-height:1.65;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-ministry,
body[data-ws-scope="p2"] .sunday-schedule .worship-next,
body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place{
  display:grid;grid-template-columns:var(--p2-grid);
  column-gap:var(--p2-gap);
  padding-left:0;
  align-items:start;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-ministry>span,
body[data-ws-scope="p2"] .sunday-schedule .worship-ministry>p,
body[data-ws-scope="p2"] .sunday-schedule .worship-next>span,
body[data-ws-scope="p2"] .sunday-schedule .worship-next>p,
body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place>span,
body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place>p{
  grid-column:details;display:block;
  width:100%;min-width:0;
  margin:0;text-align:left;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-ministry>p,
body[data-ws-scope="p2"] .sunday-schedule .worship-next>p,
body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place>p{
  margin-top:3px;
}
body[data-ws-scope="p2"] .schedule-theme-scripture{
  text-align:center;
}
body[data-ws-scope="p2"] .schedule-theme-scripture h3{
  text-align:center;font-weight:var(--ws-weight-zh-air);
}
body[data-ws-scope="p2"] .schedule-theme-scripture p{
  font-family:var(--ws-type-display-zh);
  font-weight:var(--ws-weight-zh-air);
  font-size:clamp(15px,2.1cqi,19px);
  line-height:1.8;max-width:56ch;
  margin-inline:auto;text-align:center;
}
body[data-ws-scope="p2"] .schedule-theme-scripture__lead,
body[data-ws-scope="p2"] .schedule-theme-scripture__ref{
  font-weight:var(--ws-weight-zh-air);text-align:center;
}
body[data-ws-scope="p2"] .schedule-scripture{
  text-align:center;
  border-top:1px solid color-mix(in srgb,currentColor 45%,transparent);
}
body[data-ws-scope="p2"] .schedule-scripture p{
  text-align:center;margin-inline:auto;max-width:52ch;
  font-size:clamp(14px,1.9cqi,18px);
}
body[data-ws-scope="p2"] .schedule-scripture footer{text-align:center}
@container p2-paper (max-width:660px){
  .sunday-schedule .worship-program .worship-row{
    grid-template-columns:24px minmax(90px,24%) minmax(0,1fr);
    gap:3px 10px;
  }
  .sunday-schedule .worship-program .worship-row strong{
    grid-column:3;grid-row:1;text-align:left;
  }
  .sunday-schedule .worship-program .worship-row p{
    grid-column:3;grid-row:2;
  }
  .sunday-schedule .worship-ministry,
  .sunday-schedule .worship-next,
  .sunday-schedule .sunday-schedule__place{
    grid-template-columns:24px minmax(90px,24%) minmax(0,1fr);
    gap:3px 10px;
  }
  .sunday-schedule .worship-ministry>span,
  .sunday-schedule .worship-ministry>p,
  .sunday-schedule .worship-next>span,
  .sunday-schedule .worship-next>p,
  .sunday-schedule .sunday-schedule__place>span,
  .sunday-schedule .sunday-schedule__place>p{grid-column:3}
}
@container p2-paper (max-width:390px){
  .sunday-schedule .worship-program .worship-row,
  .sunday-schedule .worship-ministry,
  .sunday-schedule .worship-next,
  .sunday-schedule .sunday-schedule__place{
    grid-template-columns:22px minmax(0,1fr);
    gap:3px 10px;
  }
  .sunday-schedule .worship-program .worship-row time{grid-column:2;grid-row:1}
  .sunday-schedule .worship-program .worship-row strong{grid-column:2;grid-row:2}
  .sunday-schedule .worship-program .worship-row p{grid-column:2;grid-row:3}
  .sunday-schedule .worship-ministry>span,
  .sunday-schedule .worship-ministry>p,
  .sunday-schedule .worship-next>span,
  .sunday-schedule .worship-next>p,
  .sunday-schedule .sunday-schedule__place>span,
  .sunday-schedule .sunday-schedule__place>p{grid-column:2}
}

/* P2 editorial pass: worship title and theme scripture share the exact
   center of the schedule measure; fourth-column grid lines stay untouched. */
body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row strong{
  position:absolute;
  grid-column:auto;grid-row:auto;
  inset-inline-start:50%;
  transform:translateX(-50%);
  width:max-content;
  max-width:38%;
  text-align:center;
  white-space:normal;
  font-size:clamp(18px,2.65cqi,24px);
}
body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row p{
  font-size:clamp(14px,1.95cqi,17px);
  line-height:1.65;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-ministry,
body[data-ws-scope="p2"] .sunday-schedule .worship-next,
body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place{
  font-size:clamp(13px,1.85cqi,16px);
  line-height:1.65;
}
body[data-ws-scope="p2"] .sunday-schedule .schedule-theme-scripture p{
  font-size:clamp(16px,2.25cqi,20px);
  line-height:1.85;
}
body[data-ws-scope="p2"] .sunday-schedule .schedule-theme-scripture__ref{
  font-size:clamp(12px,1.55cqi,15px);
}
@container p2-paper (max-width:660px){
  .sunday-schedule .worship-program .worship-row strong{
    position:static;transform:none;width:auto;max-width:none;
    grid-column:3;grid-row:1;text-align:left;
  }
}
@container p2-paper (max-width:390px){
  .sunday-schedule .worship-program .worship-row strong{
    grid-column:2;grid-row:2;
  }
}

/* P2 editorial reading refinement: preserve validated horizontal alignment.
   Improve hierarchy with type only, without moving the protected masthead. */
body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row time{
  font-size:clamp(14px,1.95cqi,17px);
  font-variant-numeric:tabular-nums;
  line-height:1.5;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row::before{
  font-variant-numeric:tabular-nums;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row p{
  font-size:clamp(15px,2.05cqi,18px);
  line-height:1.55;
  overflow-wrap:anywhere;
}
body[data-ws-scope="p2"] .sunday-schedule .worship-ministry,
body[data-ws-scope="p2"] .sunday-schedule .worship-next,
body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place{
  font-size:clamp(14px,1.9cqi,17px);
  line-height:1.6;
}
body[data-ws-scope="p2"] .sunday-schedule .schedule-theme-scripture p{
  font-size:clamp(17px,2.35cqi,21px);
  line-height:1.75;
  text-wrap:pretty;
}
body[data-ws-scope="p2"] .sunday-schedule .schedule-theme-scripture__ref{
  font-size:clamp(13px,1.65cqi,16px);
  line-height:1.55;
}
@container p2-paper (max-width:660px){
  .sunday-schedule .worship-program .worship-row p{
    font-size:clamp(13px,2.2cqi,16px);
  }
  .sunday-schedule .worship-ministry,
  .sunday-schedule .worship-next,
  .sunday-schedule .sunday-schedule__place{
    font-size:clamp(13px,2.1cqi,16px);
  }
}

/* P2 color proof: use the Design OS dawn/first-light gold for
   worship headings and the theme scripture only. */
body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row strong,
body[data-ws-scope="p2"] .schedule-theme-scripture h3{
  color:var(--ws-first-light);
}

/* P2 footer visibility across browser zoom and short viewport heights.
   Preserve Acts 4:12 typography/color; reclaim vertical space upstream. */
body[data-ws-scope="p2"] .church-editorial__copy{
  scroll-padding-block-end:clamp(18px,2.5svh,32px);
  padding-bottom:clamp(22px,3svh,40px);
}
body[data-ws-scope="p2"] .schedule-content-group{
  flex-shrink:0;
}
@media (max-height:950px){
  body[data-ws-scope="p2"] .schedule-content-group{
    gap:clamp(3px,.45svh,7px);
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row{
    padding-block:clamp(7px,1.05svh,11px);
  }
  body[data-ws-scope="p2"] .schedule-theme-scripture{
    margin-top:clamp(9px,1.1svh,15px);
    padding-top:clamp(8px,.9svh,12px);
  }
  body[data-ws-scope="p2"] .schedule-theme-scripture p{
    margin-bottom:.58em;
    line-height:1.65;
  }
  body[data-ws-scope="p2"] .schedule-scripture{
    margin-top:clamp(9px,1.1svh,14px);
    padding-top:clamp(8px,.9svh,12px);
  }
}
@media (max-height:720px){
  body[data-ws-scope="p2"] .church-editorial__copy{
    justify-content:flex-start;
  }
  body[data-ws-scope="p2"] .schedule-content-group{
    margin-block:0;
  }
}

/* P2 viewport-height fix: never rely on the bottom of a clipped 100svh stage
   for the Acts citation. Keep its typography and gold treatment unchanged. */
body[data-ws-scope="p2"] .church-editorial__copy{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
body[data-ws-scope="p2"] .schedule-content-group{
  margin-block:0;
  flex:0 0 auto;
}
body[data-ws-scope="p2"] .church-editorial__copy>small{
  flex:0 0 auto;
}
body[data-ws-scope="p2"] .schedule-scripture{
  flex-shrink:0;
  padding-bottom:clamp(16px,2.5svh,30px);
}
body[data-ws-scope="p2"] .schedule-scripture footer{
  display:block;
  position:relative;
  visibility:visible;
  margin-top:clamp(5px,.7svh,9px);
  padding-bottom:3px;
}

/* P2 Red Sea scroll handoff: while the door is opening, the schedule is
   visible but must NOT become an independent scroll target. Otherwise wheel
   events over the newly revealed right pane scroll its own overflow container
   instead of advancing the outer sticky scene, appearing to freeze the door.
   Only the completed church scene may accept reading/scroll interaction. */
body[data-ws-scope="p2"] .showcase:not([data-p2-phase="church"]) .church-editorial__copy{
  pointer-events:none;
  overflow-y:hidden;
}
body[data-ws-scope="p2"] .showcase[data-p2-phase="church"] .church-editorial__copy{
  pointer-events:auto;
  overflow-y:auto;
  overscroll-behavior:auto;
}

/* P2 mobile editorial layout: a single reading column, never a compressed
   desktop four-track folio. Door animation remains unchanged. */
@media (max-width:700px){
  body[data-ws-scope="p2"] .church-editorial{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  body[data-ws-scope="p2"] .church-editorial__copy{
    min-width:0;
    overflow-x:hidden;
    scrollbar-gutter:auto;
    padding:16px;
  }
  body[data-ws-scope="p2"] .showcase[data-p2-phase="church"] .church-editorial{
    grid-template-columns:minmax(0,1fr);
  }
  body[data-ws-scope="p2"] .showcase[data-p2-phase="church"] .church-editorial__visual{
    display:none;
  }
  body[data-ws-scope="p2"] .showcase[data-p2-phase="church"] .church-editorial__copy{
    grid-column:1;
    width:100%;
    min-width:0;
    padding:clamp(18px,5vw,26px);
  }
  body[data-ws-scope="p2"] .church-editorial__copy .schedule-content-group,
  body[data-ws-scope="p2"] .church-editorial__copy .church-schedule-source,
  body[data-ws-scope="p2"] .church-editorial__copy .sunday-schedule{
    width:100%;min-width:0;max-width:100%;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row{
    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    gap:2px 10px;
    align-items:start;
    padding-block:12px;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row::before{
    grid-column:1;grid-row:1 / span 3;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row time{
    grid-column:2;grid-row:1;
    white-space:normal;
    font-size:13px;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row>div{
    display:flex;
    flex-direction:column;
    grid-column:2;
    grid-row:2 / span 2;
    min-width:0;
    gap:3px;
    text-align:left;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row strong{
    position:static;
    inset:auto;
    transform:none;
    display:block;
    width:auto;
    max-width:100%;
    min-width:0;
    grid-column:auto;
    grid-row:auto;
    font-size:clamp(17px,4.4vw,21px);
    text-align:left;
    white-space:normal;
    overflow-wrap:normal;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-program .worship-row p{
    grid-column:auto;grid-row:auto;
    min-width:0;
    font-size:clamp(13px,3.6vw,16px);
    overflow-wrap:break-word;
    text-align:left;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-ministry,
  body[data-ws-scope="p2"] .sunday-schedule .worship-next,
  body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place{
    display:block;
    min-width:0;
  }
  body[data-ws-scope="p2"] .sunday-schedule .worship-ministry>span,
  body[data-ws-scope="p2"] .sunday-schedule .worship-ministry>p,
  body[data-ws-scope="p2"] .sunday-schedule .worship-next>span,
  body[data-ws-scope="p2"] .sunday-schedule .worship-next>p,
  body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place>span,
  body[data-ws-scope="p2"] .sunday-schedule .sunday-schedule__place>p{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    margin-top:3px;
    overflow-wrap:break-word;
  }
  body[data-ws-scope="p2"] .schedule-theme-scripture p,
  body[data-ws-scope="p2"] .schedule-scripture p{
    max-width:100%;
    overflow-wrap:break-word;
  }
}

/* P2 mobile blue-fold identity: override the later desktop type-scale rule.
   Keep the actual English font proportions; wrap instead of scaling text. */
@media (max-width:700px){
  body[data-ws-scope="p2"] .fold-church-identity{
    width:100%;
    min-width:0;
    padding-inline:clamp(12px,4vw,22px);
  }
  body[data-ws-scope="p2"] .fold-church-english{
    display:block;
    max-width:100%;
    min-width:0;
    font-size:clamp(14px,3.8vw,20px);
    line-height:1.2;
    letter-spacing:0;
    white-space:normal;
    overflow-wrap:normal;
    text-wrap:balance;
  }
  body[data-ws-scope="p2"] .fold-church-address{
    max-width:100%;
    min-width:0;
    font-size:clamp(11px,2.9vw,15px);
    white-space:normal;
    overflow-wrap:break-word;
    text-wrap:balance;
  }
}

/* P2 scene 02: MERSI-inspired continuous lateral mask handoff.
   The left/right Church spread remains intact underneath; one scroll clock
   reveals a three-column magazine spread, with opposing vertical panel motion. */
body[data-ws-scope="p2"] .showcase{height:640svh}
body[data-ws-scope="p2"] .p2-magazine{position:absolute;inset:0;z-index:65;visibility:hidden;overflow:hidden;pointer-events:none;background:var(--paper);clip-path:inset(0 100% 0 0);color:var(--ink)}
body[data-ws-scope="p2"] .p2-magazine__grid{height:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-ws-scope="p2"] .p2-magazine__panel{min-width:0;min-height:0;overflow:hidden;padding:clamp(20px,3vw,56px);display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid currentColor;transform:translate3d(0,var(--magazine-shift-up, -13svh),0)}
body[data-ws-scope="p2"] .p2-magazine__panel:nth-child(2){background:var(--ws-first-light,#d6c7a5);transform:translate3d(0,var(--magazine-shift-down, 13svh),0)}
body[data-ws-scope="p2"] .p2-magazine__panel:nth-child(3){transform:translate3d(0,var(--magazine-shift-third, -9svh),0);border-right:0}
body[data-ws-scope="p2"] .p2-magazine__kicker{font:var(--ws-type-scale-meta) var(--ws-type-display-en);letter-spacing:.12em;text-transform:uppercase}
body[data-ws-scope="p2"] .p2-magazine__title{font:400 clamp(56px,8vw,155px)/.85 var(--ws-type-display-en);letter-spacing:-.065em;margin:0;overflow-wrap:normal}
body[data-ws-scope="p2"] .p2-magazine__title em{font-weight:400}
body[data-ws-scope="p2"] .p2-magazine__cn{font-family:var(--ws-type-display-zh);font-size:clamp(24px,3.5vw,56px);font-weight:var(--ws-weight-zh-anchor)}
body[data-ws-scope="p2"] .p2-magazine__lead{font:400 clamp(22px,3vw,48px)/1.3 var(--ws-type-display-zh);max-width:13ch}
body[data-ws-scope="p2"] .p2-magazine__copy{font:var(--ws-type-scale-reading)/1.7 var(--ws-type-display-zh);max-width:26ch}
body[data-ws-scope="p2"] .p2-magazine__link{color:inherit;font:var(--ws-type-scale-meta) var(--ws-type-display-en);letter-spacing:.08em;text-decoration:none;pointer-events:auto}
body[data-ws-scope="p2"] .showcase[data-p2-phase="magazine"] .p2-magazine{pointer-events:auto}
body[data-ws-scope="p2"] .showcase[data-p2-phase="church-to-magazine"] .church-editorial__copy{pointer-events:none;overflow-y:hidden}
@media(max-width:700px){
 body[data-ws-scope="p2"] .p2-magazine__grid{grid-template-columns:42% 58%;grid-template-rows:55% 45%}
 body[data-ws-scope="p2"] .p2-magazine__panel{padding:clamp(14px,4vw,24px)}
 body[data-ws-scope="p2"] .p2-magazine__panel:first-child{grid-column:1;grid-row:1}
 body[data-ws-scope="p2"] .p2-magazine__panel:nth-child(2){grid-column:2;grid-row:1 / 3}
 body[data-ws-scope="p2"] .p2-magazine__panel:nth-child(3){grid-column:1;grid-row:2;border-top:1px solid currentColor}
 body[data-ws-scope="p2"] .p2-magazine__title{font-size:clamp(38px,8vw,72px)}
 body[data-ws-scope="p2"] .p2-magazine__cn{font-size:clamp(19px,5vw,34px)}
 body[data-ws-scope="p2"] .p2-magazine__lead{font-size:clamp(18px,4.2vw,30px)}
 body[data-ws-scope="p2"] .p2-magazine__copy{font-size:clamp(13px,3.2vw,17px)}
}
@media(prefers-reduced-motion:reduce){
 body[data-ws-scope="p2"] .p2-magazine__panel{transform:none}
}
