/* Neutral PHE encyclopedia; scoped to avoid CuAl and vendor-page regressions. */
.phe-topic{--pt-ink:var(--theme-page-title,#182f38);--pt-muted:var(--theme-page-muted,#49616b);--pt-line:var(--shell-border,#cddcde);--pt-paper:var(--neutral-50,#f5f8f7);--pt-accent:var(--theme-link,#0a5968)}
.phe-topic .pt-wrap{max-width:1240px;margin:0 auto;padding:30px clamp(18px,4vw,58px) 70px;color:var(--pt-ink);background:var(--pt-paper);border-radius:20px;font:17px/1.65 system-ui,sans-serif;overflow-wrap:anywhere}
.pt-wrap *{box-sizing:border-box}.pt-wrap a{color:var(--pt-accent);text-underline-offset:4px}.pt-wrap a:hover{text-decoration-thickness:2px}.pt-wrap :focus-visible{outline:3px solid #bd501d;outline-offset:4px}.pt-wrap p{margin:0 0 1em}.pt-wrap h1,.pt-wrap h2,.pt-wrap h3{color:var(--pt-ink);line-height:1.18;text-wrap:balance}.pt-wrap h1{font-size:clamp(32px,4vw,56px);letter-spacing:normal;margin:16px 0 24px;font-weight:680}.pt-wrap h2{font-size:clamp(26px,3vw,36px);letter-spacing:normal;margin:0 0 26px}.pt-wrap h3{font-size:21px;margin:0 0 13px}.pt-wrap h4{font-size:18px}.pt-eyebrow{font-size:11px;font-weight:750;letter-spacing:.15em;color:#226776}.pt-lead{font-size:19px;line-height:1.65;color:var(--pt-muted)}
.pt-crumbs{font-size:13px;color:var(--pt-muted)}.pt-languages{display:flex;gap:10px;justify-content:flex-end;font-size:14px;margin:10px 0}.pt-languages [aria-current]{font-weight:700;text-decoration:none}.pt-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:38px;align-items:center;padding:40px 0 54px}.pt-hero>div{min-width:0}.pt-diagram{margin:0;background:#fff;border:1px solid var(--pt-line);border-radius:22px;padding:22px 18px;box-shadow:0 16px 50px #18404c09}.pt-diagram svg{display:block;width:100%;height:auto;font:16px system-ui,sans-serif}.pt-diagram figcaption{font-size:12px;line-height:1.55;color:var(--pt-muted);padding:0 14px}.pt-spotlight{padding:40px;border:1px solid var(--pt-line);border-radius:24px;background:#edf3f4;font-size:15px}.pt-spotlight span{display:block;font-size:100px;line-height:1;color:#0a5968;margin-bottom:25px}
.pt-toc{display:flex;flex-wrap:wrap;gap:8px 22px;padding:20px 0;border-block:1px solid var(--pt-line);font-size:14px}.pt-section{padding:52px 0;border-bottom:1px solid var(--pt-line);scroll-margin-top:100px}.pt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pt-card{padding:25px;background:#fff;border:1px solid var(--pt-line);border-radius:15px;min-width:0}.pt-card p{font-size:15px;color:var(--pt-muted);margin-bottom:0}.pt-card h3 a{text-decoration:none}.pt-number{display:block;font-size:13px;color:#6b878f;font-weight:750;margin-bottom:20px}.pt-types .pt-card:last-child{grid-column:1/-1}.pt-parts{list-style:none;counter-reset:parts;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.pt-parts li{counter-increment:parts;position:relative;padding:0 0 0 54px}.pt-parts li:before{content:counter(parts,decimal-leading-zero);position:absolute;left:0;top:1px;color:#337382;border:1px solid #96b9be;border-radius:50%;width:35px;height:35px;text-align:center;font-size:12px;line-height:33px}.pt-parts p{font-size:15px;color:var(--pt-muted)}.pt-notes{padding-top:24px}.pt-notes .pt-card{background:#eaf2f3}
.pt-actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin-top:24px}.pt-button,.pt-wrap button{font:inherit;font-size:14px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border:1px solid var(--theme-border);border-radius:var(--r-btn);cursor:pointer;background:var(--neutral-0);color:var(--theme-page-copy)!important;text-decoration:none}
.pt-wrap button:not(:disabled):hover:where(:not([aria-disabled="true"])){background:var(--neutral-50);border-color:var(--theme-border-strong)}
.pt-wrap button:not(:disabled):active:where(:not([aria-disabled="true"])){background:var(--neutral-100);border-color:var(--theme-border-strong)}
/* Primary task actions; utility and draft-recovery controls remain secondary. */
.pt-wrap .pt-button,.pt-wrap button[data-phe-action="generate"],.pt-wrap button[data-phe-action="calculate"]{background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-primary-contrast)!important}
.pt-wrap .pt-button:not([aria-disabled="true"]):hover:where(:not(:disabled):not([aria-disabled="true"])),.pt-wrap button[data-phe-action="generate"]:not(:disabled):hover:where(:not(:disabled):not([aria-disabled="true"])),.pt-wrap button[data-phe-action="calculate"]:not(:disabled):hover:where(:not(:disabled):not([aria-disabled="true"])){background:var(--theme-primary-hover);border-color:var(--theme-primary-hover);color:var(--btn-primary-text-hover)!important}
.pt-wrap .pt-button:not([aria-disabled="true"]):active:where(:not(:disabled):not([aria-disabled="true"])),.pt-wrap button[data-phe-action="generate"]:not(:disabled):active:where(:not(:disabled):not([aria-disabled="true"])),.pt-wrap button[data-phe-action="calculate"]:not(:disabled):active:where(:not(:disabled):not([aria-disabled="true"])){background:var(--theme-primary-active);border-color:var(--theme-primary-active);color:var(--btn-primary-text-active)!important}.pt-wrap button:disabled{opacity:.45;cursor:not-allowed}.pt-callout{padding:34px;margin:40px 0 0;border-radius:20px;background:#e3eef0}.pt-callout p{max-width:740px;color:var(--pt-muted)}.pt-family-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:34px}.pt-family-links a{display:block;border:1px solid var(--pt-line);padding:17px;border-radius:9px;background:#fff;font-size:15px;font-weight:650;text-decoration:none}.pt-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--pt-line);border-radius:12px;background:#fff}.pt-wrap table{width:100%;border-collapse:collapse;font-size:14px}.pt-wrap caption{text-align:left;padding:15px 18px;font-weight:700;background:#edf3f4}.pt-wrap th,.pt-wrap td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--pt-line)}.pt-wrap thead th{font-size:12px;color:var(--pt-muted)}.pt-wrap tr:last-child td,.pt-wrap tr:last-child th{border-bottom:0}.pt-wrap table a{white-space:nowrap}
.pt-form{margin-top:30px}.pt-form fieldset{margin:26px 0;padding:24px;border:1px solid var(--pt-line);border-radius:13px;min-width:0;background:#fff}.pt-form legend{font-size:19px;font-weight:650;padding:0 10px;color:var(--pt-ink)}.pt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pt-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.45;min-width:0;font-weight:600}.pt-form input,.pt-form select,.pt-form textarea{width:100%;min-width:0;max-width:100%;border:1px solid #9cb0b6;border-radius:7px;min-height:46px;padding:11px 12px;background:#fff;color:#182f38;font:16px/1.5 system-ui,sans-serif}.pt-form textarea{resize:vertical}.pt-form label small{font-weight:400;color:var(--pt-muted)}.pt-form [aria-invalid="true"]{border:2px solid #a7371d}.pt-hint,.pt-form fieldset>p{font-size:13px;color:var(--pt-muted)}.pt-hint{margin-top:18px!important}.pt-form [data-phe-status]{margin:20px 0;font-weight:600}.pt-result{margin-top:25px;padding:24px;background:#eaf2f3;border-radius:13px}.pt-result textarea{font-size:14px}.pt-result li{font-size:14px}.pt-form [data-phe-print]{display:none}.pt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.pt-hero{grid-template-columns:1fr;gap:24px;padding-top:24px}.pt-diagram{max-width:640px}.pt-lead{font-size:18px}}
@media(max-width:600px){.phe-topic .pt-wrap{padding:24px 18px 60px;border-radius:12px;font-size:16px}.pt-grid,.pt-parts,.pt-fields,.pt-family-links{grid-template-columns:1fr}.pt-section{padding:34px 0}.pt-card{padding:20px}.pt-callout{padding:24px}.pt-actions{gap:12px}.pt-button,.pt-wrap button{width:100%}.pt-form fieldset{padding:16px}.pt-result{padding:17px}.pt-toc{gap:10px 16px}.pt-wrap th,.pt-wrap td{padding:12px}.pt-diagram{padding:16px 8px}.pt-hero{padding-bottom:30px}.pt-parts{gap:22px}}
@media print{.phe-topic header,.phe-topic aside,.phe-topic .skip,.phe-topic .mobile-bottom-nav{display:none!important}.phe-topic .app-content{margin:0!important;padding:0!important}.phe-topic .pt-wrap{background:#fff!important;color:#000!important;padding:0;max-width:none}.phe-topic:has([data-phe-print]:not(:empty)) .pt-wrap>*{display:none!important}.phe-topic:has([data-phe-print]:not(:empty)) .pt-wrap>#brief{display:block!important;border:0;padding:0}.phe-topic:has([data-phe-print]:not(:empty)) #brief>*{display:none!important}.phe-topic:has([data-phe-print]:not(:empty)) #brief>.pt-form{display:block!important}.phe-topic:has([data-phe-print]:not(:empty)) .pt-form>*{display:none!important}.phe-topic .pt-form>[data-phe-print]:not(:empty){display:block!important;white-space:pre-wrap;font:11pt/1.5 system-ui,sans-serif;overflow-wrap:anywhere}.pt-wrap a{color:inherit;text-decoration:none}}
/* PHE task paths and evidence-bound editorial sections, October 2026. */
.pt-hero{padding:25px 0 30px;gap:26px}.pt-eyebrow{font-size:12px}.pt-crumbs{font-size:14px}.pt-journeys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.pt-journeys a{display:flex;flex-direction:column;gap:8px;border:1px solid #9bbbc1;border-top:4px solid var(--pt-accent);border-radius:8px;padding:20px;background:white;text-decoration:none}.pt-journeys strong{font-size:19px;line-height:1.3}.pt-journeys span{font-size:15px;line-height:1.45;color:var(--pt-muted)}.pt-scope{font-size:14px;color:var(--pt-muted);max-width:85ch}.pt-editorial{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 34px}.pt-editorial article{scroll-margin-top:100px;min-width:0}.pt-editorial article p,.pt-parts p,.pt-card p{font-size:16px}.pt-editorial h3{font-size:21px}.pt-related{display:flex;flex-wrap:wrap;gap:12px 25px;margin:22px 0 12px;font-size:16px}.pt-evidence{font-size:13px;color:var(--pt-muted);margin:20px 0 0!important}.pt-evidence a{color:var(--pt-muted)}.pt-comparison{min-width:700px;table-layout:fixed}.pt-comparison th:first-child{width:23%}.pt-comparison a{white-space:normal!important}.pt-comparison td{vertical-align:top}.pt-comparison tbody th{vertical-align:top;font-size:15px}.pt-wrap thead th{font-size:14px}.pt-diagram figcaption{font-size:13px}.pt-section>p{max-width:88ch}.pt-form [data-phe-task-hint]{margin:16px 0 0;font-size:14px;color:var(--pt-muted)}
@media(max-width:700px){.pt-journeys,.pt-editorial{grid-template-columns:1fr}.pt-journeys a{padding:16px}.pt-hero .pt-diagram{max-width:400px}.pt-hero h1{font-size:34px}.pt-editorial{gap:24px}.pt-section{padding:34px 0}.pt-wrap table{font-size:14px}}
.pt-hero>.pt-journeys{grid-column:1/-1;margin-bottom:0}
.pt-product-hero{margin:0;min-width:0;align-self:center}.pt-product-hero img{display:block;width:100%;height:auto;border-radius:16px}.pt-product-hero figcaption{font-size:12px;line-height:1.5;color:var(--pt-muted);text-align:center;margin-top:8px}.pt-toc-grouped{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 30px;padding:30px 0}.pt-toc-group{min-width:0}.pt-toc-group strong{font-size:15px;color:var(--pt-ink);display:block;margin-bottom:11px}.pt-toc-group ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.pt-toc-group a{font-size:14px;line-height:1.5;text-decoration:none}.pt-toc-group a:hover{text-decoration:underline}.pt-anchor{display:block;position:relative;top:-105px;visibility:hidden}.pt-hero:has(.pt-product-hero){grid-template-columns:1fr 1.1fr;gap:15px}.pt-hero:has(.pt-product-hero) h1{font-size:clamp(32px,3.5vw,52px)}
.pt-parts h3 a{text-decoration-thickness:1px;text-underline-offset:4px}.pt-components{display:grid;gap:30px}.pt-components article{scroll-margin-top:105px;padding:24px;border:1px solid var(--pt-line);border-radius:12px;background:#fff;min-width:0}.pt-components h3{margin-top:0}.pt-components dl{display:grid;grid-template-columns:minmax(145px,1fr) 4fr;gap:12px 24px;margin-bottom:0;font-size:15px;line-height:1.65}.pt-components dt{font-weight:650;color:var(--pt-ink)}.pt-components dd{margin:0;color:var(--pt-muted)}
@media(max-width:600px){.pt-components article{padding:20px}.pt-components dl{grid-template-columns:1fr;gap:6px}.pt-components dd+dt{margin-top:12px}}
@media(max-width:900px){.pt-hero:has(.pt-product-hero){grid-template-columns:1fr}.pt-product-hero{max-width:640px;width:100%;justify-self:center}.pt-toc-grouped{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pt-toc-grouped{grid-template-columns:1fr;gap:20px}.pt-toc-group ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}.pt-toc-group a{font-size:14px}.pt-hero>.pt-product-hero{order:2}.pt-product-hero figcaption{font-size:12px}.pt-hero:has(.pt-product-hero){gap:14px}}
@media(max-width:700px){.pt-hero>div{order:1}.pt-hero>.pt-journeys{order:2;gap:8px}.pt-hero>.pt-diagram{order:3}.pt-journeys a{padding:12px 14px;gap:5px}.pt-journeys strong{font-size:17px}.pt-journeys span{font-size:14px}.pt-hero .pt-lead{font-size:17px;line-height:1.6}.pt-hero .pt-actions{margin-top:18px}}
@media(max-width:700px){.pt-comparison{min-width:0;display:block;table-layout:auto}.pt-comparison caption{display:block}.pt-comparison thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.pt-comparison tbody,.pt-comparison tr,.pt-comparison tbody th,.pt-comparison td{display:block;width:100%!important}.pt-comparison tr{padding:16px;border-bottom:1px solid var(--pt-line)}.pt-comparison tbody th{font-size:20px;padding:0 0 14px;border:0}.pt-comparison td{padding:0 0 14px;border:0;line-height:1.55}.pt-comparison td:last-child{padding-bottom:0}.pt-comparison td:before{content:attr(data-label);display:block;font-size:14px;font-weight:650;color:var(--pt-muted);margin-bottom:4px}.pt-comparison tr:last-child{border-bottom:0}}

/* Reference visual grammar v1: seven semantic chapters, compact peers, adjacent explanations. */
.pt-toc-group strong{display:flex;gap:9px;align-items:flex-start}
.pt-group-icon{flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1;color:var(--pt-accent);font-variation-settings:'FILL' 0,'wght' 200,'GRAD' 0,'opsz' 24}
.pt-chapter{margin-top:60px;scroll-margin-top:100px}
.pt-chapter-head{display:flex;align-items:center;gap:13px;padding:16px 20px;border-left:3px solid var(--theme-primary,var(--pt-accent));background:var(--theme-soft-bg,#edf3f4);border-radius:0 8px 8px 0}
.pt-chapter-head p{margin:0;font-size:18px;line-height:1.4}
.pt-chapter-number{font-size:12px;font-weight:650;color:var(--pt-muted);font-variant-numeric:tabular-nums}
.pt-chapter-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 38px}
.pt-chapter-body>.pt-section{min-width:0;padding:32px 0}
.pt-chapter-body>.pt-section h2{font-size:clamp(24px,2.3vw,31px);margin-bottom:20px}
.pt-section-wide{grid-column:1/-1}
.pt-explainer{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:30px;align-items:start}
.pt-explainer-copy{min-width:0}.pt-explainer-copy p:last-child{margin-bottom:0}
.pt-explainer .pt-diagram{padding:18px 16px;box-shadow:none;border-radius:12px}
.pt-flow-legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:16px;line-height:1.45;font-weight:600}
.pt-flow-hot{color:#a83e19}.pt-flow-cold{color:#176487}
.pt-flow-key{font-size:16px;line-height:1.5;margin:0 0 12px!important;color:var(--pt-ink)}
.pt-product-hero img{max-height:420px;object-fit:contain}
.pt-diagram[data-visual=channel-flow] svg{margin:4px 0;width:100%;height:auto}
.pt-diagram[data-visual=channel-flow] figcaption{font-size:14px;padding:0;line-height:1.55}
.pt-hero:has(.pt-product-hero){grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:30px}
.pt-wrap :focus-visible{outline-color:var(--theme-link,#0a5968)}
@media(max-width:1000px){.pt-explainer{grid-template-columns:1fr}.pt-explainer .pt-diagram{max-width:620px;width:100%}}
@media(max-width:900px){.pt-hero:has(.pt-product-hero){grid-template-columns:1fr}}
@media(max-width:700px){.pt-chapter{margin-top:40px}.pt-chapter-head{padding:13px 14px;gap:10px}.pt-chapter-head p{font-size:17px}.pt-chapter-body{grid-template-columns:1fr;gap:0}.pt-chapter-body>.pt-section{padding:26px 0}.pt-chapter-body>.pt-section h2{font-size:26px}.pt-explainer{gap:22px}.pt-flow-legend{font-size:16px}.pt-product-hero img{max-height:280px}}
@media print{.pt-chapter{break-before:auto;margin-top:26px}.pt-chapter-head{break-after:avoid;background:transparent}.pt-chapter-body{display:block}.pt-diagram{break-inside:avoid}}

/* Bounded single-phase balance, using existing theme tokens. */
.phe-topic .pt-balance-sides{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.phe-topic .pt-balance-sides fieldset{min-width:0}
.phe-topic .pt-balance-formulas{overflow-wrap:anywhere}
.phe-topic [data-phe-balance-result]{padding:16px;border:1px solid var(--neutral-300,#ccd4da);border-radius:12px;margin-top:16px}
.phe-topic [data-phe-balance-result] dl{display:grid;grid-template-columns:1fr auto;gap:12px}
.phe-topic [data-phe-balance-result] dd{margin:0;font-weight:600}
.phe-topic #thermal-balance{scroll-margin-top:96px}
.phe-topic .pt-program-entry{margin-block:24px}
@media(max-width:700px){.phe-topic .pt-balance-sides{grid-template-columns:1fr}.phe-topic [data-phe-balance-result] dl{grid-template-columns:1fr}.phe-topic [data-phe-balance-result] dd{margin-bottom:8px}}

/* Scoped recovery notice: readable user data, no competing navigation. */
.phe-topic .pt-draft-recovery{border:1px solid var(--pt-line,#ccd7de);border-radius:12px;padding:20px;margin:20px 0;background:#f5f8fa;overflow-wrap:anywhere}.phe-topic .pt-draft-recovery [hidden]{display:none}.phe-topic .pt-draft-recovery dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px}.phe-topic .pt-draft-recovery dt{font-weight:600}.phe-topic .pt-draft-recovery dd{margin:0;white-space:pre-wrap}.phe-topic .pt-draft-recovery button{min-height:44px}.phe-topic #legacy-draft-recovery{scroll-margin-top:96px}@media(max-width:480px){.phe-topic .pt-draft-recovery{padding:14px}.phe-topic .pt-draft-recovery dl{grid-template-columns:minmax(0,1fr)}.phe-topic .pt-draft-recovery dd{margin-bottom:12px}}

/* Existing PHE mobile geometry, shared by the overview and direct children. */
@media(max-width:600px){
  body.phe-topic .site-header .nav{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 10px;padding:6px 12px}
  body.phe-topic .site-header .burger{width:44px;min-height:44px;margin:0}
  body.phe-topic .site-header .brand{justify-self:start;max-width:none;min-width:0}
  body.phe-topic .site-header .brand .upgr-logo{height:32px}
  body.phe-topic .site-header .brand img{height:32px;width:auto;max-width:180px}
  body.phe-topic .site-header .grow{display:none}
  body.phe-topic .site-header .header-icons{grid-column:1/-1;justify-self:end;gap:6px}
  body.phe-topic .site-header .icon-btn,body.phe-topic .site-header .personal-entry{width:44px;min-width:44px;min-height:44px}
  body.phe-topic .site-header .language-switch button{min-width:44px;min-height:44px}
  .phe-topic .pt-section,.phe-topic .pt-editorial article,.phe-topic .pt-components article,.phe-topic #thermal-balance,.phe-topic #legacy-draft-recovery{scroll-margin-top:calc(var(--header-height,112px) + 18px)}
  .phe-topic .pt-form :is(input,select,textarea,button){scroll-margin-block:calc(var(--header-height,112px) + 18px) 90px}
}
