/* R14 legacy documents only. The homepage and global templates never match. */
body.phx-internal-r14 .phxin14-legacy{--phxlegacy-ink:#2b2349;--phxlegacy-muted:#655e78;--phxlegacy-line:#e6e1ef;direction:rtl;text-align:right}
body.phx-internal-r14 .phxin14-legacy .phxin14-content,
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source,
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro{min-width:0;max-width:100%;width:100%}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro)>.elementor{width:100%;max-width:100%;min-width:0;margin-inline:0}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) :where(.e-con,.e-con-inner,.elementor-section,.elementor-container,.elementor-row,.elementor-column,.elementor-widget-wrap,.elementor-widget){min-width:0;max-width:100%;box-sizing:border-box}
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source>.elementor>.e-con,
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source>.elementor>.elementor-section{width:100%!important;margin-inline:0!important;padding-inline:0!important;--container-max-width:100%;--content-width:100%}
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source>.elementor>.e-con>.e-con-inner,
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source>.elementor>.elementor-section>.elementor-container{width:100%;max-width:100%;margin-inline:0}
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro{padding:24px 28px;margin-bottom:28px;border:1px solid var(--phxlegacy-line);border-radius:22px;background:#fbf9fd}
/* A prior generated banner contributes its unique copy and actions, not a second hero. */
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro :where(.phx-phero,.phxu-banner){display:block!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--phxlegacy-ink)!important;--phx-r5-photo:none}
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro :where(.phx-phero,.phxu-banner)::before,
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro :where(.phx-phero,.phxu-banner)::after{content:none!important;display:none!important}
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro .phx-phero>.e-con-inner{display:block!important;width:100%!important;min-height:0!important;padding:0!important;gap:14px}
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro .phx-phero>.e-con-inner>.e-con{width:100%!important;flex-basis:auto!important;padding:0!important}
body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro :where(.phx-h1,.phxu-source-title,.phxin14-title-origin):empty{min-height:0!important;margin:0!important;padding:0!important}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) :where(h2,h3,h4){color:var(--phxlegacy-ink);line-height:1.65;scroll-margin-top:120px;overflow-wrap:anywhere}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) h2{font-size:clamp(23px,2.1vw,31px);margin-block:1.35em .65em}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) h3{font-size:clamp(19px,1.55vw,24px);margin-block:1.2em .55em}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) :where(p,li){line-height:2.05;color:var(--phxlegacy-muted);overflow-wrap:break-word}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) :where(.elementor-widget-text-editor,.elementor-widget-heading){direction:rtl!important;text-align:right!important}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-source-intro) :where(.phx-lead,.phxu-banner-lead){font-size:17px!important;color:var(--phxlegacy-muted)!important;max-width:none!important}
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source :where(img,video,iframe,svg){max-width:100%;box-sizing:border-box}
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source img{height:auto;vertical-align:middle}
body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source :where(figure,.wp-caption){max-width:100%;margin-inline:0}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-consultation-guide) table{max-width:100%;width:100%!important;border-collapse:collapse;font-size:15px;line-height:1.9;margin-block:20px;color:var(--phxlegacy-ink)}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-consultation-guide) :where(th,td){width:auto!important;padding:14px 16px;border:1px solid var(--phxlegacy-line);vertical-align:top;text-align:right;overflow-wrap:anywhere}
body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-consultation-guide) th{background:#f5f1fa;color:var(--phxlegacy-ink);font-weight:700}
body.phx-internal-r14 .phxin14-legacy .phxin14-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
body.phx-internal-r14 .phxin14-legacy .phxin14-table-scroll caption{text-align:right;font-weight:700;margin-bottom:12px}
body.phx-internal-r14 .phxin14-legacy .phxin14-consultation-guide{margin-top:44px;padding-top:36px;border-top:1px solid var(--phxlegacy-line)}
body.phx-internal-r14 .phxin14-legacy .phxin14-toc{list-style:none;display:grid;gap:0;padding:0;margin:0 0 24px}
body.phx-internal-r14 .phxin14-legacy .phxin14-reading-aside{max-height:calc(100svh - 140px);overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
body.phx-internal-r14 .phxin14-legacy .phxin14-toc li{margin:0;border-bottom:1px solid var(--phxlegacy-line)}
body.phx-internal-r14 .phxin14-legacy .phxin14-toc a{display:block;padding:11px 0;color:var(--phxlegacy-ink);font-size:14px;line-height:1.9;text-decoration:none;overflow-wrap:anywhere;transition:color .16s ease}
body.phx-internal-r14 .phxin14-legacy .phxin14-toc a:hover{color:#7d4fad}
body.phx-internal-r14 .phxin14-legacy .phxin14-reading-aside>.phxin14-primary{display:flex;justify-content:center;align-items:center;min-height:50px;padding:12px 18px;margin-block:20px 12px;border-radius:12px;background:#ffae1a;color:#231b3c;font-weight:750;text-decoration:none;line-height:1.7}
body.phx-internal-r14 .phxin14-legacy .phxin14-reading-aside>.phxin14-link{display:block;padding-block:10px;color:var(--phxlegacy-ink);text-decoration:underline;text-underline-offset:5px;line-height:1.8}
body.phx-internal-r14 .phxin14-legacy .phxin14-actions>.phxin14-primary{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 24px;background:#ffae1a;color:#231b3c;border-radius:12px;font-weight:750;text-decoration:none;line-height:1.8}
body.phx-internal-r14 .phxin14-legacy a.phxin14-link{display:inline-flex;align-items:center;min-height:44px;color:#5d3e83;font-weight:700;text-decoration:underline;text-underline-offset:5px;line-height:1.8}
body.phx-internal-r14 .phxin14-legacy a:focus-visible{outline:3px solid #a76fce;outline-offset:4px;border-radius:5px}
body.phx-internal-r14 .phxin14-legacy .phxin14-preserved-anchor{display:block;scroll-margin-top:120px}
body.phx-internal-r14 .phxin14-legacy .phxin14-wayfinding{margin-bottom:36px}
body.phx-internal-r14 .phxin14-legacy .phxin14-wayfinding .phxin14-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1024px){
 body.phx-internal-r14 .phxin14-legacy .phxin14-reading-aside{position:static!important;max-height:none!important;overflow:visible!important}
 body.phx-internal-r14 .phxin14-legacy .phxin14-toc{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
}
@media(max-width:767px){
 body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro{padding:20px 18px;border-radius:18px}
 body.phx-internal-r14 .phxin14-legacy .phxin14-toc{grid-template-columns:1fr}
 body.phx-internal-r14 .phxin14-legacy .phxin14-reading-aside .phxin14-toc{max-height:300px;overflow:auto;overscroll-behavior:contain}
 body.phx-internal-r14 .phxin14-legacy .phxin14-wayfinding .phxin14-grid{grid-template-columns:1fr}
 body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source table{display:block;overflow-x:auto;overscroll-behavior-inline:contain}
 body.phx-internal-r14 .phxin14-legacy :where(.phxin14-legacy-source,.phxin14-consultation-guide) :where(th,td){padding:12px;min-width:100px}
 body.phx-internal-r14 .phxin14-legacy .phxin14-source-intro .phx-phero :where(.phx-h1,.phxin14-source-heading){font-size:23px!important;line-height:1.7!important}
 body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source :where(.elementor-container,.elementor-row){flex-wrap:wrap}
 body.phx-internal-r14 .phxin14-legacy .phxin14-legacy-source .elementor-column{max-width:100%}
}
@media(prefers-reduced-motion:reduce){body.phx-internal-r14 .phxin14-legacy *{scroll-behavior:auto!important;transition:none!important}}
