/* Canonical long-form editorial system; the legacy /protocol/ is its reference. */
.editorial-document{--editorial-measure:var(--reading-width);max-width:74rem;padding-inline:var(--page-gutter);margin-block:var(--space-md) var(--reading-section-gap);line-height:var(--reading-line-height)}
.editorial-document>*{min-width:0}
.editorial-document>.breadcrumbs{margin-bottom:var(--space-sm)}
.editorial-document .editorial-opening{margin:0 0 var(--reading-section-gap);padding:0;border:0}
.editorial-document .editorial-opening.has-art{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,25rem),1fr));align-items:center;gap:clamp(1rem,3vw,3rem)}
.editorial-document .document-hero{border:0;padding:0;min-width:0}
.editorial-document .document-hero h1{font-family:var(--font-editorial);font-weight:400;font-size:clamp(2.4rem,calc(4.5vw * var(--text-scale,1)),3.7rem);line-height:1.1;letter-spacing:-.035em;max-width:22ch;margin:var(--space-xs) 0 var(--space-sm);overflow-wrap:anywhere}
.editorial-document .document-hero .eyebrow{color:var(--accent);margin:0;font-size:.875rem;letter-spacing:.08em}
.editorial-document .document-hero .page-intro{font-size:1.2rem;line-height:1.65;max-width:52ch;margin:0}
.editorial-document .protocol-art{width:100%;max-width:34rem;margin:0;justify-self:center}
.editorial-document .protocol-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.editorial-document>:not(.editorial-opening,.breadcrumbs){max-width:var(--editorial-measure);margin-inline:auto}
.editorial-document>.reading-section,.editorial-document>section:not(.editorial-opening),.editorial-document .content-breadth>.reading-section{padding:0;border:0;background:transparent;margin-block:var(--reading-section-gap)}
.editorial-document :is(.reading-section,section,.content-breadth) h2{font-family:var(--font-editorial);font-size:2rem;font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:var(--reading-heading-gap) 0 var(--reading-paragraph-gap)}
.editorial-document :is(p,li){font-size:1.0625rem;line-height:var(--reading-line-height)}
.editorial-document p{margin-block:var(--reading-paragraph-gap)}
.editorial-document :is(ul,ol){padding-inline-start:1.4em}
.editorial-document li{margin-block:var(--reading-list-gap)}
.editorial-document :is(.scope-note,.reading-section.scope-note){border:0;padding:0;background:transparent}
.editorial-document .article-contents{border:0;border-bottom:1px solid var(--line);padding:0;margin-block:var(--space-sm) var(--reading-section-gap)}
.editorial-document .article-contents>summary{font-size:1rem;font-weight:400;color:var(--muted)}
.editorial-document .article-contents nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:0 1.5rem}
.editorial-document .article-contents a{font-size:1rem;line-height:1.4;padding-block:.5rem;text-decoration-thickness:1px;text-underline-offset:.2em}
.editorial-document :is(.document-history,.background-section){border:0;padding:0;background:transparent;color:var(--muted)}
.editorial-document .document-history{margin-top:var(--reading-section-gap);border-top:1px solid var(--line)}
.editorial-document .document-history :is(p,a){font-size:.875rem}
.editorial-document .document-meta{margin-top:var(--space-sm)}
.editorial-document :is(blockquote,.decision-callout){margin-inline:0;border:0;border-inline-start:3px solid var(--accent);background:transparent;padding:0 0 0 var(--space-sm)}
.editorial-document :is(.evidence-disclosure,.evidence-convention) p{font-size:.875rem}
.editorial-document :is(table,pre){max-width:100%;overflow-x:auto}
.editorial-document[data-document-kind=basics] .document-hero h1{max-width:18ch}
.editorial-document[data-document-kind=framework] .document-hero{max-width:58ch}
.editorial-document[data-document-kind=shared] .document-hero .page-intro{max-width:42ch}
@media(max-width:760px){.editorial-document .editorial-opening.has-art{gap:var(--space-sm)}.editorial-document .protocol-art{max-width:26rem}.editorial-document .document-hero h1{font-size:clamp(2.1rem,calc(7vw * var(--text-scale,1)),3.1rem)}.editorial-document .document-hero .page-intro{font-size:1.0625rem}.editorial-document :is(.reading-section,section,.content-breadth) h2{font-size:1.7rem}}
@media print{.editorial-document .editorial-opening.has-art{display:block}.editorial-document .protocol-art{display:none}}
