/* Resource guides: scoped styles, no homepage or existing article overrides. */
.guide-hero{padding:clamp(2.5rem,6vw,5rem) 0 2.5rem;background:#fff;border-bottom:1px solid #e2e8f0}.guide-hero .container{max-width:76rem}.guide-breadcrumbs{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.875rem;color:#475569;margin-bottom:1.5rem}.guide-breadcrumbs a{color:#1d4ed8}.guide-hero h1{max-width:22ch;font-size:clamp(2rem,4.5vw,3.4rem);line-height:1.12;letter-spacing:-.035em;color:#0b1220;margin:.65rem 0 1.2rem}.guide-hero .guide-deck{max-width:65ch;font-size:clamp(1.05rem,2vw,1.2rem);line-height:1.65;color:#475569}.guide-byline{font-size:.875rem;color:#475569;margin:1.2rem 0 0}.guide-byline a{color:#1d4ed8}.guide-section{background:#f8fafc;padding:2.5rem 0 4rem}.guide-grid{display:grid;gap:2rem;align-items:start}.guide-toc{padding:1.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:2px}.guide-toc h2{font-size:1rem;margin:0 0 .9rem;color:#0b1220}.guide-toc nav{display:grid;gap:.8rem}.guide-toc a{color:#334155;line-height:1.45;text-decoration:underline;text-underline-offset:3px}.guide-body{min-width:0;padding:clamp(1.15rem,3vw,2.5rem);background:#fff;border:1px solid #e2e8f0;border-radius:2px;color:#334155;overflow-wrap:anywhere}.guide-body p,.guide-body li{font-size:1.04rem;line-height:1.8;color:#334155}.guide-body p{margin:0 0 1rem}.guide-body h2{font-size:clamp(1.45rem,3vw,1.9rem);line-height:1.25;color:#0b1220;margin:2.5rem 0 1rem;scroll-margin-top:8rem}.guide-body h3{font-size:1.18rem;line-height:1.4;color:#0b1220;margin:1.5rem 0 .65rem}.guide-body a:not(.btn){color:#1d4ed8;text-decoration:underline;text-underline-offset:3px}.guide-body ul,.guide-body ol{padding-left:1.35rem}.guide-body li+li{margin-top:.5rem}.guide-answer{background:#eff6ff;padding:1.25rem;border-left:3px solid #2563eb;margin-bottom:1.5rem}.guide-answer p:last-child{margin-bottom:0}.guide-example{padding:1.25rem;background:#f8fafc;border:1px solid #e2e8f0;margin:1.5rem 0}.guide-example h3{margin-top:0}.guide-cta{margin-top:2.5rem;padding:clamp(1.25rem,3vw,2rem);background:#0b1220;border-radius:2px}.guide-body .guide-cta h2{margin-top:0;color:#fff}.guide-body .guide-cta p{color:#e2e8f0}.guide-cta .hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}.guide-cta .btn{border-radius:2px;white-space:normal;text-align:center}.guide-cta .btn.primary{background:#2563eb;color:#fff;border-color:#2563eb}.guide-sources{margin-top:2rem;padding-top:1.25rem;border-top:1px solid #e2e8f0}.guide-sources p,.guide-sources li{font-size:.9rem}.guide-footer-links{display:flex;flex-wrap:wrap;gap:1rem;padding:1rem 0}.guide-body :focus-visible,.guide-toc :focus-visible{outline:3px solid #2563eb;outline-offset:4px}@media(min-width:960px){.guide-grid{grid-template-columns:14rem minmax(0,1fr)}.guide-toc{position:sticky;top:7rem}.guide-body{max-width:58rem}}@media(prefers-reduced-motion:reduce){.guide-body *{scroll-behavior:auto}}@media print{.guide-toc,.guide-cta,.site-header{display:none}.guide-grid{display:block}.guide-body{border:0;padding:0}.guide-section{padding:1rem 0;background:#fff}}

.guide-body .guide-code{max-width:100%;overflow-x:auto;padding:1rem;background:#f8fafc;border:1px solid #cbd5e1;font-size:.88rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.guide-body code{font-size:.92em}

/* Author links need a cue beyond color; dark panels need light link text. */
.guide-byline a{text-decoration:underline;text-underline-offset:3px}
.guide-body .guide-cta a:not(.btn){color:#a5e4ff}
.guide-body .guide-cta a:not(.btn):hover{color:#fff}
