.cod-article{max-width:1020px;margin:0 auto;line-height:1.85;overflow-wrap:anywhere}
.cod-article [id]{scroll-margin-top:150px}
.cod-article h1{line-height:1.4;max-width:24em;text-wrap:balance}
.cod-article h2{line-height:1.5;margin:2.6rem 0 1rem}
.cod-article h3{line-height:1.55;margin:.1rem 0 .7rem}
.cod-article p{margin:.6rem 0 1rem}
.cod-intro{border-bottom:2px solid #176b64;padding-bottom:1.2rem}
.cod-eyebrow{font-weight:750;color:#176b64}
.cod-lede{font-size:1.12rem}
.cod-note,.cod-figure figcaption,.cod-sources{color:#4b5b55;font-size:.95rem}
.cod-nav{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:1rem 0}
.cod-nav a{padding:.35rem 0}
.cod-figure{margin:1.4rem 0}
.cod-stages,.cod-branches,.cod-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
.cod-stage{min-width:0;border:1px solid #bacdc4;border-top:5px solid #176b64;border-radius:12px;background:#fff;padding:1.2rem}
.cod-after{border-top-color:#946823}
.cod-stage-heading{display:flex;align-items:flex-start;gap:.8rem;border-bottom:1px solid #d5dfd8;padding-bottom:.7rem}
.cod-stage-number{flex:none;font-size:1.7rem;font-weight:800;line-height:1.3;color:#176b64;font-variant-numeric:tabular-nums}
.cod-after .cod-stage-number{color:#805819}
.cod-stage-heading h3{margin:0;font-size:1.25rem}
.cod-stage-heading h3 span{display:block;margin-top:.4rem;font-size:.9rem;font-weight:500;color:#4b5b55}
.cod-steps{list-style:none;padding:0;margin:0}
.cod-steps li{position:relative;margin:.9rem 0 0;padding:0 0 1.4rem 1.1rem;border-left:2px solid #c7d8cf}
.cod-steps li:not(:last-child)::after{content:'↓';position:absolute;bottom:-.1rem;left:.9rem;font-size:1.1rem;color:#496457}
.cod-steps p{margin:.3rem 0 0}
.cod-steps li.cod-stop{border-left-color:#176b64;background:#eef6f1;padding:.8rem 1rem;margin-top:.7rem;border-radius:0 6px 6px 0}
.cod-after .cod-steps li.cod-stop{border-left-color:#946823;background:#fbf5e9}
.cod-figure figcaption{margin-top:.8rem}
.cod-example-intro,.cod-related{padding:1.2rem;background:#fff;border:1px solid #cad6cd;border-radius:10px}
.cod-roles{margin:1.1rem 0}
.cod-roles>div{display:grid;grid-template-columns:12rem minmax(0,1fr);gap:.8rem;padding:1rem .8rem;border-bottom:1px solid #cad6cd}
.cod-roles>div:nth-child(odd){background:#edf3ed}
.cod-roles dt{font-weight:750}
.cod-roles dt span{display:inline-block;min-width:1.9rem;margin-right:.4rem;color:#176b64}
.cod-roles dd{margin:0;min-width:0}
.cod-branches>section{min-width:0;padding:1.1rem;background:#fff;border:1px solid #cad6cd;border-radius:10px}
.cod-takeaway{border-left:4px solid #946823;padding:.6rem 1rem;background:#fbf5e9}
.cod-records>section{min-width:0;padding:1.1rem;border-top:3px solid #176b64;background:#fff;border-radius:0 0 10px 10px}
.cod-article li{margin-bottom:.7rem}
.cod-article ul{padding-left:1.3rem}
.cod-sources{border-top:1px solid #cad6cd}
.cod-article a:focus-visible,.cod-article section:focus-visible{outline:3px solid #946823;outline-offset:4px}
@media(max-width:760px){.cod-stages,.cod-branches,.cod-records{grid-template-columns:1fr}.cod-roles>div{grid-template-columns:1fr;gap:.35rem}.cod-stage{padding:1rem}.cod-article h1{font-size:1.8rem}.cod-article [id]{scroll-margin-top:1rem}.cod-roles dt span{min-width:1.5rem}.cod-stage-heading{gap:.6rem}}
@media(prefers-reduced-motion:reduce){html:has(.cod-article){scroll-behavior:auto}}
@media print{.cod-stages,.cod-branches,.cod-records{display:block}.cod-stage,.cod-branches>section{break-inside:avoid}.cod-article{color:#000}}
