/*! NBC v7.027 · Release Hardening
    Scope: mobile contact dark-surface cascade + conservative microtype floor.
    No component, state-engine, geometry or desktop composition changes. */

@media (max-width:760px){
  /* CONTACT · v7.027: dark rollback owns the complete mobile intake surface. */
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-intake-workflow{
    color:var(--v7016-text)!important;
    background:linear-gradient(180deg,rgba(9,21,15,.55),rgba(5,12,8,.16))!important;
  }
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-intake-panel :where(h2,h3,label,strong),
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-decision-note :where(h2,h3,strong){
    color:var(--v7016-text)!important;
  }
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-intake-panel :where(p,small),
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-decision-note :where(p,small,span){
    color:var(--v7016-muted)!important;
  }
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-intake-workflow :where(input,textarea,select){
    color:var(--v7016-text)!important;
    -webkit-text-fill-color:currentColor!important;
    background:rgba(8,13,10,.68)!important;
    border-color:var(--v7016-line)!important;
  }
  html[data-folio-rollback="v7016-dark"] body.page-contact[data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .ac-intake-workflow :where(input,textarea,select)::placeholder{
    color:rgba(238,243,239,.38)!important;
  }

  /* HOME · preserve the instrument character, but remove 7–9 px reading sizes. */
  body.page-home .home-process-opening__orientation{font-size:10px!important;}
  body.page-home .home-process-opening__eyebrow,
  body.page-home .nbc-eyebrow,
  body.page-home .home-trust__person-meta>.mono,
  body.page-home .home-trust__item>.mono,
  body.page-home .operating-twin__stage-meta .mono,
  body.page-home .operating-twin__stage-meta>small,
  body.page-home .operating-twin__finding .mono,
  body.page-home .operating-twin__break-label{font-size:10px!important;}
  body.page-home .operating-twin__legend span{font-size:10px!important;}
  body.page-home .operating-twin__zone-labels text,
  body.page-home .operating-twin__nodes text{font-size:10px!important;}

  /* PROFESSIONAL SERVICES · only instrument/meta labels that were 7–9 px. */
  body.industry-services[data-industry-services="v6471"] .ps-hero-proof span,
  body.industry-services[data-industry-services="v6471"] .ps-board-top :is(span,small),
  body.industry-services[data-industry-services="v6471"] :is(.ps-pipeline-label,.ps-capacity-label),
  body.industry-services[data-industry-services="v6471"] .ps-pipe-card>span,
  body.industry-services[data-industry-services="v6471"] .ps-cap-row>small,
  body.industry-services[data-industry-services="v6471"] .ps-board-decision>span,
  body.industry-services[data-industry-services="v6471"] .ps-board-note,
  body.industry-services[data-industry-services="v6471"] .ps-project-tab>span,
  body.industry-services[data-industry-services="v6471"] .ps-project-tab>small,
  body.industry-services[data-industry-services="v6471"] .ps-project-brief article>span,
  body.industry-services[data-industry-services="v6471"] .ps-project-result>span,
  body.industry-services[data-industry-services="v6471"] .ps-final-check span,
  body.industry-services[data-industry-services="v6471"] .ps-margin-runway span,
  body.industry-services[data-industry-services="v6471"] .industry-conversion-trust{font-size:10px!important;}

  /* DIAGNOSTIC UI · small state labels remain compact, but readable. */
  body.page-barometer :is(.r4-result-state,.baro-stage-status,.baro-level-badge,.baro-finding-summary span){font-size:10px!important;}
  body.page-digital-check :is(.dc7-entry__info>span,.dc-entry-steps b,.dc5-question-type,.dc5-causal-strip span,.dc5-result-panel>span,.dc5-result-summary article>span){font-size:10px!important;}
}

@media (max-width:760px){
  /* CONTACT · beat the legacy M7A scene-level paper selectors explicitly. */
  html[data-folio-rollback="v7016-dark"] body.page.page-contact.design-system-executive[data-mobile-art="v7"][data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .m7a-shell .ac-intake-panel .ac-intake-panel-head h2,
  html[data-folio-rollback="v7016-dark"] body.page.page-contact.design-system-executive[data-mobile-art="v7"][data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .m7a-shell .ac-decision-note h3,
  html[data-folio-rollback="v7016-dark"] body.page.page-contact.design-system-executive[data-mobile-art="v7"][data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .m7a-shell .ac-decision-note strong{
    color:var(--v7016-text)!important;
  }
  html[data-folio-rollback="v7016-dark"] body.page.page-contact.design-system-executive[data-mobile-art="v7"][data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .m7a-shell .ac-intake-panel .ac-question-support{
    color:var(--v7016-muted)!important;
  }
  html[data-folio-rollback="v7016-dark"] body.page.page-contact.design-system-executive[data-mobile-art="v7"][data-m7a-active="contact"][data-folio-rollback="v7016-dark"] .m7a-shell .ac-decision-note .mono{
    color:var(--v7016-accent)!important;
  }

  /* HOME · signature hero rules carry an ID, so the floor must address that owner. */
  html body.page-home #auftakt[data-hero-signature="v6686"] .home-process-opening__orientation{font-size:10px!important;}
  html body.page-home #auftakt[data-hero-signature="v6686"] .home-process-opening__eyebrow{font-size:10px!important;}
  body.page-home .nbc-folio__source{font-size:10px!important;}
  body.page-home .footer-meta,
  body.page-home .footer-meta>span{font-size:10px!important;}

  /* PROFESSIONAL SERVICES · remaining mobile signature/capacity labels. */
  body.industry-services[data-industry-services="v6471"] .p3-signature-index__meta,
  body.industry-services[data-industry-services="v6471"] .p3-signature-index__labels li,
  body.industry-services[data-industry-services="v6471"] .ps-role-row>span,
  body.industry-services[data-industry-services="v6471"] .bi-eyebrow,
  body.industry-services[data-industry-services="v6471"] .bi-fit-register>span{font-size:10px!important;}

  /* BAROMETER · result/proof ledger labels only; no state or geometry changes. */
  body.page-barometer .baro-result-ledger article>span,
  body.page-barometer .r4-proof-grid article>span{font-size:10px!important;}

  /* DIGITAL CHECK · action labels at the entry choice. */
  body.page-digital-check .dc7-choice__action{font-size:10.5px!important;}
}

@media (max-width:760px){
  /* SITEWIDE MICROTYPE · remove legacy sub-10px reading labels without changing composition. */
  html body.page.design-system-executive :is(
    .nbc-eyebrow,
    .bi-eyebrow,
    .bi-industry-thesis-note,
    .p3-signature-index__meta,
    .p3-signature-index__labels li,
    .ep-chapter-number,
    .dg5-guide-bridge__eyebrow,
    .km-index-row__phase,
    .km-index-row__date,
    .mini-point,
    .goe-region-pin,
    .p3-regional-route__labels,
    .dt-kicker
  ){font-size:10px!important;}

  /* TRADE / PRODUCTION · operational labels are information, not decoration. */
  body.industry-trade :is(
    .trade-order-hero-proof>span,
    .trade-order-dossier-head span,
    .trade-order-due small,
    .trade-order-query>span,
    .trade-truth>span,
    .trade-stream-axis>b,
    .trade-order-trace>strong,
    .trade-order-trace-cells small
  ){font-size:10px!important;}

  /* PROFESSIONAL SERVICES · commercial/delivery/revenue state labels. */
  body.industry-services[data-industry-services="v6471"] :is(
    .ps-c2c-row>strong,
    .ps-c2c-cell>span,
    .ps-c2c-cell>small,
    .ps-funnel-row>strong,
    .ps-funnel-row>span,
    .ps-funnel-note>strong,
    .ps-funnel-note>span
  ){font-size:10px!important;}

  /* GÖTTINGEN · route and option metadata stay compact, but readable. */
  body.page-local :is(
    .p3-signature-index__meta,
    .p3-signature-index__labels li,
    .p3-regional-route__labels,
    .goe-region-pin,
    .local-check small,
    .local-check strong
  ){font-size:10px!important;}

  /* SERVICE PAGES · decision-guide markers and scope labels. */
  body:is(.page-erp,.page-process) :is(
    .mini-point,
    .wave2-service-scope__item>span
  ){font-size:10px!important;}
}

@media (max-width:760px){
  body.page-regional :is(
    .p3-signature-index__meta,
    .p3-signature-index__labels li,
    .p3-regional-route__labels,
    .goe-region-pin,
    .local-check small,
    .local-check strong
  ){font-size:10px!important;}
  body:is(.service-erp,.page-process) :is(
    .mini-point,
    .wave2-service-scope__item>span
  ){font-size:10px!important;}
}

@media (max-width:760px){
  /* FINAL MICROTYPE FLOOR · only legacy diagram labels that still resolved below 9px. */
  html body.page-blog .km-index-row__phase{font-size:10px!important;}

  html body.industry-trade[data-industry-trade="v6471"] :is(
    .trade-order-dossier span,
    .trade-order-dossier small,
    .trade-diagnosis-stage span,
    .trade-stream-stage strong,
    .trade-stream-stage small,
    .trade-final-utility .bi-compact-link span
  ){font-size:10px!important;}

  html body.industry-services[data-industry-services="v6471"] .ps-funnel-note,
  html body.industry-services[data-industry-services="v6471"] .ps-funnel-note :is(strong,span),
  html body.industry-services[data-industry-services="v6471"] .ps-margin-trace text,
  html body.industry-services[data-industry-services="v6471"] :is(
    .p73-project-spine button>span,
    .ps-project-tab>span,
    .ps-margin-events article>span,
    .ps-final-check article>span,
    .ps-final-utility .bi-compact-link span
  ){font-size:10px!important;}

  html body.page-regional-intelligence :is(.regional-map-pin,.regional-atlas__map-note){font-size:10px!important;}
  html body.page-process .pr-result-bridge{font-size:10px!important;}
  html body.page-home .footer-meta{font-size:10px!important;}
}

@media (max-width:760px){
  /* Specificity lock against legacy mobile authority layers. */
  html body#nbc-page.page-blog .km-index-row__phase{font-size:10px!important;}
  html body#nbc-page.industry-trade[data-industry-trade="v6471"] :is(
    .trade-diagnosis-tabs button>span,
    .return-flow article>span,
    .trade-final-check article>span,
    .trade-stream-return>span
  ){font-size:10px!important;}
  html body#nbc-page.page-home .footer-meta{font-size:10px!important;}
}
