/* Scoped to the existing P&ID guide. Reuses engineering-formula component markup. */
.ppid .engineering-formula-block{margin:24px 0;padding:22px;background:#f4f8fc;border:1px solid #cbdbea;border-left:4px solid #0056b3;border-radius:6px;min-width:0;max-width:100%;box-sizing:border-box}
.ppid .engineering-formula-block>p{margin:0 0 14px;font-size:16px}.ppid .engineering-formula{overflow-x:auto;max-width:100%;padding:6px 0;font-size:1.05rem}.ppid .engineering-formula-vars p{font-size:13px;line-height:1.65;margin:14px 0 0;color:#42566c}.ppid .engineering-formula mjx-container[display="true"]{margin:.5em 0!important}.ppid table caption{text-align:left;font-size:14px;font-weight:700;color:#234567;padding:12px;background:#edf3f9}.ppid .ppid-table-scroll:focus-visible{outline:3px solid #0056b3;outline-offset:3px}.ppid .ppid-toc{max-height:calc(100vh - 56px);overflow-y:auto}.ppid .ppid-toc a{padding-top:6px;padding-bottom:6px}.ppid .ppid-content{min-width:0}.ppid-section{scroll-margin-top:100px}
@media(max-width:760px){.ppid .ppid-toc{max-height:none;overflow:visible}.ppid .engineering-formula-block{padding:16px}.ppid .engineering-formula{font-size:.9rem}.ppid .engineering-formula-block>p{font-size:14px}}
@media print{.ppid .engineering-formula-block{break-inside:avoid}.ppid .engineering-formula{overflow:visible}}
