/*! NBC v6.682 · Mobile Optimization Final
    Scope: <=760px + narrow-tablet edge guard. Desktop intentionally untouched.
    Goal: tighter rhythm, calmer type, reliable touch targets, cleaner forms,
    safer rails and lower mobile GPU cost without redesigning page structure. */

@media (max-width:760px){
  :root{
    --m-gutter:clamp(18px,5vw,21px);
    --m-section:clamp(52px,13.5vw,62px);
    --m-section-tight:clamp(38px,10.2vw,46px);
    --m-section-loose:clamp(60px,16vw,72px);
    --m-display-short:clamp(39px,10.7vw,43px);
    --m-display-medium:clamp(36px,9.7vw,40px);
    --m-display-long:clamp(33px,8.9vw,37px);
    --m-display-xlong:clamp(31px,8.25vw,34px);
    --m-h2:clamp(28px,7.6vw,32px);
    --m-h3:clamp(21px,5.8vw,24px);
    --m-lead:clamp(17px,4.55vw,18.25px);
    --m-body:17px;
    --m-small:14px;
    --nbc-mobile-hero-primary:clamp(36px,9.7vw,40px);
  }

  html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
    scroll-padding-top:calc(var(--m-header-h,66px) + env(safe-area-inset-top) + 18px)!important;
  }
  body.page.design-system-executive{
    width:100%;
    max-width:100%;
    overflow-x:clip;
    font-size:var(--m-body);
    line-height:1.62;
  }
  body.page.design-system-executive main,
  body.page.design-system-executive main.nbc-page-shell{
    width:100%;
    max-width:100%;
    overflow-x:clip;
  }
  body.page.design-system-executive main :where(section,article,div,aside,figure,form,fieldset,nav,ul,ol,li){
    min-inline-size:0;
  }
  body.page.design-system-executive main :where(img,picture,video,canvas,svg,iframe){
    max-inline-size:100%;
  }

  /* ------------------------------------------------------------------
     TYPE + READING RHYTHM
     ------------------------------------------------------------------ */
  body.page.design-system-executive main :is(h1,.editorial-title,.display,.nbc-unified-hero-title,.case2-title){
    max-width:100%!important;
    text-wrap:pretty!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    -webkit-hyphens:manual!important;
    hyphens:manual!important;
  }
  body.page.design-system-executive main h2,
  body.page.design-system-executive main :is(.nbc-section-title,.case2-section-title,.ep-chapter-title,.dg-section-title,.m3-title,.m4-title,.m5-local__title){
    max-width:100%!important;
    text-wrap:pretty!important;
  }
  body.page.design-system-executive main :is(.lede,.lead,.nbc-unified-hero-lead,.local-hero-lede,.knowledge-hero-note,.nbc-section-intro){
    width:auto!important;
    max-width:35ch!important;
    font-size:var(--m-lead)!important;
    line-height:1.55!important;
    text-wrap:pretty;
  }
  body.page.design-system-executive main :is(p,li,dd){
    text-wrap:pretty;
  }
  body.page.design-system-executive main :is(.mono,.nbc-eyebrow,.eyebrow,.ep-eyebrow,.knowledge-eyebrow,.evidence-eyebrow,.legal-hero-kicker,.nbc-hero-location){
    line-height:1.38;
  }

  /* Slightly tighter global chapter rhythm. */
  body.page.design-system-executive .nbc-section,
  body.page.design-system-executive :is(
    .service-context-section,.service-editorial-section,.knowledge-direct-library,
    .knowledge-diagnostic,.evidence-library-grid-section,.ac-section,
    .ih-command,.ih-architecture,.ih-routes,.ih-decision,.ih-ninety,.ih-evidence,
    .ih-faqs,.ih-next,.case-film-section,.case-evidence-system,.case-related,
    .case-knowledge-container,.case-audit-trail,.case-next-step
  ){
    padding-block:var(--m-section)!important;
  }
  body.page.design-system-executive :is(.nbc-hero-bridge,.nbc-authority-strip){
    padding-block:var(--m-section-tight)!important;
  }

  /* ------------------------------------------------------------------
     HEADER + MENU + SAFE AREAS
     ------------------------------------------------------------------ */
  body.page.design-system-executive .site-header{
    backdrop-filter:blur(13px) saturate(110%)!important;
    -webkit-backdrop-filter:blur(13px) saturate(110%)!important;
  }
  body.page.design-system-executive .site-header .nav{
    width:calc(100% - (2 * var(--m-gutter)))!important;
    gap:7px!important;
  }
  body.page.design-system-executive .brand-logo{
    width:100px!important;
    max-height:42px!important;
  }
  body.page.design-system-executive .burger{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
  body.page.design-system-executive .nbc-mobile-header-cta{
    min-height:44px!important;
    padding-inline:13px!important;
    font-size:12.5px!important;
  }
  body.page.design-system-executive .site-header nav #menu.open{
    overflow-y:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  body.page.design-system-executive .site-header nav #menu.open .nav-sub a,
  body.page.design-system-executive .footer-navigation-row a{
    min-height:44px!important;
  }
  body.page.design-system-executive .site-header nav #menu.open>li>a,
  body.page.design-system-executive .site-header nav #menu.open .nav-summary{
    text-wrap:pretty;
  }

  /* ------------------------------------------------------------------
     TOUCH + FORMS
     ------------------------------------------------------------------ */
  body.page.design-system-executive :is(.btn,.button,.lm-btn,a.nav-cta){
    min-height:50px!important;
    padding-inline:18px!important;
    line-height:1.2!important;
  }
  body.page.design-system-executive :is(
    [role="tab"],
    .m4-case-nav a,.m4-reading-nav a,.m7-document-nav a,
    .dg-guide-switcher a,.dg-guide-switcher button,
    .nbc-about-register-tabs button,.premium-hub-focus button,.ph-discovery-links a,
    .km-b5-filter,.baro-scenario,.dc5-process-types button,.dc5-result-switch button,
    .pp-scenario-picker button,.pp-step-jump button,.pr-process-picker button,
    .dp-usecases button,.dp-nav button,.ac-topic-grid button,
    .trade-diagnosis-tab,.ps-project-tab,.regional-topic-button,.regional-region-button,.regional-map-pin,
    .case2-film-replay,.case2-film-pause,.operating-twin__scenario,.pp-choice,.pr-dock-option,
    .dc7-choice,.dc7-choice-secondary,.p7-twin__scenario-index button,.p7-twin__break,
    .pr-reset,.pr-pull-handle,.p73-project-spine button,.baro-toolbar button,
    .dc5-stage-actions button,.dc5-evidence-card button,.dc5-replay-controls button,.dg4-gate-row button
  ){
    min-height:44px!important;
    touch-action:manipulation;
  }
  body.page.design-system-executive :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    min-height:50px!important;
    max-width:100%!important;
    font-size:16px!important;
    line-height:1.35!important;
    scroll-margin-bottom:110px;
  }
  body.page.design-system-executive textarea{
    min-height:132px!important;
    resize:vertical;
  }
  body.page.design-system-executive input[type="range"]{
    min-height:44px!important;
    touch-action:pan-y;
  }
  body.page.design-system-executive form :is(button[type="submit"],input[type="submit"]){
    min-height:52px!important;
  }

  /* Keep horizontally scrollable control rows deliberate and finger friendly. */
  body.page.design-system-executive :is(
    .m4-case-nav,.m4-reading-nav,.dg-guide-switcher,.km-b5-filterset,
    .authority-hub-nav .wrap,.pp-scenario-picker,.pp-step-jump,
    .dc5-process-types,.dc5-result-switch,.ep-mobile-nav,.m7-document-nav__rail,
    [role="tablist"],[data-g10-horizontal="true"]
  ){
    scroll-padding-inline:var(--m-gutter);
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-inline:contain;
  }

  /* GPU restraint: these cards already have nearly opaque materials. */
  body[data-mobile-premium="v6589"] [data-nbc-material="instrument"],
  body.page-home .mh-services-tabs{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* ------------------------------------------------------------------
     HOME
     ------------------------------------------------------------------ */
  body.page-home[data-m2-home-active="true"] .home-process-opening.nbc-section,
  body.page-home[data-m2-home-active="true"] .home-process-opening__stage,
  body.page-home[data-m2-home-active="true"] .home-process-opening[data-hero-flow]{
    min-height:max(560px,70svh)!important;
  }
  body.page-home[data-m2-home-active="true"] .home-process-opening__hero{
    padding-bottom:48px!important;
  }
  body.page-home .home-process-opening__title{
    max-width:100%!important;
    font-size:clamp(39px,10.7vw,44px)!important;
    line-height:.95!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-home{
    --mh-gutter:var(--m-gutter)!important;
  }
  body.page-home[data-home-mobile-final="v6672"] :is(.p7-attitude,.p7-twin,.p7-decisions,.p7-ledger){
    padding-block:clamp(58px,15vw,66px)!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-final{
    padding-top:clamp(60px,15.5vw,68px)!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-decisions .p7-title--statement{
    font-size:clamp(36px,9.8vw,41px)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    text-wrap:pretty!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .mh-services-tabs{
    gap:5px!important;
    padding:5px!important;
    margin-bottom:20px!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .mh-services-tabs button{
    min-height:62px!important;
    padding:9px 6px!important;
    text-align:center!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .mh-services-tabs button span{
    font-size:9px!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .mh-services-tabs button strong{
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    font-size:11.5px!important;
    line-height:1.12!important;
    text-wrap:pretty;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-logic h3{
    max-width:100%!important;
    font-size:clamp(28px,7.7vw,32px)!important;
    line-height:1.01!important;
    text-wrap:pretty!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-logic__number{
    font-size:9px!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-logic .p72-loop__label{
    width:auto!important;
    max-width:calc(100% - 20px)!important;
    padding:5px 7px!important;
    font-size:9.5px!important;
    line-height:1.25!important;
    white-space:normal!important;
    text-overflow:clip!important;
  }
  body.page-home[data-home-mobile-final="v6672"] :is(.p7-process__controls,.p7-erp__controls,.p7-ai__controls) button{
    min-height:50px!important;
    padding:8px 6px!important;
    font-size:10.5px!important;
    line-height:1.2!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-logic__readout p{
    font-size:13.5px!important;
    line-height:1.5!important;
  }
  body.page-home[data-home-mobile-final="v6672"] .p7-diagnosis-path a{
    min-height:46px!important;
    font-size:12px!important;
    line-height:1.28!important;
  }
  body.page-home[data-m2-home-active="true"] .m2-attitude__portrait img{
    height:205px!important;
  }

  /* ------------------------------------------------------------------
     SERVICE DETAIL — PROCESS / ERP / AI
     ------------------------------------------------------------------ */
  body.page-service[data-m3-service-active="true"] .nbc-service-hero-grid{
    padding-top:calc(var(--m-header-h) + env(safe-area-inset-top) + 18px)!important;
    padding-bottom:48px!important;
  }
  body.page-service[data-m3-service-active="true"] .nbc-unified-hero-title,
  body.page-service.service-erp[data-m3-service-active="true"] .nbc-unified-hero-title{
    font-size:var(--nbc-mobile-hero-primary)!important;
    line-height:.99!important;
    letter-spacing:-.04em!important;
    text-wrap:pretty!important;
  }
  body.page-service[data-m3-service-active="true"] .nbc-unified-hero-lead{
    max-width:35ch!important;
    margin-top:17px!important;
  }
  body.page-service[data-m3-service-active="true"] .hero-actions{
    margin-top:24px!important;
  }
  body.page-service[data-m3-service-active="true"] .hero-actions .btn{
    width:100%!important;
    max-width:360px!important;
  }
  .m3-section,.m3-signature,.m3-case,.m3-guide{
    padding-block:var(--m-section)!important;
  }
  .m3-title{
    max-width:15ch!important;
    font-size:clamp(28px,7.7vw,32px)!important;
    line-height:1.02!important;
    text-wrap:pretty!important;
  }
  .m3-intro{max-width:35ch!important;font-size:16.5px!important;line-height:1.58!important}
  .m3-stage{margin-top:24px!important;padding:18px 15px 18px!important;border-radius:20px!important}
  .m3-segment button,.m3-segment--three button{
    min-height:48px!important;
    font-size:11.5px!important;
    line-height:1.15!important;
  }
  .m3-ai-options button{
    min-height:46px!important;
    font-size:11.5px!important;
    line-height:1.15!important;
  }
  .m3-process-labels{
    font-size:9px!important;
    line-height:1.25!important;
  }
  .m3-process-excel::after{font-size:8px!important}
  .m3-stage__result small,.m3-ai-status small,.m3-perspective__n,.m3-perspective__tag{
    font-size:10px!important;
  }
  .m3-perspective h3{max-width:100%!important;margin-top:38px!important}
  .m3-perspective{padding:20px!important}
  .m3-perspective__tag{position:static!important;display:block;margin-top:18px!important}
  .m3-case .m3-title,.m3-guide .m3-title,.m3-next .m3-title{max-width:100%!important}
  .m3-case__metric{margin-top:30px!important;font-size:clamp(39px,10.5vw,46px)!important}
  .m3-guide__path span{font-size:11px!important;line-height:1.35!important}
  .m3-guide__path b{font-size:9px!important}
  .m3-next{
    padding-block:clamp(58px,15vw,68px) calc(62px + env(safe-area-inset-bottom))!important;
  }

  /* ------------------------------------------------------------------
     INDUSTRY HUBS
     ------------------------------------------------------------------ */
  body.page-template-industry-hub .premium-hub-opening{
    padding-bottom:48px!important;
  }
  body.page-template-industry-hub main h1{
    font-size:clamp(34px,9.1vw,39px)!important;
    line-height:1!important;
  }
  body.page-template-industry-hub :is(.premium-hub-focus button,.ph-discovery-links a){
    min-height:44px!important;
    font-size:11.5px!important;
  }
  body.page-template-industry-hub :is(.m4-card,.m4-metric){
    min-height:0!important;
  }

  /* ------------------------------------------------------------------
     CASE INDEX + CASE DETAIL
     ------------------------------------------------------------------ */
  body.page-template-case-index .case2-title,
  body.page-case-detail .case2-title,
  body[data-proof-story="case-proof"] .case2-title{
    max-width:100%!important;
    font-size:clamp(34px,9.2vw,40px)!important;
    line-height:.99!important;
    text-wrap:pretty!important;
  }
  body.page-template-case-index :is(.case2-index-hero,.case2-index-library,.case2-index-cta),
  body.page-case-detail :is(.case2-section,.case2-proof,.case2-evidence,.case2-related){
    padding-block:var(--m-section)!important;
  }
  .m4-case-nav{
    padding-block:8px!important;
    scroll-padding-inline:var(--m-gutter)!important;
  }
  .m4-case-nav a,.m4-reading-nav a{
    min-height:44px!important;
    padding-inline:14px!important;
    font-size:12px!important;
  }
  body[data-m4-kind="case-detail"] .m4-case-accordion summary{
    min-height:60px!important;
  }
  body[data-m4-kind="case-detail"] .m4-case-accordion[open] :is(p,li,dd){
    font-size:16px!important;
    line-height:1.64!important;
  }
  body[data-proof-story="case-proof"] .case2-proof strong,
  body[data-proof-story="case-ledger"] .case2-index-outcome{
    max-width:100%!important;
    overflow-wrap:normal!important;
  }

  /* ------------------------------------------------------------------
     KNOWLEDGE HUB + ARTICLES
     ------------------------------------------------------------------ */
  body[data-proof-story="knowledge-index"] .h7-hero h1,
  body.page-knowledge-hub main h1{
    font-size:clamp(35px,9.4vw,41px)!important;
    line-height:1!important;
    text-wrap:pretty!important;
  }
  body[data-proof-story="knowledge-index"] .h7-section-head h2{
    font-size:clamp(28px,7.5vw,32px)!important;
    line-height:1.04!important;
  }
  body[data-proof-story="knowledge-index"] .h7-featured-card h3{
    font-size:clamp(23px,6.2vw,27px)!important;
    line-height:1.06!important;
  }
  .km-b5-filter{
    min-height:44px!important;
    padding:8px 8px!important;
    font-size:12px!important;
  }
  body.page-template-article main>article.article.article-premium>.ep-hero{
    padding-top:calc(var(--m-header-h) + env(safe-area-inset-top) + 22px)!important;
    padding-bottom:34px!important;
  }
  body.page-template-article main h1{
    font-size:clamp(33px,8.8vw,38px)!important;
    line-height:1.01!important;
    letter-spacing:-.04em!important;
  }
  body.page-template-article .ep-chapter{
    padding-block:clamp(46px,12vw,56px)!important;
  }
  body.page-template-article .ep-chapter :is(p,li){
    font-size:16.75px!important;
    line-height:1.72!important;
  }
  body.page-template-article .ep-chapter :is(h2,.ep-chapter-title){
    font-size:clamp(27px,7.2vw,31px)!important;
    line-height:1.07!important;
    margin-bottom:18px!important;
  }
  body.page-template-article .m6-reading-path a{
    min-height:44px!important;
    font-size:12px!important;
  }
  body.page-template-article .m6-reading-path a span{font-size:9.5px!important}
  body.page-template-article :is(pre,code,table){max-width:100%}
  body.page-template-article pre{overflow-x:auto;-webkit-overflow-scrolling:touch}

  /* ------------------------------------------------------------------
     DECISION GUIDES
     ------------------------------------------------------------------ */
  body[data-proof-story^="guide-"] .dg3-hero{
    padding-top:calc(var(--m-header-h) + env(safe-area-inset-top) + 20px)!important;
    padding-bottom:46px!important;
  }
  body[data-proof-story^="guide-"] .dg3-hero h1,
  body[data-m4-kind="guide-detail"] .dg-page-hero h1{
    font-size:clamp(34px,9.1vw,40px)!important;
    line-height:1!important;
    letter-spacing:-.042em!important;
    text-wrap:pretty!important;
  }
  body[data-proof-story^="guide-"] .dg3-breadcrumb a,
  body.page-template-guide .nbc-hero-bridge--wide nav a,
  body.page-template-guide .dg-prev{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    font-size:11px!important;
  }
  body[data-proof-story^="guide-"] :is(.dg3-section,.dg3-access){
    padding-block:clamp(50px,13vw,60px)!important;
  }
  body[data-proof-story^="guide-"] .dg3-access h2,
  body[data-m4-kind="guide-detail"] .dg-page-body :is(h2,.dg-section-title){
    font-size:clamp(27px,7.3vw,31px)!important;
    line-height:1.05!important;
  }
  body.page-template-guide :is(.dg4-gate-row,.dg-access-form,.dg3-access form){
    max-width:100%!important;
  }
  body.page-template-guide :is(.dg4-gate-row button,.dg-access-form button,.dg3-access button[type="submit"]){
    width:100%!important;
    min-height:52px!important;
  }
  body.page-template-guide .dg3-preview-paper img{
    width:100%!important;
    height:auto!important;
  }
  body[data-m4-kind="guide-detail"] .dg-page-body :is(p,li,dd){
    font-size:16px!important;
    line-height:1.64!important;
  }

  /* ------------------------------------------------------------------
     BAROMETER + DIGITAL CHECK + DIAGNOSE
     ------------------------------------------------------------------ */
  body.page-barometer .oml-page,
  body.page-digital-check .dc5-premium,
  body.page-diagnose .diagnose-hero{
    padding-top:calc(var(--m-header-h) + env(safe-area-inset-top) + 22px)!important;
  }
  body.page-barometer main h1,
  body.page-digital-check main h1,
  body.page-diagnose main h1{
    font-size:clamp(34px,9.1vw,40px)!important;
    line-height:1!important;
    text-wrap:pretty!important;
  }
  body[data-m4-kind="barometer"] .baro-toolbar{
    padding-block:8px!important;
  }
  body.page-barometer .baro-toolbar button,
  body.page-barometer .baro-scenario,
  body.page-digital-check :is(.dc5-question-nav button,.dc5-process-types button,.dc5-result-switch button,.dc5-replay-controls button){
    min-height:44px!important;
  }
  body.page-barometer :is(.baro-dimension-copy,.baro-readout p,.baro-finding p,.risk-reversal-tool){
    font-size:13px!important;
    line-height:1.5!important;
  }
  body.page-digital-check #dc-prefill-copy{
    font-size:13px!important;
    line-height:1.5!important;
  }
  body[data-m4-kind="digital"] .dc5-question-nav{
    padding-top:9px!important;
    padding-bottom:calc(9px + env(safe-area-inset-bottom))!important;
  }
  body[data-m4-kind="digital"] .dc5-question-panel{
    padding-top:20px!important;
    padding-bottom:34px!important;
  }
  body[data-m4-kind="digital"] .dc5-stage{
    min-height:230px!important;
  }
  body.page-digital-check .dc5-replay-controls button:is(:nth-child(2),:nth-child(3)){
    min-width:44px!important;
  }

  /* ------------------------------------------------------------------
     CONTACT / ABOUT / LOCAL / REGIONAL INTELLIGENCE / LEGAL
     ------------------------------------------------------------------ */
  body.page-contact .ac-intake-hero,
  body.page-about .ac-founder-hero,
  body.page-regional .local-hero,
  body.page-regional-intelligence .authority-hero,
  body.page-legal:not(.page-styleguide) .legal-hero{
    padding-top:calc(var(--m-header-h) + env(safe-area-inset-top) + 20px)!important;
    padding-bottom:44px!important;
  }
  body.page-contact main h1,
  body.page-about main h1,
  body.page-regional-intelligence main .authority-hero h1,
  body.page-legal:not(.page-styleguide) main .legal-hero h1{
    font-size:clamp(34px,9.1vw,40px)!important;
    line-height:1!important;
    text-wrap:pretty!important;
  }
  body.page-contact .ac-topic-grid button{
    min-height:52px!important;
    padding:12px 14px!important;
    font-size:13.5px!important;
    line-height:1.3!important;
    text-align:left!important;
  }
  body.page-contact .ac-field{margin-bottom:13px!important}
  body.page-contact .ac-submit{width:100%!important}
  body.page-about .nbc-about-register-tabs button{
    min-height:44px!important;
    padding-inline:13px!important;
  }
  body.page-regional[data-m5-local-active="true"] .local-hero h1{
    font-size:clamp(33px,8.8vw,37px)!important;
    line-height:1!important;
  }
  .m5-local__section{padding-block:var(--m-section)!important}
  .m5-local-card{min-height:0!important;padding:20px!important}
  .m5-local-card h3{margin-top:36px!important;font-size:23px!important}
  body[data-proof-story="regional-intelligence"] .authority-section{
    padding-block:var(--m-section)!important;
  }
  body[data-proof-story="regional-intelligence"] .authority-section h2{
    font-size:clamp(27px,7.3vw,31px)!important;
    line-height:1.05!important;
  }
  body[data-proof-story="regional-intelligence"] .authority-research-card__metric,
  body[data-proof-story="regional-intelligence"] .regional-atlas__stat b{
    font-size:clamp(31px,8.5vw,38px)!important;
  }
  body.page-regional-intelligence .authority-hub-nav a{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
  }
  body.page-legal:not(.page-styleguide) main :is(p,li){
    font-size:16px!important;
    line-height:1.66!important;
  }

  /* ------------------------------------------------------------------
     FOOTER
     ------------------------------------------------------------------ */
  body.page.design-system-executive .site-footer{
    padding-top:44px!important;
  }
  body.page.design-system-executive .site-footer a{
    min-height:44px;
  }
  body.page.design-system-executive .footer-signature>p{
    font-size:13.5px!important;
  }
}

/* Narrow phones: avoid three-column micro controls becoming cramped. */
@media (max-width:374px){
  :root{
    --m-gutter:18px;
    --m-display-short:38px;
    --m-display-medium:35px;
    --m-display-long:32px;
    --m-display-xlong:30px;
  }
  body.page.design-system-executive .brand-logo{width:94px!important}
  body.page.design-system-executive .nbc-mobile-header-cta{padding-inline:10px!important;font-size:12px!important}
  body.page-home[data-home-mobile-final="v6672"] .p7-diagnosis-path>div{grid-template-columns:1fr!important}
  body.page-home[data-home-mobile-final="v6672"] :is(.p7-process__controls,.p7-erp__controls,.p7-ai__controls) button{font-size:10px!important}
  .m3-segment--three button,.m3-ai-options button{font-size:10.75px!important}
  .m3-guide__path{grid-template-columns:1fr!important}
  .m3-guide__path span{border-right:0!important;border-bottom:1px solid var(--m3-line);padding:12px 0!important}
  .m3-guide__path span+span{padding-left:0!important}
  .m3-guide__path span:last-child{border-bottom:0}
}

/* Narrow-tablet edge: touch safety without mounting mobile-only compositions. */
@media (min-width:761px) and (max-width:820px){
  body.page.design-system-executive :is(button,.btn,.button,.lm-btn,[role="tab"],summary){
    min-height:44px;
  }
  body.page.design-system-executive :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    font-size:16px;
  }
}

@media (max-width:760px) and (prefers-reduced-motion:reduce){
  body.page.design-system-executive *,
  body.page.design-system-executive *::before,
  body.page.design-system-executive *::after{
    scroll-behavior:auto!important;
  }
}

/* v6.682 mobile legibility close-out: editorial metadata, not diagram micro-labels. */
@media (max-width:760px){
  body.page-template-article :is(.m6-reading-path a span,.ep-chapter-number,.ep-visual-head span),
  body.page-template-guide :is(.guide-section-no,.dg3-hero-meta span,.dgp-hero-meta span,.dgp-cover-caption span,.dgp-guide-current>span,.dgp-guide-other>span,.dgp-preview-next span,.dgp-download-facts span,.dg-after20-item .n,.dg-related-link .code),
  body.page-blog :is(.km-b2-domain__num,.km-b2-library-link,.km-seo-topic-links__label,.km-b5-filtergroup>span,.km-b5-library-status,.km-index-row__phase),
  body.page-contact .ac-contact-trust span,
  body.page-digital-check :is(.dc5-question-type,.dc5-causal-strip span,.dc5-result-panel>span,.dc5-result-summary article>span,.dc7-choice .mono),
  body.page-diagnose :is(.nbc-diagnose-preview .nbc-signal-caption,.diagnose-depth-card>span,.nbc-diagnose-preview li>span,.nbc-diagnose-preview li>small){
    font-size:10px!important;
    line-height:1.35!important;
  }
}

/* Safe-area and disclosure controls close-out. */
@media (max-width:760px){
  body.page.design-system-executive .site-header nav #menu.open{
    padding-bottom:calc(32px + env(safe-area-inset-bottom))!important;
  }
  body.page.design-system-executive .m1-sheet__close{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
}
