/* Public pages carry the same tissue field from the cover into the reading area.
   Artwork, map pin positions and the native colours of payment/booking embeds stay independent. */
@media screen {
  body[data-ppw-family]:not([data-ppw-family="home"]) {
    --deep-surface:#15252b;
    --deep-panel:#1a2a30;
    --deep-ink:#f7f6eb;
    --deep-soft:#d4dfde;
    --deep-accent:#d6f583;
    --deep-edge:#596c70;
    --atlas-night:#0d181e;
    --atlas-depth:#15252b;
    --atlas-surface:#1a2a30;
    --atlas-raised:#25373b;
    --atlas-edge:var(--deep-edge);
    --atlas-text:var(--deep-ink);
    --atlas-soft:var(--deep-soft);
    --atlas-muted:#c0cecf;
    --atlas-mint:var(--deep-accent);
    --atlas-amber:var(--deep-accent);
    --atlas-tangerine:var(--deep-accent);
    --atlas-rule:var(--deep-edge);
    --atlas-glass:#1a2a30;
    --ppwc-bg:#14252c;
    --ppwc-bg-2:#1b2d33;
    --ppwc-ink:var(--deep-ink);
    --ppwc-muted:var(--deep-soft);
    --ppwc-line:var(--deep-edge);
    --ppwc-gold:var(--deep-accent);
    --ppwc-gold-deep:#bbdc73;
    --ppwc-navy:#152216;
    color-scheme:dark;
  }
}

/* Older page-local rules use important colours. This named layer gives the shared
   reading surfaces and their text a single override without escalating selector weight. */
@layer public-reading {
  @media screen {
    html:has(body[data-ppw-family]:not([data-ppw-family="home"])) {background-color:#101c22!important;}
    body[data-ppw-family]:not([data-ppw-family="home"]) {
      min-height:100vh;
      min-height:100svh;
      color:var(--deep-ink)!important;
      background-color:#101c22!important;
      background-image:linear-gradient(100deg,#122026d8,#142328a6),var(--ppw-fascia-field)!important;
      background-position:center!important;
      background-size:cover!important;
      background-attachment:fixed!important;
    }
    body[data-ppw-family]:not([data-ppw-family="home"]) {
      & :is(main, .wrap, .ppw-container,.stack-page__container,.sw-wrap,.tr-shell,.cap-main,.cap-explorer,.therapy-page,.therapy-story,.therapy-atlas,#sw,#lifestyle-guide,#victor-profile,.km-map,.km-shell,.km-spread,.km-library,.km-context,.km-context[open],.ed-document,.blog-article,.blog-index):not(:where(#ppwnav *)) {
        background-color:transparent!important;
        background-image:none!important;
      }
      & :is(.hero, .public-cover,.cine-hero,.hero-carousel,.hc-slide,.tr-journey,.tr-mast,.tr-controls,.tr-route,.sw-spread,.life-part,.life-next,.vp-band,.therapy-story > section,
        .cap-cover,.cap-scene,.cap-lesson,.hero.wrap,.ed-intro,.ppw-hero-sm,.article-header,.rooms-intro,
        .bs-section,.block,.creds,.burnout-depth,.cine-block,.cta-band,.final-cta,.features,.audience,.peek,.three-paths,.booking,.why-fascia,.foundations,.stats-band,.reviews,.submit-band,.fallback-form,.email-band,.faq-block,.toc-band,.testimonial-band,
        .stack-page,.stack-hero,.stack-grid,.stack-why,.stack-cta-therapy,.v-steps,.v-vouchers,.v-book,.v-terms,.v-hero,.vp-old-intro,.reviews-grid,.ppw-section,.ppw-band,.ppw-affiliate-banner,
        .protocol-section,.creds-band,.problem-stat,.creds-block,.tr-programme,.map,.scenarios,.tiers-band,.testi-band,.notes-band,.waitlist,.shop-section,.shop-block,.hold,.cap-choices,.poster-body,.cap-workspace,.sw-footer,.ed-index,.ed-topic):not(:where(#ppwnav *)) {
        background:linear-gradient(105deg,rgba(11,23,29,.83),rgba(13,28,33,.55))!important;
        color:var(--deep-ink)!important;
        border-color:var(--deep-edge)!important;
        box-shadow:none!important;
      }
      & :is(.hero,.public-cover,.cine-hero,.tr-journey,.therapy-opening,.life-hero,.vp-hero,.sw-spread,.cap-cover) {
        background:linear-gradient(100deg,rgba(9,21,27,.81),rgba(12,29,34,.37))!important;
      }
      & :is(.bs-section,.block,.cine-block,.sw-spread,.therapy-story > section,.cap-scene,.life-part):nth-of-type(even) {
        background:linear-gradient(120deg,rgba(22,38,41,.68),rgba(18,30,35,.80))!important;
      }
      & :is(.bs-section,.block,.paper,.public-cover,.therapy-story,.cap-scene,.stack-page,.v-terms,.ppw-section,.shop-block,main,.hero,.cine-block,.stats-band,.problem-stat,.creds-band,.creds-block,.book-form,.public-cover,.foundations,.reviews,.three-paths,.tr-programme,.faq-block,.toc-band,.cta-band,.final-cta,.ppw-band,.ppw-enquiry-page,.poster,.modal,.sheet,footer,.pay,.card,.sh-body,.hold,.burnout-depth,.waitlist,.shop-section,.sw-spread,.p-card,.testi-band,.v-steps,.v-vouchers,.v-book,.hero-carousel,.tiers-band,.notes-band,.v-terms,.fallback-form,.email-band,.testimonials,.vc)
        :is(h1,h2,h3,h4,h5,p,blockquote,dt,dd,li,figcaption,legend,label,th,td,summary,small,em):not(:where(#ppwnav *)):not(.km-pin *):not(.cap-pin *):not(.deep-cover-art *):not(button *):not(.btn *):not(.cap-visual *) {
        color:var(--deep-ink)!important;
        text-shadow:none!important;
      }
      & :is(.public-cover,.hero,.block,.bs-section,.card,.p-card,.stack-card,.paper,.ppw-section,.faq-block,.hold,.tr-programme,.v-steps,.v-vouchers,.vp-band,.tr-journey,.notes-band,.cta-band,.clinic,.section,.deep-illustrated) :is(.k,.eyebrow,.mono-label,.ppw-kicker,.article-meta,.cap-about-label,.price,.price-row,.label,.kicker,.tag,.tier-label,.em,.deep-icon,.num,.seq,.stat-number),
      & :is(.ppwe-kicker,.sec-head .k,.therapy-label,.km-kicker,.source,.rail-hint,.reading-label,.f-title,.vp-kicker) {
        color:var(--deep-accent)!important;
        background-color:transparent!important;
      }
      & :is(.bs-section,.public-cover,.ppw-section,.block,.paper,.hero,.card,.poster,.cart-panel,.hold,.v-card,.cap-lesson,.therapy-story,.ppw-band,.ppw-container,main,.faq-block,.footer,.shop-block,footer,.waitlist,.sh-card,.stack-page,.map)
        a:not([style*="background:var(--accent)"],.hbtn,.wa-btn,.sw-primary,.btn-iherb,.btn-amazon,.buy-amazon,.stack-hero__video-cta,.submit-btn,.btn,.ppw-btn,.ppw-add,.km-pin,.cap-pin,.cap-pin-link,.km-choice,.ppwe-send,.hero-cta,.book,.checkout-btn,.v-buy,.tier-cta,.life-button,.vp-poster,.cta-btn,.mctl,.pg,.button,.ppwc-fab,.deep-index a):not(:where(#ppwnav *)) {
        color:var(--deep-accent)!important;
      }
      & :is(.card,.p-card,.tier,.topic,.offer,.path,.stat-card,.testimonial,.review,.found-card,.wf-card,.aud-card,.feature,.step-card,.v-card,.inside-card,.stack-card,.shop-card,.bd-card,.ps-tool,.pab-card,.callout,.callout-box,.hold-card,.receipt,.summary,.poster,.p-card,.door,.mtile,.icard,.pcard,.hcard,.ppw-card,.source-box,.choice,.pain-step,.outcome,.xcard,.lcard,.faq-block .q,.price-card,.ncard,.buy-block,.get-row,.entity,.q,.calendar,.contact-box,.ppw-affiliate-banner,.tr-programme>summary,.km-context>summary,.bs-section-navigation,.bs-quicklinks,.cap-chapters,.km-copy,.km-notes,.km-directory,.km-gateway,.km-index-card,.km-footer,.bs-footer,.therapy-atlas-link,.v-book a,.v-foot,.v-shipping,.shared-notice,.stack-disclosure,.p-meta,.vc,.pay-box,.bs-section details,.foot,.book-form,.cart-panel) {
        color:var(--deep-ink)!important;
        background:rgba(23,39,45,.87)!important;
        border-color:var(--deep-edge)!important;
        box-shadow:none!important;
      }
      & :is(.card,.shop-card,.p-card,.tier,.topic,.review,.step-card,.found-card,.wf-card,.inside-card,.v-card,.pab-card,.mtile,.hcard,.pcard,.stack-card) {
        border-radius:3px!important;
      }
      & :is(.wrap,.paper,.stage,.hold,.card,.km-map,.cap-lesson,.cap-scene,.cart-panel,.tr-programme,.ppw-section,.stack-page,.bs-footer,.block,.v-card,.three-paths,.faq-block,.p-card,.buy-block,.shop-card) :is(.lead,.hero-sub,.eyebrow,.notes,.note,.answer,.footnote,.meta,.items,.desc,.label,.fine,.copy,.value,.amount,.amt,.n,.t,.ref,.small,.muted,.sub,.more,.stars,.badge,.tag,.title,.p-title,.unit,.name,.tier-price,.bd-name,.meta-row,.km-crumbs,.km-scale,.km-cue,.km-summary,.km-model-note,.km-count,.km-section-title,.km-title,.cap-intro,.cap-page-intro,.cap-prompt,.cap-equation,.cap-view-note,.bs-help,.q,.section-title):not(:where(#ppwnav *)) {
        color:var(--deep-soft)!important;
      }
      & :is(.public-cover,.shop-card,.card,.tr-programme,.block,.ppw-section,.bs-section,.buy-block,.email-band,.cta-band,.v-card,.cart-panel,.wrap,.paper,.cap-explorer) :is(.btn,.ppw-btn,.btn-primary,.hero-cta,.cta-btn,.v-buy,.book,.tier-cta,.checkout-btn,.ppw-add,.submit-btn,.pg):not(.ghost,.secondary) {
        color:#17231c!important;
        background:#d6f583!important;
        border-color:#d6f583!important;
      }
      & :is(.btn,.ppw-btn,.hero-cta,.cta-btn,.pg,.v-buy,.book,.tier-cta) :is(span,strong,b,em,small,.accent) {color:inherit!important}
      & :is(.btn.ghost,.btn-ghost,.ppw-btn.ghost,.cta-btn.ghost,.pg.ghost,.button.secondary,.pick-opt,.filter,.filters button,.rail-nav button,.km-map button,.cap-choices button,.cap-controls button,.bs-section-navigation a,.deep-index a,.cap-chapters a) {
        color:var(--deep-ink)!important;
        background:#1d3035!important;
        border-color:#778c8f!important;
      }
      & :is(.filter,.filters button,.pick-opt,.km-map button,.cap-choices button,.cap-chapters a):is(.is-active,[aria-pressed=true],[aria-current=page],[aria-current=true]) {
        color:#17231c!important;
        background:var(--deep-accent)!important;
        border-color:var(--deep-accent)!important;
        text-decoration:none!important;
        font-weight:750!important;
      }
      & :is(dialog,.modal,.ppwe-card,.ppw-enquiry-ui,.sh-card,.sh-body,.pay,.pay-box,.ppwc-drawer,.ppwc-head,.ppwc-foot,.cart-panel,.booking .cal-head,.sheet .sheet-content,#ppw-enquiry,#ppw-enquiry .ppwe-card) {
        color:var(--deep-ink)!important;
        background:#17272d!important;
        border-color:var(--deep-edge)!important;
      }
      & :is(.ppwe-card,.ppw-enquiry-ui,.sh-card,.modal,.cart-panel,.pay,.ppwc-drawer,.cform,.reply-form,.book-form) :is(h1,h2,h3,h4,p,label,legend,span,small,strong,.ppwe-status,.ppwe-treatment,.ppwe-therapist):not(button *,a *) {
        color:var(--deep-ink)!important;
      }
      & :is(input:not([type=checkbox],[type=radio],[type=file],[type=hidden],[type=submit],[type=button],[type=color],[type=range]),textarea,select,option):not(:where(#ppwnav *)) {
        background-color:#101f25!important;color:var(--deep-ink)!important;border-color:#83979a!important;caret-color:var(--deep-accent)!important;
      }
      & :is(input,textarea)::placeholder {color:#b9c7c9!important;opacity:1}
      & :is(.sh-x,.ppwe-close,button[data-enquiry-close],.ppwc-close,.dismiss,.km-search,.km-entry,.km-related a,.km-choices a,.km-route-card,.km-actions a,.cap-topic-nav a,.cap-choices a,.cap-legend,.km-results a) {
        color:var(--deep-ink)!important;background:#20333a!important;border-color:#73868a!important;
      }
      & :is(.km-map,.km-library,.cap-explorer) :is(.km-plate,.km-viewport,.cap-visual,.km-bar,.cap-visual figure) {
        background-color:#16272e!important;border-color:#586b70!important;
      }
      & :is(.km-viewport,.cap-visual) :is(.km-tag,.cap-tag,.cap-pin-label){background:#17282e!important;color:var(--deep-ink)!important;border-color:#b7c6c8!important;}
      & :is(.km-topic-targets,.km-directory,.km-notes,.km-library,.cap-scene,.km-map) :is(.km-route-row,.km-count,.km-summary,.km-title,.km-kicker,.km-section-title,.km-cue,.km-count,.km-map-note,.km-tag,.km-index-link,.km-structure-key,.km-related,.km-actions,.km-crumbs a,summary,.cap-kicker){color:var(--deep-ink)!important;}
      & :is(.km-topic-targets .km-pin,.km-route-card,.km-topic-targets .km-tag,.km-notes-body,.km-viewer-states,.cap-legend,.cap-lesson-inner,.km-topic-targets .km-pins a, .km-library-grid>article) {background:#1b2d33!important;color:var(--deep-ink)!important;border-color:#66797e!important;}
      & :is(footer, .bs-footer, .bs-footer-meta) {background-color:#112028!important;color:var(--deep-ink)!important;}
      & :is(footer,.bs-footer) :is(a,p,small,h2,h3,h4,span,li) {color:var(--deep-soft)!important;}
      & :focus-visible:not(:where(#ppwnav *)) {outline:3px solid #e9ffc1!important;outline-offset:3px}
    }
    html body[data-ppw-family]:not([data-ppw-family="home"]) {
      & :is(.km-map .km-figure,.km-library-links a,.km-library-grid a,.km-library-filters button,.km-context .km-gateway,.km-library-filters,.km-library-grid,.cap-reading-region,.cap-model-note,.cap-sources,.cap-notes,.credentials,.credentials>div,.sc,.partner-card,.testi,.note,.wl-form,.pab-wrap,.pab-pending,.maker,.ed-figure-link,.blog-card,.ppw-legacy-film,.ppw-inline-film,.ppw-film,.who-band,.proto-card,.tr-programme .bm-bar) {
        color:var(--deep-ink)!important;background-color:#1b2c32!important;background-image:none!important;border-color:var(--deep-edge)!important;
      }
      & :is(.km-library-links,.km-library-grid,.km-library-filters,.km-gateway,.cap-reading-region,.pab-wrap,.partner-card,.foot,.callout,.credentials,.testi,.note,.sc,.blog-card,.callout-box,.wl-form,.pab-pending,.maker,.proto-card,.ppw-film,.who-band,.v-card,.phone-screen,.buy-block,.wf-card,.cart-panel,.meta-row,.get-row,.shop-card,.meta,.tier,.testimonial,.p-card,.ppw-enquiry-page) :is(p,h2,h3,h4,label,figcaption,span,small,strong,b,summary):not(.btn *):not(.ppw-btn *):not(button *):not(.cap-visual *) {color:var(--deep-ink)!important;}
      & :is(.km-gateway,.km-library-links,.km-library-grid,.cap-sources,.callout,.credentials,.testi,.blog-card,.ppw-film,.partner-card,.note,.pab-wrap,.contact-box,.foot,.proto-card,.p-card) a:not(.btn,.btn-iherb,.btn-amazon) {color:var(--deep-accent)!important;}
      & :is(.hbtn-primary,.buy-amazon,.btn-amazon,.btn-iherb,.wa-btn,.stack-hero__video-cta,.sw-primary,.cap-choices .is-current,.booking .cal-head>a) {
        background:#d6f583!important;color:#15231d!important;border-color:#d6f583!important;
      }
      & :is(.hbtn-primary,.buy-amazon,.btn-amazon,.btn-iherb,.wa-btn,.stack-hero__video-cta,.sw-primary) :is(b,strong,span) {color:#15231d!important}
      & :is(.wf-kicker,.when,.cur,.card-price,.v-dur,.v-price) {color:var(--deep-soft)!important;}
      & :is(.review,.testimonial,.proto-card) :is(.tag,.badge) {color:var(--deep-ink)!important;background:#293c42!important;border-color:var(--deep-edge)!important;}
      & :is(.badge,.p-tag,.pab-eyebrow,.stack-tag,.code,.pab-card li a,.phone-screen,.verify-band,.feat-icon) {background-color:#24393d!important;color:var(--deep-ink)!important;}
      & :is(.verify-band,.phone-screen) :is(p,a,span,strong,.phone-h,.phone-eyebrow), & .review .meta-extra {color:var(--deep-soft)!important;}
      & :is(.hbtn.hbtn-primary,.email-band .wa-btn,.sw-actions .sw-primary,.stack-card .buy-amazon,.shop-card .btn-iherb,.shop-card .btn-amazon,.submit-band .submit-btn,a[style*="background:var(--accent)"]) {color:#17231c!important;background-color:#d6f583!important;}
      & :is(.hold-card .hbtn-ghost,.stack-cta-therapy a) {color:var(--deep-ink)!important;background:#23373e!important;border-color:#849898!important;}
      & .cine-hero.public-cover > img.hero-bg-img {opacity:.17!important;}
      & .cine-hero.public-cover > video {opacity:.33!important;}
      & .cine-hero.public-cover .wrap {position:relative;z-index:2;}
      & .deep-index.deep-rail {display:grid!important;}
      & .deep-scenes.deep-rail {grid-auto-columns:clamp(9.4rem,21vw,13rem)!important;gap:.7rem;padding:1rem max(1rem,3vw)!important;}
      & .deep-scenes a {position:relative;display:flex!important;align-items:flex-end!important;isolation:isolate;overflow:hidden;min-height:6.4rem!important;min-width:0;line-height:1.2;gap:.45rem;border:0!important;border-radius:2px!important;padding:.75rem!important;color:#f7f8ef!important;background:#122028!important;text-shadow:0 1px 4px #000;}
      & .deep-scenes a::before {content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#08131afc 2%,#0b181dd6 26%,#101e2417 85%);}
      & .deep-scenes a .deep-scene-image {position:absolute!important;inset:0;z-index:-2;display:block;width:100%!important;height:100%!important;object-fit:cover!important;border:0;border-radius:0;opacity:.88;}
      & .deep-scenes .deep-icon {width:1.05rem;height:1.05rem;color:#e1ffad;align-self:flex-end;}
      & .km-map[data-map-mode=topics] .km-figure {padding:0!important;border:0!important;background:transparent!important;}
      & .km-map .km-topic-targets {margin:0;padding:clamp(.4rem,2vw,1rem);min-width:0;}
      & .km-map .deep-topic-rail {display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:clamp(14rem,54%,21rem)!important;gap:clamp(.7rem,2vw,1.4rem);overflow-x:auto;min-width:0;max-width:100%;padding:3px 3px .7rem;}
      & .km-map .deep-topic-rail .km-pin {display:flex!important;align-items:flex-end!important;position:relative!important;isolation:isolate;inset:auto!important;min-height:clamp(9.6rem,23vw,15rem)!important;width:auto!important;height:auto!important;padding:.8rem!important;overflow:hidden;border:1px solid #52676b!important;border-radius:2px!important;box-sizing:border-box;scroll-snap-align:start;background:#172a31!important;}
      & .km-map .deep-topic-rail .km-pin::before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#08161bef 1%,#0b1a20a8 26%,transparent 65%);}
      & .km-map .deep-topic-rail .km-tag {display:inline-flex!important;align-items:center;gap:.55rem;color:#f8f9ef!important;background:none!important;border:0!important;white-space:normal;font:650 1.04rem/1.2 'Public Sans',Arial,sans-serif!important;text-align:left;}
      & .km-map .deep-topic-rail .km-pin::after,& .km-map .deep-topic-rail .km-dot {display:none!important;}
      & .km-map .deep-topic-rail .deep-topic-image {display:block!important;position:absolute;inset:0;z-index:-2;width:100%!important;height:100%!important;object-fit:cover;object-position:50% 38%;opacity:.92;}
      & .km-map .deep-topic-rail [data-topic="body"] .deep-topic-image {object-fit:contain;object-position:center;}
      & .km-map .deep-topic-rail .deep-icon {color:#e1ffad;width:1.2rem;height:1.2rem;}
    }
  }
}

.deep-icon {display:inline-block;flex:none;width:1.3rem;height:1.3rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;}
.deep-index a {display:inline-flex;align-items:center;gap:.55rem;min-height:44px;padding:.4rem .7rem;font:650 .94rem/1.3 'Public Sans',Arial,sans-serif;text-decoration:none;}
.deep-index a .deep-icon {color:#d6f583}
.deep-index a:hover,.deep-index a:focus-visible {background:#283a3d;}
.deep-jumps {display:flex;flex-wrap:wrap;gap:.45rem;width:min(100% - 2rem,76rem);margin:1rem auto;}
body[data-ppw-family] .deep-rail {
  display:grid!important;
  grid-template-columns:none!important;
  grid-auto-flow:column!important;
  grid-auto-columns:min(23rem,81vw);
  justify-content:start!important;
  align-items:stretch;
  min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#90a09b #243537;
  gap:clamp(.8rem,2vw,1.7rem);
  padding-block-end:.65rem; touch-action:pan-x pan-y pinch-zoom;
}
.deep-rail > * {min-width:0;scroll-snap-align:start;}
body[data-ppw-family] .deep-index.deep-rail {grid-auto-columns:max-content;gap:.35rem;padding:.4rem .6rem .65rem;}
body[data-ppw-family] .deep-index.deep-rail a {max-width:min(17rem,78vw);white-space:normal;overflow-wrap:break-word;}
body[data-ppw-family] .deep-illustrated {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:clamp(1.1rem,5vw,6rem);}
body[data-ppw-family] .deep-illustrated .wrap {width:100%;max-width:unset;margin:0;}
.deep-cover-art {position:relative;width:100%;min-width:0;align-self:center;}
.deep-roller-film {margin:0;}
.deep-roller-film video {display:block;width:100%;height:auto;aspect-ratio:800 / 474;border-radius:2px;background:#132328;}
.deep-cover-art img {display:block;width:100%;aspect-ratio:1.6;height:auto;object-fit:cover;object-position:50% 45%;border-radius:2px;}
.deep-cover-art .deep-icon {position:absolute;bottom:.75rem;left:.75rem;width:2.75rem;height:2.75rem;padding:.6rem;border-radius:50%;color:#18251e;background:#d6f583;box-sizing:border-box;}
@media(max-width:740px){
  body[data-ppw-family] .deep-illustrated {grid-template-columns:minmax(0,1fr);gap:1.15rem;}
  .deep-cover-art img {height:clamp(9.5rem,47vw,18rem);aspect-ratio:auto;}
}
@media(prefers-reduced-motion:no-preference){
  .deep-index a .deep-icon {transition:transform 160ms ease-out}
  .deep-index a:is(:hover,:focus-visible) .deep-icon {transform:translateY(-2px)}
}
@media print {
  body[data-ppw-family] .deep-rail {display:block!important;overflow:visible;}
  .deep-cover-art,.deep-index {display:none!important}
}
