/* Release28: title > example > explanation > chapter label.
   A single bounded scale, with contextual roles for compact notes and directories.
   The hero, reading excerpts, form fields, and motion are deliberately untouched. */
body.hierarchy-28{
 --h28-section:clamp(1.625rem,2.8vw,2rem);
 --h28-subsection:1.375rem;
 --h28-note:1.0625rem;
}
body.edition-27.hierarchy-28 main :is(h2,.h28-section-title){
 font-family:var(--ds-display);font-size:var(--h28-section);font-weight:500;
 font-style:normal;line-height:1.2;letter-spacing:-.035em;text-transform:none;
 text-wrap:balance;color:var(--ds-ink);
}
body.edition-27.hierarchy-28 main :is(h3,.h28-subsection-title){
 font-family:var(--ds-display);font-size:var(--h28-subsection);font-weight:450;
 font-style:normal;line-height:1.3;letter-spacing:-.025em;text-transform:none;
 text-wrap:balance;color:var(--ds-ink);
}
body.edition-27.hierarchy-28 main :is(.h28-note-title,.h28-catalog-title){
 font-family:var(--ds-body);font-size:var(--h28-note);font-weight:500;
 line-height:1.4;letter-spacing:-.012em;text-transform:none;color:var(--ds-ink);
 text-wrap:pretty;margin:0 0 10px;
}
/* Chapter references remain quiet metadata, never a substitute for a title. */
body.edition-27.hierarchy-28 main .ds-eyebrow{font-size:.75rem;line-height:1.5}
body.edition-27.hierarchy-28 main .ds-ref{font-size:.75rem;line-height:1.6}
body.edition-27.hierarchy-28 .hm-diagnosis > .hm-section-top{
 display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;
 gap:10px 30px;margin-bottom:26px;
}
body.edition-27.hierarchy-28 .hm-diagnosis > .hm-section-top h2{margin:0;max-width:25ch}
body.edition-27.hierarchy-28 .hm-diagnosis > .hm-section-top .ds-ref{padding:0}
body.edition-27.hierarchy-28 .hm-diagnosis-intro{padding-top:0}
body.edition-27.hierarchy-28 .h28-example-title{margin:16px 0 20px;max-width:28ch}
body.edition-27.hierarchy-28 .hm-diagnosis-folio{margin-top:22px}
body.edition-27.hierarchy-28 .hm-habit-treatment > p:nth-child(2){font-size:.9375rem}
body.edition-27.hierarchy-28 .hm-pattern-invitation > .h28-note-title{margin-bottom:10px}
/* Compact local headings lead their associated explanation; they are not labels. */
body.edition-27.hierarchy-28 main :is(.a-sequence-grid h3,.ml-noteboard h3){
 font:500 var(--h28-note)/1.4 var(--ds-body);letter-spacing:-.012em;text-transform:none;
}
body.edition-27.hierarchy-28 main .a-sequence-grid h3{font-size:1rem}
body.edition-27.hierarchy-28 main :is(.hm-map-study h3,.hm-chart-reading h3,.ml-explanation h3){font-size:var(--h28-subsection)}
body.edition-27.hierarchy-28 main .a-principle h3{font-size:var(--h28-subsection);color:#284fc5}
body.edition-27.hierarchy-28 main .mt-stage-label h3{font-size:1.125rem;line-height:1.35}
body.edition-27.hierarchy-28 main .mt-pattern-title{margin:0;font-size:1rem;line-height:1.5;font-weight:450}
body.edition-27.hierarchy-28 .mt-pattern-sample[open] .mt-pattern-title{color:var(--ds-blue)}
body.edition-27.hierarchy-28 main .mt-pattern-sample[open] .mt-pattern-title{font-size:var(--h28-subsection)}
body.edition-27.hierarchy-28 main .pr-phase-heading h4{
 font:500 var(--h28-note)/1.4 var(--ds-body);letter-spacing:-.012em;text-transform:none;
}
/* A complete resource section, then its selectable source headings. */
body.edition-27.hierarchy-28 .pr-resource-margin{
 display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
 gap:10px 24px;margin-bottom:24px;
}
body.edition-27.hierarchy-28 .pr-resource-margin h2{margin:0}
body.edition-27.hierarchy-28 .rf-resource-intro > h3{margin:0 0 18px;max-width:26ch}
body.edition-27.hierarchy-28 .rf-resource-directory > h4{margin:24px 0 12px;padding-top:18px;border-top:1px solid #d5dfed}
body.edition-27.hierarchy-28 .ec-preview-top{
 align-items:baseline;gap:8px 24px;flex-wrap:wrap;margin-bottom:14px;
}
body.edition-27.hierarchy-28 .ec-preview-top h2{margin:0;max-width:25ch}
body.edition-27.hierarchy-28 .ec-habit-reference{align-items:center}
body.edition-27.hierarchy-28 .ec-preview-heading{margin-top:0}
body.edition-27.hierarchy-28 .ec-preview-heading h3{max-width:28ch;margin:0 0 20px}
body.edition-27.hierarchy-28 .ec-preview-heading + .ec-local-scope{margin-top:16px}
body.edition-27.hierarchy-28 .ec-preview-notes h4{margin-bottom:12px}
/* Privacy has short prose sections rather than display sections. */
body.edition-27.hierarchy-28 .pr-page .pr-copy h2{
 font-size:var(--h28-subsection);line-height:1.3;max-width:24ch;
}
@media(max-width:48rem){
 body.hierarchy-28{--h28-subsection:1.25rem;--h28-note:1rem}
 body.edition-27.hierarchy-28 .hm-diagnosis > .hm-section-top{display:block;margin-bottom:22px}
 body.edition-27.hierarchy-28 .hm-diagnosis > .hm-section-top .ds-ref{display:block;margin-top:10px}
 body.edition-27.hierarchy-28 .hm-diagnosis-context{font-size:.9375rem;line-height:1.65}
 body.edition-27.hierarchy-28 .h28-example-title{max-width:29ch}
 body.edition-27.hierarchy-28 .ec-preview-top{align-items:flex-start;gap:4px;margin-bottom:14px}
 body.edition-27.hierarchy-28 .ec-preview-top h2{flex-basis:100%}
 body.edition-27.hierarchy-28 .ec-preview-heading h3{max-width:29ch}
 body.edition-27.hierarchy-28 .pr-resource-margin{margin-bottom:20px}
 body.edition-27.hierarchy-28 .pr-page .pr-copy h2{max-width:none}
}
