/* Shared long-form foundation guides. No scripts or remote dependencies. */
.f-guide{padding-bottom:4rem}.f-guide .s-page-hero{max-width:60rem}.f-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;color:var(--muted,#546761);font-size:.85rem;margin:1.2rem 0 0}.f-layout{display:grid;grid-template-columns:14rem minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:start}.f-toc{position:sticky;top:6rem;align-self:start}.f-toc details{border-top:2px solid #9daea4;padding-top:1rem}.f-toc summary{font-weight:700;cursor:pointer;min-height:44px}.f-toc ol{margin:.3rem 0;padding-left:1.25rem}.f-toc li{padding:.3rem 0;font-size:.9rem;line-height:1.45}.f-toc a{color:#36564d;text-decoration:none}.f-toc a:hover{text-decoration:underline}.f-content{min-width:0;max-width:53rem}.f-section{scroll-margin-top:7rem;padding:0 0 2.8rem;margin:0 0 2.8rem;border-bottom:1px solid #d7dfd6}.f-section h2{font:400 clamp(1.65rem,3vw,2.2rem)/1.2 Georgia,serif;color:#163c3e;margin:0 0 1.2rem}.f-section h3{font:600 1.18rem/1.4 system-ui,sans-serif;color:#163c3e;margin:1.7rem 0 .6rem}.f-section p,.f-section li,.f-section dd{font-size:1.04rem;line-height:1.85;overflow-wrap:anywhere}.f-section p{margin:.85rem 0}.f-section ul,.f-section ol{padding-left:1.4rem}.f-section li{margin:.55rem 0}.f-summary{background:#e9eee5;border-left:4px solid #42634d;padding:1.2rem 1.5rem;margin:0 0 2.5rem}.f-summary p{margin:.4rem 0;line-height:1.8}.f-summary strong{color:#163c3e}.f-equation{padding:1.1rem 1.25rem;margin:1.2rem 0;background:#f0f2eb;border:1px solid #d5ded3;border-radius:.35rem;color:#173d3d;font:1.08rem/1.9 Georgia,serif;white-space:normal;overflow-wrap:anywhere}.f-equation small{display:block;font: .85rem/1.6 system-ui,sans-serif;color:#4c6058;margin-top:.6rem}.f-example{padding:1.1rem 1.4rem;border-left:3px solid #ad8242;background:#faf6eb;margin:1.3rem 0}.f-example h3{margin-top:0}.f-table-wrap{overflow-x:auto;margin:1.4rem 0;border:1px solid #d5ded3;border-radius:.3rem}.f-table-wrap table{border-collapse:collapse;width:100%;font-size:.95rem;min-width:31rem}.f-table-wrap caption{text-align:left;padding:1rem;font-weight:700;color:#163c3e}.f-table-wrap th,.f-table-wrap td{padding:.85rem 1rem;text-align:left;vertical-align:top;border-bottom:1px solid #d5ded3;line-height:1.65}.f-table-wrap th{background:#e9eee5;color:#163c3e}.f-table-wrap tr:last-child td{border-bottom:0}.f-figure{margin:2rem 0;background:#fcfbf7;border:1px solid #d5ded3;border-radius:.5rem;overflow:hidden}.f-figure img{display:block;width:100%;height:auto;max-height:58rem;object-fit:contain;background:#f7f5ef}.f-figure figcaption{padding:1rem 1.3rem;font-size:.9rem;line-height:1.7;color:#40564e;border-top:1px solid #d5ded3}.f-figure figcaption a{display:inline-block;margin-top:.35rem}.f-glossary dt{font:600 1.15rem/1.5 system-ui,sans-serif;color:#163c3e;padding-top:1.3rem;scroll-margin-top:7rem}.f-glossary dd{margin:.4rem 0 1rem;padding-bottom:1.2rem;border-bottom:1px solid #dce3d9}.f-glossary dd a{font-size:.9rem}.f-faq{border-bottom:1px solid #d5ded3;padding:.4rem 0}.f-faq summary{cursor:pointer;font-weight:650;color:#163c3e;padding:.9rem .1rem;line-height:1.6;min-height:44px}.f-faq[open]{padding-bottom:1rem}.f-route-list{list-style:none;padding:0!important;counter-reset:step}.f-route-list li{counter-increment:step;border-top:1px solid #d5ded3;padding:1rem 0 1rem 2.3rem;position:relative}.f-route-list li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:1.1rem;color:#6b7f6d;font-size:.8rem;letter-spacing:.08em}.f-route-list a{font-weight:650}.f-route-list p{font-size:.95rem;margin:.3rem 0}.f-next{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;background:#163c3e;color:#f7f5ef;padding:1.7rem;border-radius:.4rem;margin:2rem 0}.f-next h2{color:inherit;font:400 1.7rem/1.3 Georgia,serif;margin:0 0 .4rem}.f-next p{margin:0;line-height:1.6}.f-next a{color:inherit;min-height:44px;padding:.5rem 0;white-space:nowrap}.f-sources li{font-size:.95rem}.f-section [id]{scroll-margin-top:7rem}.f-badge{display:inline-block;font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;padding:.25rem .55rem;border:1px solid #aab9a8;border-radius:1rem;color:#375646;margin-bottom:.6rem}
@media(max-width:900px){.f-layout{grid-template-columns:1fr;gap:2rem}.f-toc{position:static}.f-toc ol{columns:2;column-gap:2rem}.f-toc li{break-inside:avoid}.f-content{max-width:none}}
@media(max-width:540px){.f-toc ol{columns:1}.f-section p,.f-section li,.f-section dd{font-size:1rem;line-height:1.8}.f-equation{padding:.9rem;font-size:1rem}.f-summary,.f-example{padding:1rem}.f-next{display:block;padding:1.25rem}.f-next a{display:inline-block;margin-top:.8rem}.f-figure{margin-left:0;margin-right:0}.f-table-wrap table{font-size:.9rem}.f-section{padding-bottom:2rem;margin-bottom:2rem}}
@media print{.f-toc,.f-next{display:none}.f-layout{display:block}.f-content{max-width:none}.f-section{break-inside:auto}.f-figure,.f-equation{break-inside:avoid}.f-faq>summary{list-style:none}.f-faq>p{display:block}.f-table-wrap{overflow:visible}.f-table-wrap table{min-width:0}}
