/*
 ATHRTY / TYPE-01 — Editorial Heading Policy
 Deprecated: micro-headings, eyebrow/kicker/overline labels preceding substantive headings.
 First-party presentation only. Preserve operational state, legal provenance, form labels,
 customer-owned preview typography, and navigational semantics.
*/
/* Only decorative labels preceding a real heading; never generic status or field labels. */
body main :is(
 .eyebrow,.x5-eyebrow,.kicker,.cx-overline,.ca-eyebrow,
 .cap-story-kicker,.cap-exec-overline,.f8-eyebrow,
 [class$="-eyebrow"],[class$="-kicker"],[class$="-overline"]
):has(~ :is(h1,h2,h3,h4)):not(:is(
 [role="status"],[role="alert"],[data-state],
 .x920-preview *,[data-tenant-preview] *,[data-customer-preview] *,
 [role="status"] *,[role="alert"] *,.handoff-item .kicker,
 .cap-delta .kicker,.operation-status *,[data-state] *,
 .meta .eyebrow,.cap-causal-meta .kicker,
    .xos32000-project .xos32000-eyebrow
)),
body .office-side .kicker.side-label {
 display:none!important;
}
/* Purely decorative pre-heading <small> elements, not metric/field labels. */
body main :is(.intro,.section-head,.section-header,.hero-copy,.hero-content,.cx-hero-content,.cx-section-head) > small:has(+ :is(h1,h2,h3,h4)) {
 display:none!important;
}
/* No phantom spacer from a removed micro-heading. */
body main :is(.cx-hero-content,.cx-agent-brief,.x622-enterprise-map,.ca-atlas-intro,.f8-side-head) > :is(h1,h2,h3):first-of-type {
 margin-block-start:0;
}
/* ATHRTY TYPE-02 / Explicit first-party shell exceptions and structural resets.
   No global small/span suppression: status, permissions, product categories,
   organization identity, accessibility and purchase evidence remain visible. */
body main :is(.xos30000-heading,.xos31000-agenda-head,.xos32000-section-head,.xos33100-heading,.x51000-head-copy,.xos34000-head) > :is(div,h1,h2,h3,h4):first-child { margin-block-start:0; }
body main :is(.xos30000-heading,.xos31000-agenda-head,.xos32000-section-head,.xos33100-heading,.x51000-head-copy,.xos34000-head) :is(h1,h2,h3,h4):first-child { margin-block-start:0; }
body main .x1115-work-hero h1 { margin-block-start:0; }
body main .studio-header h1 { margin-block-start:0; }
/* Ensure first-party standalone pages start sections with the real heading. */
body.af241 .af241-section-lead > h2:first-child,
body.af241 .af241-cta-inner h2:first-child,
body.af241 .af241-feature-grid h3:first-child,
body.af241 .af241-role-grid h3:first-child { margin-block-start:0; }
/* A customer/tenant design preview is never globally restyled by TYPE-01. */