/* Shared explainer layout: consistent centres, card rows and content edges. */
body.pp-tool-page main .tool-explanation{width:100%;max-width:1080px;min-width:0;margin-left:auto;margin-right:auto;box-sizing:border-box}
body.pp-tool-page main :is(.vtg-intro,.bg-guide-intro){display:block!important;width:100%!important;max-width:760px!important;margin:0 auto 28px!important;text-align:center!important;padding:0!important}
body.pp-tool-page main :is(.vtg-intro,.bg-guide-intro)>h2{display:block!important;width:100%!important;max-width:none!important;margin:0 auto 12px!important;padding:0!important;text-align:center!important}
body.pp-tool-page main :is(.vtg-intro,.bg-guide-intro)>p{width:100%;max-width:720px;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
body.pp-tool-page main :is(.vtg-intro,.bg-guide-intro)>:is(.vtg-eyebrow,.bg-eyebrow){margin:0 auto 8px!important}
body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps){width:100%;padding:0!important;gap:22px!important;align-items:stretch!important}
body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps)>li{display:grid!important;grid-template-rows:250px minmax(48px,auto) 1fr;align-content:start;gap:12px;min-width:0;text-align:left}
body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps)>li>h3{margin:0!important;padding:0!important;min-width:0;text-align:left}
body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps)>li>p{margin:0!important;padding:0!important;min-width:0;text-align:left}
body.pp-tool-page main :is(.vtg-steps .vtg-art,.bg-guide-steps .bg-step-art){width:100%;height:250px!important;min-height:0!important;max-height:250px!important;aspect-ratio:auto!important;box-sizing:border-box;overflow:hidden;border-radius:14px}
body.pp-tool-page main .vtg-steps .vtg-art>img,body.pp-tool-page main .bg-guide-steps .bg-step-art>img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;aspect-ratio:auto!important}
body.pp-tool-page main .vtg-steps .rpg-distinct{padding:16px 12px 36px!important;gap:8px!important;justify-content:center!important}
body.pp-tool-page main .vtg-steps .rpg-distinct>img{height:164px!important;max-height:164px!important;flex-shrink:0}
body.pp-tool-page main .vtg-steps .rpg-distinct-meta{margin:0;flex-shrink:0;text-align:center}
body.pp-tool-page main .vtg-steps .rpg-setting{margin:0;min-height:28px;display:flex;align-items:center;justify-content:center;padding:5px 9px;line-height:1.4}
body.pp-tool-page main :is(.vtg-example,.bg-example){width:100%;min-width:0;box-sizing:border-box;align-items:center}
body.pp-tool-page main :is(.vtg-example,.bg-example)>*{min-width:0}
body.pp-tool-page main :is(.tool-explanation-checks,.tool-explanation-faq,.tool-explanation-related){width:100%;box-sizing:border-box;text-align:left}
body.pp-tool-page main .tool-explanation-related>:is(h2,.tool-related-intro){margin-left:0!important;margin-right:0!important;text-align:left!important}
body.pp-tool-page main .tool-related-links{width:100%;padding:0;margin-left:0;margin-right:0;align-items:stretch}
body.pp-tool-page main .tool-related-links>a{min-width:0;align-items:center;min-height:88px;box-sizing:border-box}
@media(max-width:700px){
 body.pp-tool-page main :is(.vtg-intro,.bg-guide-intro){margin-bottom:24px!important}
 body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps){grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
 body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps)>li{grid-template-rows:220px auto auto;gap:12px}
 body.pp-tool-page main :is(.vtg-steps .vtg-art,.bg-guide-steps .bg-step-art){height:220px!important;max-height:220px!important}
 body.pp-tool-page main .vtg-steps .rpg-distinct{padding:12px 10px 32px!important}
 body.pp-tool-page main .vtg-steps .rpg-distinct>img{height:144px!important;max-height:144px!important}
 body.pp-tool-page main :is(.vtg-steps,.bg-guide-steps)>li>h3{min-height:0}
 body.pp-tool-page main .tool-related-links{grid-template-columns:minmax(0,1fr)}
}

/* Keep section anchors clear of the shared navigation. */
body.pp-tool-page main :is(#tool-guide,#tool-how-title,#tool-related-title,.vtg-intro,.bg-guide-intro){scroll-margin-top:104px}
@media(max-width:1050px){body.pp-tool-page main :is(#tool-guide,#tool-how-title,#tool-related-title,.vtg-intro,.bg-guide-intro){scroll-margin-top:92px}}
