/*! NBC v7.067: inner composition. Load after width-system, before legacy layers.
 * Explicit patterns only: no global paragraph stretching, no hero rewrite.
 */
@layer nbc-layout-balance {
  [data-layout-balance] {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;grid-template-areas:none!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    gap:1.25rem!important;align-items:start!important;text-align:left!important;
  }
  [data-layout-balance] > * {
    min-width:0!important;grid-area:auto!important;align-self:start!important;
    margin:0!important;transform:none!important;
  }
  [data-layout-balance] > :is(h2,h3) {
    width:100%!important;max-width:none!important;
    font-size:clamp(2rem,3.35vw,3.75rem)!important;
    line-height:1.08!important;letter-spacing:-.035em!important;
    white-space:normal!important;text-wrap:pretty!important;overflow-wrap:anywhere!important;
  }
  [data-layout-balance] > p:not([data-section-eyebrow]):not(.mono):not([class*="eyebrow"]):not(.dt-kicker) {
    width:100%!important;max-width:68ch!important;font-size:clamp(1rem,1.15vw,1.1875rem)!important;line-height:1.6!important;
  }
  [data-layout-balance] > :is([data-section-eyebrow],.mono,[class*="eyebrow"],.dt-kicker) {
    max-width:none!important;padding:0!important;font-size:.75rem!important;line-height:1.5!important;
  }
  /* Statements use the reading space after a modest label rail. */
  :is(.service-pov-block,.process-evidence-principle) {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:1.25rem!important;align-items:start!important;
    width:100%!important;max-width:none!important;margin-inline:0!important;
  }
  :is(.service-pov-block,.process-evidence-principle)>:is(p,strong) {
    max-width:none!important;min-width:0!important;margin:0!important;
    font-size:clamp(1.5rem,2.25vw,2.5rem)!important;line-height:1.25!important;
    letter-spacing:-.025em!important;text-wrap:pretty!important;
  }
  .process-evidence-principle {margin-top:0!important;padding-block:2rem!important;border-top:0!important;}
  /* Replacement diagram must occupy the intended second column, not an auto-created row. */
  .phase-d-goe-independence {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:1.5rem!important;align-items:start!important;
  }
  .phase-d-goe-independence>h3 {
    grid-area:auto!important;max-width:none!important;margin:0!important;
    font-size:clamp(2rem,3.2vw,3.5rem)!important;line-height:1.1!important;
    letter-spacing:-.035em!important;text-wrap:pretty!important;overflow-wrap:anywhere!important;
  }
  .phase-d-goe-independence>p {grid-area:auto!important;max-width:68ch!important;margin:0!important;}
  .phase-d-goe-independence>.local-independence-line {grid-column:1/-1!important;grid-row:auto!important;margin:0!important;min-width:0!important;}
  .local-independence-line>div {min-width:0!important;overflow-wrap:anywhere!important;}
  /* Experience: role and consequence share each row, instead of an empty right half. */
  .nbc-about-record-list>li {
    display:grid!important;grid-template-columns:2.5rem minmax(0,1fr)!important;
    gap:1.5rem!important;max-width:none!important;padding-block:2rem!important;
  }
  .nbc-about-record-list>li>div {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:1rem!important;min-width:0!important;}
  .nbc-about-record-list :is(h3,p,small) {max-width:none!important;margin:0!important;min-width:0!important;}
  .nbc-about-record-list h3 {font-size:clamp(1.5rem,2vw,2.125rem)!important;line-height:1.18!important;letter-spacing:-.025em!important;text-wrap:pretty!important;}
  .nbc-about-record-list p {font-size:1rem!important;line-height:1.65!important;}
  .nbc-about-record-list small {font-size:.75rem!important;line-height:1.5!important;}
  /* Article chapter headings fill their assigned spread column, preserving prose measures. */
  .ep-chapter-head {width:100%!important;max-width:none!important;min-width:0!important;}
  .ep-chapter-head h2 {max-width:none!important;line-height:1.12!important;letter-spacing:-.025em!important;text-wrap:pretty!important;overflow-wrap:anywhere!important;}
  /* Evidence diagrams size to their column; smaller figures become vertical flows. */
  .process-evidence-row {grid-template-columns:minmax(0,1fr)!important;gap:2rem!important;align-items:start!important;}
  .process-evidence-row>* {min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
  .process-evidence-visual {width:100%!important;min-height:0!important;container-type:inline-size;}
  .process-evidence-visual figcaption {margin-bottom:1.5rem!important;line-height:1.5!important;overflow-wrap:anywhere!important;}
  .pev-people-flow {gap:1rem!important;}
  .pev-people-flow>span {min-width:0!important;min-height:5rem!important;padding:.75rem .4rem!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:.75rem!important;line-height:1.4!important;letter-spacing:.035em!important;}
  .pev-people-flow>span+span::before {left:-1rem!important;}
  @container (max-width:640px) {
    .pev-people-flow {grid-template-columns:minmax(0,1fr)!important;}
    .pev-people-flow>span {min-height:3.25rem!important;}
    .pev-people-flow>span+span::before {content:'↓'!important;left:50%!important;top:-1rem!important;transform:translateX(-50%)!important;}
  }
  @media(min-width:1101px) {
    [data-layout-balance] {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;column-gap:clamp(2rem,4vw,4.5rem)!important;row-gap:1.5rem!important;}
    [data-layout-balance]>:is([data-section-eyebrow],.mono,[class*="eyebrow"],.dt-kicker) {grid-column:1/-1!important;grid-row:1!important;}
    [data-layout-balance]>h2 {grid-column:1!important;grid-row:2!important;}
    [data-layout-balance="intro"]>p:not([data-section-eyebrow]):not(.mono):not([class*="eyebrow"]):not(.dt-kicker) {grid-column:2!important;grid-row:2!important;padding-top:.3rem!important;}
    [data-layout-balance="opening"]>h2,[data-layout-balance="opening"]>p {grid-row:1!important;}
    :is(.service-pov-block,.process-evidence-principle) {grid-template-columns:10rem minmax(0,1fr)!important;column-gap:clamp(2rem,3vw,3rem)!important;}
    .phase-d-goe-independence {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;gap:2rem clamp(2rem,4vw,4.5rem)!important;}
    .phase-d-goe-independence>h3 {grid-column:1!important;grid-row:1!important;}
    .phase-d-goe-independence>p {grid-column:2!important;grid-row:1!important;}
    .nbc-about-record-list>li>div {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:clamp(2rem,4vw,4.5rem)!important;}
    .nbc-about-record-list small {grid-column:1/-1!important;}
    .nbc-about-record-list h3 {grid-column:1!important;grid-row:2!important;}
    .nbc-about-record-list p {grid-column:2!important;grid-row:2!important;}
    .process-evidence-row {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:clamp(2rem,4vw,4rem)!important;}
  }
  @media(max-width:760px) {
    [data-layout-balance]>:is(h2,h3) {font-size:clamp(1.875rem,7.5vw,2.5rem)!important;}
    .nbc-about-record-list>li {grid-template-columns:1.5rem minmax(0,1fr)!important;gap:.75rem!important;}
    .phase-d-goe-independence>.local-independence-line {display:block!important;}
    .pev-people-flow {grid-template-columns:minmax(0,1fr)!important;}
    .pev-people-flow>span+span::before {content:'↓'!important;left:50%!important;top:-1rem!important;transform:translateX(-50%)!important;}
  }
}
