/* NBC P5 service/global reduction v7331 · conservative unreachable-selector pruning */
@layer nbc.legacy{
/*! NBC Mobile v7.003 · Service Decision Narrative */
@media (max-width:760px){
body.page-service[data-mobile-services-v7="v7003"]{--m7s-ink:#f6f4ef;--m7s-muted:rgba(246,244,239,.66);--m7s-green:#93d9a2;--m7s-line:rgba(246,244,239,.105);--m7s-deep:#07100b;--m7s-deeper:#050b08;--m7s-paper:#f2efe7;--m7s-paper-ink:#111611;}
body.page-service[data-mobile-services-v7-active="true"] main.nbc-page-shell>section:not(.service-hero),body.page-service[data-mobile-services-v7-active="true"] main.nbc-page-shell>.nbc-anchor-compat{display:none!important}









body.page-service[data-mobile-services-v7-active="true"] .service-hero-proofline :is(span,small){font-size:11px!important;line-height:1.4!important;color:rgba(246,244,239,.54)!important}



.m7s-service{background:var(--m7s-deep);color:var(--m7s-ink)}.m7s-service *{box-sizing:border-box}.m7s-service a{color:inherit}.m7s-scene{padding:clamp(50px,13vw,62px) 0;border-top:1px solid var(--m7s-line)}
.m7s-scene h2{margin:0;max-width:11ch;font-size:clamp(31px,8.5vw,36px)!important;line-height:1.01!important;letter-spacing:-.041em!important}.m7s-intro,.m7s-close>div>p,.m7s-evidence p{max-width:33ch;margin:18px 0 0;color:var(--m7s-muted);font-size:16.5px;line-height:1.6}
.m7s-signature{background:radial-gradient(circle at 92% 4%,rgba(145,212,159,.13),transparent 29%),var(--m7s-deeper)}






.m7s-evidence{background:var(--m7s-paper);color:var(--m7s-paper-ink);border-top:0}.m7s-evidence h2{color:var(--m7s-paper-ink)!important}.m7s-evidence p{color:#566057}.m7s-evidence a{display:inline-flex;min-height:44px;align-items:center;margin-top:18px;color:#214f2c;font-weight:700;text-decoration:none}

.m7s-close{background:radial-gradient(circle at 20% 5%,rgba(145,212,159,.10),transparent 30%),#06100a}.m7s-close h2{max-width:12ch}.m7s-close .btn{width:100%;min-height:54px;margin-top:26px}
}




}

/* NBC P3 cascade containment v7329 */
@layer nbc.legacy{
/*! NBC Evidence Folio · F1 · v7.011
    Scope: Homepage, Services, Barometer, Digital Check, Decision Guides only.
    Rule: one semantic light folio; every other surface on these pages remains dark. */

/* ---------- Shared F1 refinement ---------- */
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio]{
  --f1-ink: var(--nbc-folio-ink);
  --f1-muted: var(--nbc-folio-muted);
  --f1-rule: var(--nbc-folio-rule);
  background:
    radial-gradient(circle at 16% 9%, rgba(49,95,62,.032) 0 1px, transparent 1.2px) 0 0/6px 6px,
    linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,0) 24%),
    var(--nbc-folio-paper)!important;
  color:var(--f1-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio]::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:min(28vw,420px);
  height:1px;
  background:var(--nbc-folio-moss);
  opacity:.72;
  pointer-events:none;
}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio] .nbc-folio__meta{
  margin-bottom:clamp(40px,5vw,72px)!important;
}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio] .nbc-folio__statement{
  max-width:16ch!important;
}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio] .nbc-folio__lead{
  max-width:58ch!important;
}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio] .nbc-folio__metric{
  max-width:100%;
  text-wrap:balance;
}
.f1-metric-arrow{color:var(--nbc-folio-moss);font-weight:450}
.f1-metric-slash{color:var(--nbc-folio-rule);font-weight:400}
.f1-metric-old{color:var(--nbc-folio-muted)}
.f1-metric-new{color:var(--nbc-folio-ink)}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio] .nbc-folio__row strong{
  display:block;
  margin:0 0 5px;
  font-size:clamp(21px,2vw,29px);
  line-height:1.05;
  letter-spacing:-.035em;
  color:var(--nbc-folio-ink)!important;
}
html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio] .nbc-folio__row p{
  margin:0;
  max-width:58ch;
  color:var(--nbc-folio-muted)!important;
  font-size:15px;
  line-height:1.55;
}

/* ---------- Homepage: one shared folio DOM for desktop + mobile ---------- */
body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio]{
  padding:0!important;
  border-block:1px solid rgba(11,23,16,.13)!important;
  min-height:clamp(680px,66vw,900px);
  display:flex;
  align-items:center;
}
body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio]>.nbc-folio__inner{padding-block:clamp(92px,9vw,136px)}
body.page-home[data-folio-migration="f1-v7011"] #case-beweise .nbc-folio__metric{font-size:clamp(78px,10vw,126px)!important}
/* old M2 white duplicate: no longer a second surface */
body.page-home[data-folio-migration="f1-v7011"] .m7h-cases[data-folio-legacy-duplicate]{display:none!important}
body.page-home[data-folio-migration="f1-v7011"] .m7h-home>#case-beweise[data-folio]{display:flex!important;width:100%;max-width:none;margin:0}

/* ---------- Services: shared desktop folio moves into M3 mobile shell ---------- */
body.page-service[data-folio-migration="f1-v7011"] #projektbeleg[data-folio]{
  padding:0!important;
  min-height:clamp(700px,64vw,920px);
  display:flex;
  align-items:center;
  border-block:1px solid rgba(11,23,16,.13)!important;
}
body.page-service[data-folio-migration="f1-v7011"] #projektbeleg>.nbc-folio__inner{padding-block:clamp(92px,9vw,136px)}
body.page-service[data-folio-migration="f1-v7011"] #projektbeleg .nbc-folio__metric{font-size:clamp(68px,8.8vw,118px)!important;line-height:.91!important}
body.page-service[data-folio-migration="f1-v7011"] .m7s-evidence{display:none!important}
body.page-service[data-folio-migration="f1-v7011"] .m7s-service>#projektbeleg[data-folio]{display:flex!important;width:100%;max-width:none;margin:0}

/* ---------- Barometer: generated diagnosis sheet ---------- */
body.page-barometer[data-folio-migration="f1-v7011"] .baro-finding[data-folio]{
  width:100%;max-width:none;margin:0!important;padding:clamp(80px,8vw,124px) max(20px,calc((100vw - min(1180px,calc(100vw - 2 * var(--nbc-layout-gutter,40px))))/2))!important;
}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-finding[data-folio] :is(h2,h3,h4,strong){color:var(--nbc-folio-ink)!important;-webkit-text-fill-color:currentColor!important}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-finding[data-folio] :is(p,li,small){color:var(--nbc-folio-muted)!important;-webkit-text-fill-color:currentColor!important}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-finding[data-folio] :is(.baro-kicker,.r4-result-state,.r4-result-triad article>span,.r4-proof-grid article>span){color:var(--nbc-folio-moss)!important}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-meta{margin-bottom:42px!important}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(260px,.7fr)!important;gap:36px 72px!important;align-items:end!important;margin:0!important;padding:0 0 56px!important;border-bottom:1px solid var(--nbc-folio-rule)!important}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head>div{min-width:0}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head .baro-kicker{display:block;margin-bottom:18px;font:600 10px/1.4 "IBM Plex Mono",monospace;letter-spacing:.11em;text-transform:uppercase}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head .r4-result-state{display:inline-block;margin-top:20px;font:600 10px/1.4 "IBM Plex Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head .nbc-folio__lead{margin:0!important}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad.nbc-folio__ledger{display:block!important;margin-top:0!important;border-top:0!important}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad .f1-baro-row{display:grid!important;grid-template-columns:minmax(150px,.62fr) minmax(0,1.6fr)!important;gap:14px 48px!important;padding:27px 0!important;border:0!important;border-bottom:1px solid var(--nbc-folio-rule)!important;background:transparent!important}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad .f1-baro-row>span{grid-column:1;font:600 10px/1.4 "IBM Plex Mono",monospace;letter-spacing:.1em;text-transform:uppercase}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad .f1-baro-row>strong{grid-column:2;grid-row:1;margin:0;font-size:clamp(22px,2.25vw,31px);line-height:1.05;letter-spacing:-.035em}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad .f1-baro-row>p{grid-column:2;margin:4px 0 0;font-size:15px;line-height:1.55}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-mobile-lever-summary{display:none!important}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-folio-details{margin-top:26px;border-bottom:1px solid var(--nbc-folio-rule)}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-folio-details>summary{min-height:52px;padding:16px 34px 16px 0;color:var(--nbc-folio-ink)!important;font-weight:650}
body.page-barometer[data-folio-migration="f1-v7011"] .f1-folio-details[open]{padding-bottom:26px}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-proof-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;border-top:1px solid var(--nbc-folio-rule)}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-proof-grid article{padding:24px 28px 24px 0!important;border:0!important;background:transparent!important}
body.page-barometer[data-folio-migration="f1-v7011"] .r4-proof-grid article+article{padding-left:28px!important;border-left:1px solid var(--nbc-folio-rule)!important}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-next-actions{display:flex!important;flex-wrap:wrap;gap:10px 18px!important;margin-top:44px!important;padding:0!important;border:0!important}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-next-actions .btn{min-height:44px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--nbc-folio-ink)!important;padding:10px 0!important;border-bottom:1px solid currentColor!important}
body.page-barometer[data-folio-migration="f1-v7011"] .baro-next-actions .btn-ghost{color:var(--nbc-folio-moss)!important}

/* ---------- Digital Check: result becomes the generated working record ---------- */
body.page-digital-check[data-folio-migration="f1-v7011"] .dc5-result-panel[data-folio]{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-block:1px solid rgba(11,23,16,.13)!important;border-radius:0!important;box-shadow:none!important;
}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio__inner{width:min(calc(100% - (2 * var(--nbc-folio-pad-x))),1180px)!important;margin-inline:auto!important;padding-block:clamp(82px,8vw,124px)!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio [data-folio]{}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio :is(h2,h3,strong){color:var(--nbc-folio-ink)!important;-webkit-text-fill-color:currentColor!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio :is(p,li,small){color:var(--nbc-folio-muted)!important;-webkit-text-fill-color:currentColor!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .mono{display:block;color:var(--nbc-folio-moss)!important;-webkit-text-fill-color:currentColor!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-switch{display:flex;gap:0;margin-top:48px;border-block:1px solid var(--nbc-folio-rule);overflow-x:auto;scrollbar-width:none}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-switch button{flex:1 0 auto;min-height:50px;padding:0 18px;border:0!important;border-right:1px solid var(--nbc-folio-rule)!important;border-radius:0!important;background:transparent!important;color:var(--nbc-folio-muted)!important;font:600 9px/1.2 "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-switch button[aria-pressed="true"]{color:var(--nbc-folio-ink)!important;background:rgba(49,95,62,.065)!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary.nbc-folio__ledger{display:block!important;margin:0!important;border-top:0!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary article{display:grid!important;grid-template-columns:minmax(150px,.6fr) minmax(0,1.6fr)!important;gap:8px 48px!important;padding:27px 0!important;border:0!important;border-bottom:1px solid var(--nbc-folio-rule)!important;background:transparent!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary article>span{grid-column:1;color:var(--nbc-folio-moss)!important;font:600 9px/1.3 "IBM Plex Mono",monospace;letter-spacing:.09em}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary article>strong{grid-column:2;grid-row:1;font-size:clamp(21px,2vw,29px);line-height:1.05;letter-spacing:-.035em}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary article>p{grid-column:2;margin:2px 0 0;font-size:15px;line-height:1.55}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-diagnostic{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin-top:54px!important;border-top:1px solid var(--nbc-folio-rule)!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-diagnostic article{padding:24px 30px 24px 0!important;border:0!important;border-bottom:1px solid var(--nbc-folio-rule)!important;background:transparent!important}
body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-diagnostic article:nth-child(even){padding-left:30px!important;border-left:1px solid var(--nbc-folio-rule)!important}

/* ---------- Guides: one deliberate paper break, then dark working canvas ----------
   v7.437 root-cause correction: this legacy layer previously forced the entire
   folio to paper with !important, which no later unlayered owner could override. */
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio[data-guide-surface="working"]{
  width:100%;max-width:none;margin:0;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio::before{display:none!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>.dg3-section,
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>.dg3-access{
  margin:0!important;border:0!important;box-shadow:none!important;
}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-wrap{width:min(calc(100% - (2 * var(--nbc-folio-pad-x))),1680px)!important;max-width:1680px!important;margin-inline:auto!important}

/* The benefit is the single intentional paper material. */
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen{
  padding:clamp(68px,6.6vw,96px) 0!important;background:var(--nbc-folio-paper)!important;color:var(--nbc-folio-ink)!important;border-block:1px solid rgba(11,23,16,.13)!important;
}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen :is(h2,h3,strong){color:var(--nbc-folio-ink)!important;-webkit-text-fill-color:currentColor!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen :is(p,li,figcaption,small){color:var(--nbc-folio-muted)!important;-webkit-text-fill-color:currentColor!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen :is(.dg3-label,.f1-guide-meta){color:var(--nbc-folio-moss)!important;-webkit-text-fill-color:currentColor!important}

/* Real working pages and access return to the continuous dark ambient canvas. */
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#vorschau,
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#guide-access{
  position:relative!important;padding:clamp(72px,7vw,108px) 0!important;background:transparent!important;color:#edf4ee!important;border-top:1px solid rgba(181,221,191,.11)!important;
}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>:is(#vorschau,#guide-access) :is(h2,h3,strong){color:#edf4ee!important;-webkit-text-fill-color:currentColor!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>:is(#vorschau,#guide-access) :is(p,li,figcaption,small){color:rgba(225,237,228,.70)!important;-webkit-text-fill-color:currentColor!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>:is(#vorschau,#guide-access) :is(.dg3-label,.f1-guide-meta){color:#9ee0b1!important;-webkit-text-fill-color:currentColor!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #vorschau .dg3-preview-card{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #vorschau .dg3-preview-paper{padding:0!important;background:var(--nbc-folio-paper,#f2f1eb)!important;border:1px solid rgba(181,221,191,.18)!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #vorschau .dg3-preview-card figcaption{padding:16px 0 0!important;color:rgba(225,237,228,.64)!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #guide-access .dg3-access-box{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(360px,1fr)!important;gap:48px 80px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #guide-access .dg4-gate-card{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #guide-access .dg4-gate-row{border-bottom:1px solid rgba(225,237,228,.42)!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #guide-access .dg4-gate-row input{min-height:54px;padding:10px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#edf4ee!important;-webkit-text-fill-color:currentColor!important;font-size:17px!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio #guide-access .dg4-gate-row button{min-height:54px;padding:0 0 0 18px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#9ee0b1!important;font-weight:700!important}

body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-meta{width:100%!important;max-width:none!important;margin:0 0 clamp(38px,5vw,68px)!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-section-head{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr)!important;gap:32px 70px!important;align-items:end!important;margin-bottom:44px!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-section-head .nbc-folio__statement{margin:8px 0 0!important;max-width:15ch!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen .dg3-outcomes{display:block!important;border-top:1px solid var(--nbc-folio-rule)!important;background:transparent!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen .dg3-outcome{display:grid!important;grid-template-columns:minmax(118px,.34fr) minmax(260px,.86fr) minmax(0,1.3fr)!important;gap:8px clamp(28px,3vw,52px)!important;padding:27px 0!important;border:0!important;border-bottom:1px solid var(--nbc-folio-rule)!important;background:transparent!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen .dg3-outcome>span{grid-column:1!important;grid-row:1!important;color:var(--nbc-folio-moss)!important;font:600 10px/1.4 "IBM Plex Mono",monospace!important;letter-spacing:.09em!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen .dg3-outcome>strong{grid-column:2!important;grid-row:1!important;font-size:clamp(18px,1.55vw,22px)!important;line-height:1.35!important;font-weight:600!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio>#nutzen .dg3-outcome>p{grid-column:3!important;grid-row:1!important;margin:0!important;font-size:15px!important;line-height:1.58!important}
/* Other guide sections remain on NBC dark. */
body.page-template-guide[data-folio-migration="f1-v7011"] :is(#passung,.dg3-page>.dg3-section:not(#nutzen):not(#vorschau),main>.dg3-section:not(#nutzen):not(#vorschau)){
  background:transparent!important;color:#f7f5f2!important;
}
body.page-template-guide[data-folio-migration="f1-v7011"] #passung :is(h2,h3,strong){color:#f7f5f2!important;-webkit-text-fill-color:currentColor!important}
body.page-template-guide[data-folio-migration="f1-v7011"] #passung :is(p,li){color:rgba(247,245,242,.72)!important;-webkit-text-fill-color:currentColor!important}

@media (max-width:760px){
  html[data-folio-contract="v7010"] body[data-folio-migration="f1-v7011"] [data-folio]::before{width:96px}
  body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio],
  body.page-service[data-folio-migration="f1-v7011"] #projektbeleg[data-folio]{min-height:0;display:block!important}
  body.page-home[data-folio-migration="f1-v7011"] #case-beweise>.nbc-folio__inner,
  body.page-service[data-folio-migration="f1-v7011"] #projektbeleg>.nbc-folio__inner{width:calc(100% - 40px)!important;padding-block:76px!important}
  body.page-home[data-folio-migration="f1-v7011"] #case-beweise .nbc-folio__metric,
  body.page-service[data-folio-migration="f1-v7011"] #projektbeleg .nbc-folio__metric{font-size:clamp(52px,15.5vw,68px)!important;line-height:.92!important;letter-spacing:-.055em!important}
  body.page-service.service-erp[data-folio-migration="f1-v7011"] #projektbeleg .nbc-folio__metric{font-size:clamp(44px,13.4vw,59px)!important}
  body.page-service.service-ki[data-folio-migration="f1-v7011"] #projektbeleg .nbc-folio__metric{font-size:clamp(48px,14.4vw,64px)!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .baro-finding[data-folio]{padding:72px 20px!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head{grid-template-columns:1fr!important;gap:22px!important;padding-bottom:40px!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .f1-baro-folio__head .nbc-folio__lead{margin-top:0!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad .f1-baro-row{grid-template-columns:1fr!important;gap:8px!important;padding:22px 0!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .r4-result-triad .f1-baro-row>*{grid-column:1!important;grid-row:auto!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .r4-proof-grid{grid-template-columns:1fr!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .r4-proof-grid article{padding:22px 0!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .r4-proof-grid article+article{padding-left:0!important;border-left:0!important;border-top:1px solid var(--nbc-folio-rule)!important}
  body.page-barometer[data-folio-migration="f1-v7011"] .baro-next-actions{display:grid!important;grid-template-columns:1fr!important}
  body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio__inner{width:calc(100% - 40px)!important;padding-block:72px!important}
  body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary article{grid-template-columns:1fr!important;gap:8px!important;padding:22px 0!important}
  body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-summary article>*{grid-column:1!important;grid-row:auto!important}
  body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-diagnostic{grid-template-columns:1fr!important}
  body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-diagnostic article,
  body.page-digital-check[data-folio-migration="f1-v7011"] .f1-dc-folio .dc5-result-diagnostic article:nth-child(even){padding:21px 0!important;border-left:0!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio[data-guide-surface="working"]{padding:0!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-wrap,
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-meta{width:calc(100% - 40px)!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-section-head{grid-template-columns:1fr!important;gap:18px!important;margin-bottom:32px!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome{grid-template-columns:1fr!important;gap:7px!important;padding:22px 0!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>*{grid-column:1!important;grid-row:auto!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-preview-grid{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:14px!important;margin-inline:-20px!important;padding:0 20px 12px!important;scrollbar-width:none}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-preview-card{flex:0 0 86vw!important;scroll-snap-align:start!important}
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-access-box{grid-template-columns:1fr!important;gap:34px!important}
}

/* F1 QA corrections — explicit homepage ownership against legacy transparent rule. */
html[data-folio-contract="v7010"] body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio]{
  background-color:var(--nbc-folio-paper)!important;
  background-image:
    radial-gradient(circle at 16% 9%,rgba(49,95,62,.032) 0 1px,transparent 1.2px),
    linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,0) 24%)!important;
  background-size:6px 6px,auto!important;
  color:var(--nbc-folio-ink)!important;
}
html[data-folio-contract="v7010"] body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio] :is(h2,h3,strong,b){color:var(--nbc-folio-ink)!important;-webkit-text-fill-color:currentColor!important}
html[data-folio-contract="v7010"] body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio] :is(p,li){color:var(--nbc-folio-muted)!important;-webkit-text-fill-color:currentColor!important}
html[data-folio-contract="v7010"] body.page-home[data-folio-migration="f1-v7011"] #case-beweise[data-folio] :is(.nbc-folio__meta,.nbc-folio__metric-label,.nbc-folio__row>span){color:var(--nbc-folio-moss)!important;-webkit-text-fill-color:currentColor!important}

/* Guide ledger correction: legacy outcome labels had their own positioning/margins. */
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>span,
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>strong,
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>p{
  position:static!important; inset:auto!important; transform:none!important; margin-left:0!important; margin-right:0!important;
}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>span{margin-top:2px!important;margin-bottom:0!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>strong{margin:0!important}
body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>p{margin-top:7px!important}
@media(max-width:760px){
  body.page-template-guide[data-folio-migration="f1-v7011"] .f1-guide-folio .dg3-outcome>span{margin-bottom:4px!important}
}

/* F1 release correction — service Folios own the exact contract Paper token over legacy evidence surfaces. */
html[data-folio-contract="v7010"] body.page-service[data-folio-migration="f1-v7011"] #projektbeleg.service-case-proof[data-ambient="evidence"][data-folio]{
  background-color:var(--nbc-folio-paper)!important;
  background-image:
    radial-gradient(circle at 16% 9%,rgba(49,95,62,.032) 0 1px,transparent 1.2px),
    linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,0) 24%)!important;
  background-size:6px 6px,auto!important;
  color:var(--nbc-folio-ink)!important;
}

}

/* NBC P6 bundle v7332 · chain 06 · 2 source stylesheets */

/* === P6 SOURCE: evidence-folio-f4.v7014.css === */
/* NBC P3 cascade containment v7329 */
@layer nbc.legacy{
/*! NBC Evidence Folio · F4 · v7.014
    Final premium / contrast / rendered-regression owner.
    Scope: [data-folio] only. No redesign of surrounding dark sections. */

/* 1) Material ownership: explicit color + image layers avoid legacy shorthand/cascade loss. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio]{
  background-color: var(--nbc-folio-paper) !important;
  background-image:
    radial-gradient(circle at 16% 9%, rgba(49,95,62,.026) 0 1px, transparent 1.2px),
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0) 24%) !important;
  background-size: 6px 6px, auto !important;
  background-position: 0 0, 0 0 !important;
  background-repeat: repeat, no-repeat !important;
  color: var(--nbc-folio-ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-color: rgba(11,23,16,.12) !important;
}

/* Preserve only the intentional one-pixel ownership line; kill legacy full-surface pseudo overlays. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio]::after{
  content: none !important;
  background: none !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio]::before{
  max-height: 1px !important;
  pointer-events: none !important;
}

/* 2) Text ownership on Paper. These rules deliberately outrank legacy dark-surface colors. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] :where(h1,h2,h3,h4,h5,h6,strong,b,dt){
  color: var(--nbc-folio-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] :where(p,li,dd,figcaption,caption,td,small){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] :where(a:not(.btn),.mono,.nbc-eyebrow,[class*="eyebrow"],[class*="kicker"],.nbc-folio__meta,.nbc-folio__metric-label,.nbc-folio__row>span){
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] .nbc-folio__source{
  color: #5f6b62 !important; /* 4.81:1 on Paper; legacy #667168 was 4.39:1 */
  -webkit-text-fill-color: currentColor !important;
}

/* 3) Reading Paper: one continuous editorial document, never dark cards inside Paper. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(
  .ep-journey,.ep-executive-answer,.ep-answer-triad,.ep-practice-scenario,.ep-body,
  .ep-decision-ledger,.ep-conclusion,.article-diagnostic-context,.article-knowledge-container,
  .hinweis,.source-note,.ep-table-wrap,.ep-responsibility-ledger,.ep-redflags,.ep-sources,
  .dg5-guide-bridge,.dg5-guide-bridge__inner,.nbc-knowledge-item
){
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Open, document-like callouts instead of cards. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(.hinweis,.source-note,.ep-practice-scenario){
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding: 22px 0 !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
  color: var(--nbc-folio-muted) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(.hinweis,.source-note,.ep-practice-scenario) :where(p,span,strong){
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(.hinweis,.source-note,.ep-practice-scenario) strong{
  color: var(--nbc-folio-ink) !important;
}

/* Executive answer / responsibility / red flags become ledgers, not panels. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(.ep-answer-triad,.ep-responsibility-ledger,.ep-redflags){
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(.ep-answer-triad,.ep-responsibility-ledger,.ep-redflags) > :where(article,div){
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--nbc-folio-ink) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-responsibility-ledger > article{
  border: 0 !important;
  border-right: 1px solid var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-responsibility-ledger > article:last-child{
  border-right: 0 !important;
}

/* Tables are part of the paper: warm rules + horizontal containment, never a black slab. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-table-wrap{
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-table-wrap :where(table,thead,tbody,tr,th,td){
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-table-wrap table{
  width: 100% !important;
  min-width: 680px;
  border-collapse: collapse !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-table-wrap th{
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-table-wrap td{
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Reading-path / editorial metadata used dark-mode colors in legacy assets. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(
  .ep-section-kicker .mono,.ep-answer-triad .mono,.ep-visual-head .mono,.ep-chapter-head .mono,
  .ep-decision-ledger .mono,.ep-conclusion .mono,.dg5-guide-bridge .mono,.nbc-eyebrow
){
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-journey :where(span,i){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-journey :where(.mono,.is-current){
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Sources/disclosures stay in the same material and read like a document appendix. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-sources{
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
  color: var(--nbc-folio-ink) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-sources :where(summary,strong,h3){
  color: var(--nbc-folio-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-sources :where(p,li,small){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Final in-paper bridge: editorial rule, not a dark conversion card. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .dg5-guide-bridge{
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .dg5-guide-bridge :where(h2,h3,strong){
  color: var(--nbc-folio-ink) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .dg5-guide-bridge :where(p,li,small,span:not(.mono)){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 4) Legal Working Paper: local reset remains a control, not a second white card. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]).page-legal [data-folio] .local-data-reset{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-inline: 0 !important;
  border-color: var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]).page-legal [data-folio] .local-data-reset .btn{
  min-height: 44px !important;
  padding: 10px 0 !important;
  background: transparent !important;
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 5) Inputs on Folio material must never fall back to browser white. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] :where(input,textarea,select){
  color: var(--nbc-folio-ink) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] :where(input:not([type="range"]),textarea,select){
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 6) Narrow-width reading composition: keep ledgers open and tables contained. */
@media (max-width:760px){
  html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-responsibility-ledger > article{
    border-right: 0 !important;
    border-bottom: 1px solid var(--nbc-folio-rule) !important;
  }
  html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-responsibility-ledger > article:last-child{
    border-bottom: 0 !important;
  }
  html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-table-wrap{
    margin-inline: 0 !important;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
}

@media (prefers-contrast: more){
  html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio]{
    --nbc-folio-muted: #3f4d44;
    --nbc-folio-rule: #a9a193;
  }
}

/* F4 reading residuals: legacy decision-grid/card colors must resolve into the same Paper. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .article-diagnostic-grid > article{
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .article-diagnostic-grid > article:last-child{
  border-bottom: 0 !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(
  .ep-journey-state,
  .ep-journey-state *,
  .ep-responsibility-ledger > article > span,
  .article-diagnostic-grid > article > span,
  .ep-conclusion-list li > span
){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(
  .ep-responsibility-ledger > article > span:first-child,
  .article-diagnostic-grid > article > span:first-child
){
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* F4 editorial de-card pass: guided reading is a ledger row inside the same document. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-journey{
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding: 26px 0 !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-executive-answer::before{
  content: none !important;
  display: none !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .m6-reading-path :where(a,span){
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 5) Mobile article runtime may relocate the signature stage into Reading Paper.
   When that happens it must inherit the same document material, never reintroduce a dark slab. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-stage{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 28px 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
  box-shadow: none !important;
  color: var(--nbc-folio-ink) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-stage > .ep-hero-wrap,
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-stage-wrap{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-visual{
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--nbc-folio-ink) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-visual :where(.ep-visual-head,strong){
  color: var(--nbc-folio-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-visual :where(.ep-visual-head .mono,.ep-visual-fallback li::before){
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-visual :where(.ep-visual-fallback,p,li){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* The legacy mobile runtime relocates the desktop-only signature stage into the article.
   Its actual visual canvas is suppressed at this size, so retaining the shell would create an empty pseudo-section. */
@media (max-width:760px){
  html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-signature-stage{
    display: none !important;
  }
}

/* 6) Working Folio controls: legacy dark-form metadata colors did not meet Paper contrast. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="working"] .dg4-field > span{
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="working"] .dg4-trustline > span{
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 7) Contact Briefing Sheet: solid submit control must reverse its nested text with the button. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="working"] .ac-submit :where(span,strong){
  color: var(--nbc-folio-paper) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 8) Reading Paper legacy responsive tables: mobile cardification must stay on Paper. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] :where(.table-scroll,.responsive-table,.responsive-table thead,.responsive-table tbody,.responsive-table tr,.responsive-table th,.responsive-table td){
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-color: var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .responsive-table tr{
  border-inline: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--nbc-folio-rule) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .responsive-table :where(th,td){
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .responsive-table th{
  color: var(--nbc-folio-moss) !important;
}

/* 9) Inline editorial figures are diagrams within the document, not dark-mode islands. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz{
  width: 100% !important;
  max-width: 100% !important;
  margin: 36px 0 !important;
  padding: 24px 0 18px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz svg text{
  fill: var(--nbc-folio-muted) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz svg :where(text.ok,.ok text,.fv-boxlbl.ok,.fv-rowcap.ok,.fviz-cap.ok){
  fill: var(--nbc-folio-moss) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz svg :where(text.bad,.bad text,.fv-rowcap.bad,.fviz-cap.bad,.fv-arrlbl.bad){
  fill: #7b403b !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz svg rect{
  fill: var(--nbc-folio-paper-secondary) !important;
  stroke: var(--nbc-folio-rule) !important;
  filter: none !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz svg :where(.fv-boxn,.fv-filter rect){
  stroke: var(--nbc-folio-moss) !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .fviz figcaption{
  color: var(--nbc-folio-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 10) Universal Reading Paper row reset: mobile editorial CSS used row-cards on several decision tables. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] tr{
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 11) Barometer optional cost inputs remain functional, but read as document fields. */
html[data-folio-contract="v7010"] body.page-barometer [data-folio="decision"] .baro-calculator input{
  min-height: 48px !important;
  padding: 10px 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--nbc-folio-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--nbc-folio-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 12) Runtime-injected next-reading module is part of the document close, never a card. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="reading"] .ep-next-reading{
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding: 28px 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-block: 1px solid var(--nbc-folio-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] .btn{
  box-shadow: none !important;
}

/* 13) Tablet/desktop Paper contrast corrections for legacy theme accents. */
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] .case2-index-link,
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio="working"] .dg3-preview-grid figcaption > span{
  color: var(--nbc-folio-moss) !important;
  -webkit-text-fill-color: currentColor !important;
}
html[data-folio-contract="v7010"] body:is(#nbc-page,[data-folio-migration]) [data-folio] .f1-metric-slash{
  color: #5f6b62 !important;
  -webkit-text-fill-color: currentColor !important;
}

/* 12) Final material layer ownership.
   Legacy v6 bundles place some ambient transparency rules inside the first cascade layer.
   Important declarations reverse layer precedence, so an unlayered F4 rule cannot own those surfaces.
   Re-enter the established first layer for the top-level Folio material only. */
@layer nbc.normal{
  html[data-folio-contract="v7010"] body#nbc-page.page.design-system-executive [data-folio]{
    background-color: var(--nbc-folio-paper) !important;
    background-image:
      radial-gradient(circle at 16% 9%, rgba(49,95,62,.026) 0 1px, transparent 1.2px),
      linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0) 24%) !important;
    background-size: 6px 6px, auto !important;
    background-position: 0 0, 0 0 !important;
    background-repeat: repeat, no-repeat !important;
  }
}

}

/* === P6 SOURCE: eyebrow-governance.v7015.css === */
/* NBC P3 cascade containment v7329 */
@layer nbc.legacy{
/*! NBC v7.015 · Eyebrow Governance
    Dark = scarce chapter markers. Folio = document labels. Hero/instrument microcopy remain separate. */
@layer nbc.normal{
  body.page[data-eyebrow-release="v7015"] [data-section-eyebrow="true"]{
    font-family:var(--font-mono,"IBM Plex Mono",ui-monospace,monospace)!important;
    font-size:9px!important;
    line-height:1.45!important;
    font-weight:500!important;
    letter-spacing:.105em!important;
    text-transform:uppercase!important;
    color:#719B79!important;
    -webkit-text-fill-color:#719B79!important;
    opacity:1!important;
    display:block!important;
    margin-top:0!important;
    margin-bottom:clamp(16px,1.35vw,21px)!important;
  }
  body.page[data-eyebrow-release="v7015"] [data-section-eyebrow="true"]::before,
  body.page[data-eyebrow-release="v7015"] [data-section-eyebrow="true"]::after{
    content:none!important;
    display:none!important;
    box-shadow:none!important;
  }
  /* Reading/Decision Papers never inherit the normal bright-green website eyebrow voice. */
  body.page[data-eyebrow-release="v7015"] [data-folio] .nbc-eyebrow[data-folio-label="true"]{
    font-family:var(--font-mono,"IBM Plex Mono",ui-monospace,monospace)!important;
    font-size:9px!important;
    line-height:1.45!important;
    font-weight:500!important;
    letter-spacing:.09em!important;
    text-transform:uppercase!important;
    color:#4D5A51!important;
    -webkit-text-fill-color:#4D5A51!important;
  }
  /* Folio-local diagnostic labels read as document metadata, not as a second green section system. */
  body.page[data-eyebrow-release="v7015"] [data-folio] .baro-kicker{
    color:#4D5A51!important;
    -webkit-text-fill-color:#4D5A51!important;
  }
  /* Evidence scene labels belong to the paper vocabulary. */
  body.page[data-eyebrow-release="v7015"] .m7s-evidence .m7s-kicker{
    color:#315F3E!important;
    -webkit-text-fill-color:#315F3E!important;
    font-size:9px!important;
    letter-spacing:.09em!important;
  }
  /* Footer closure is deliberately neutral; green is reserved for active chapter orientation. */
  body.page[data-eyebrow-release="v7015"] .p7-footer-kicker{
    color:#849087!important;
    -webkit-text-fill-color:#849087!important;
    font-size:9px!important;
    letter-spacing:.09em!important;
  }
  @media (max-width:760px){
    body.page[data-eyebrow-release="v7015"] [data-section-eyebrow="true"]{
      font-size:9px!important;
      letter-spacing:.095em!important;
      margin-bottom:16px!important;
    }
  }
}

}

/* NBC P6 bundle v7332 · chain 07 · 2 source stylesheets */

/* === P6 SOURCE: evidence-folio-editorial.v7018.css === */
/* NBC P3 cascade containment v7329 */
@layer nbc.legacy{
/*! NBC Evidence Folio Editorial + Axis Contract · v7.018
    Purpose:
    1) Folio content follows the outer axis of its page instead of a generic 1180px island.
    2) Core Folios become editorial-first: thesis first, evidence second.
    3) Reading Papers remain intentionally readable; page-specific working/reading measures are not stretched. */

:root{
  --nbc-folio-axis-gutter:var(--nbc-shell-gutter,var(--nbc-layout-gutter,clamp(32px,2.75vw,64px)));
  --nbc-folio-shell:max(0px,var(--nbc-shell-width,min(1680px,calc(100vw - (2 * var(--nbc-folio-axis-gutter))))));
  --nbc-folio-case-axis:1320px;
}

/* --------------------------------------------------------------------------
   OUTER AXIS CONTRACT
   Normal business/research Folios use the exact same shell as surrounding NBC sections.
   Reading Papers intentionally keep their editorial measure. */
@media (min-width:761px){
  html[data-folio-contract="v7010"] body.page-home [data-folio="evidence"] > .nbc-folio__inner,
  html[data-folio-contract="v7010"] body.page-service [data-folio="evidence"] > .nbc-folio__inner,
  html[data-folio-contract="v7010"] body.page-regional-intelligence .f3-research-folio > .wrap,
  html[data-folio-contract="v7010"] body.page-industry-hub .f3-industry-folio > .wrap,
  html[data-folio-contract="v7010"] body.page-regional .f3-goe-folio > .wrap{
    width:var(--nbc-shell-width,min(1680px,calc(100vw - (2 * var(--nbc-folio-axis-gutter)))))!important;
    max-width:var(--nbc-shell-max,1680px)!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }

  /* Göttingen had a second 1180px inner track nested inside the already correct outer wrap. */
  html[data-folio-contract="v7010"] body.page-regional .f3-goe-folio > .wrap > .nbc-folio__inner{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding-inline:0!important;
  }

  /* Case pages have their own established 1320px axis; Paper must follow it rather than 1180px. */
  html[data-folio-contract="v7010"] body.page-template-case-index .f2-case-ledger > .case2-wrap,
  html[data-folio-contract="v7010"] body.page-template-case-detail .f2-case-record > .case2-wrap{
    width:min(calc(100% - (2 * var(--case2-gutter,var(--nbc-folio-axis-gutter)))),var(--nbc-folio-case-axis))!important;
    max-width:var(--nbc-folio-case-axis)!important;
    margin-inline:auto!important;
  }
  html[data-folio-contract="v7010"] body.page-template-case-detail .f2-case-record > .case2-wrap > .nbc-folio__inner{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }
}

/* Keep the paper itself full width; only its internal semantic axis is constrained. */
html[data-folio-contract="v7010"] [data-folio]:not([data-folio="reading"]){
  width:100%;
  max-width:none;
}

/* --------------------------------------------------------------------------
   EDITORIAL-FIRST OPENING
   A Folio is allowed to carry a thought, not only a metric. */
html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__opening{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  gap:clamp(48px,6vw,116px);
  align-items:end;
  width:100%;
  max-width:none;
}
html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__opening .nbc-folio__statement{
  max-width:16ch!important;
  margin:0!important;
}
html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__editorial{
  max-width:34ch!important;
  margin:0 0 .12em!important;
  color:var(--nbc-folio-ink)!important;
  -webkit-text-fill-color:currentColor!important;
  font-family:Archivo,Arial,sans-serif;
  font-size:clamp(21px,1.7vw,30px)!important;
  font-weight:450;
  line-height:1.34!important;
  letter-spacing:-.022em;
  text-wrap:pretty;
}
html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__evidence-label{
  display:block;
  width:100%;
  margin:clamp(68px,7vw,112px) 0 0!important;
  padding:20px 0 0!important;
  border-top:1px solid var(--nbc-folio-rule);
  color:var(--nbc-folio-moss)!important;
  -webkit-text-fill-color:currentColor!important;
  font:600 10px/1.45 "IBM Plex Mono",ui-monospace,monospace!important;
  letter-spacing:.1em;
  text-transform:uppercase;
}

/* Evidence is deliberately the second act, not the opening headline. */
html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__evidence-label + .nbc-folio__metric{
  margin-top:clamp(30px,3.2vw,52px)!important;
}
html[data-folio-contract="v7010"] body.page-industry-hub [data-folio-editorial="v7018"] .nbc-folio__evidence-label + .bi-proof-grid,
html[data-folio-contract="v7010"] body.page-regional-intelligence [data-folio-editorial="v7018"] .nbc-folio__evidence-label + .regional-signal-grid,
html[data-folio-contract="v7010"] body.page-regional [data-folio-editorial="v7018"] .nbc-folio__evidence-label + .nbc-folio__ledger{
  margin-top:18px!important;
}

/* Wide canvas means ledgers may actually use the width instead of collapsing into the old centre strip. */
html[data-folio-contract="v7010"] body:is(.page-home,.page-service,.page-regional) [data-folio-editorial="v7018"] .nbc-folio__row{
  grid-template-columns:minmax(180px,.48fr) minmax(0,1.52fr)!important;
  gap:24px clamp(48px,6vw,108px)!important;
}
html[data-folio-contract="v7010"] body:is(.page-home,.page-service,.page-regional) [data-folio-editorial="v7018"] .nbc-folio__row > :where(strong,p,div){
  max-width:72ch;
}

/* Industry and regional research rows use the full NBC shell. */
html[data-folio-contract="v7010"] body.page-industry-hub [data-folio-editorial="v7018"] .bi-proof-case,
html[data-folio-contract="v7010"] body.page-industry-hub [data-folio-editorial="v7018"] .bi-proof-more{
  grid-template-columns:minmax(190px,.55fr) minmax(250px,.78fr) minmax(0,1.3fr) 110px!important;
  gap:20px clamp(28px,3.6vw,68px)!important;
}
html[data-folio-contract="v7010"] body.page-regional-intelligence [data-folio-editorial="v7018"] .regional-signal-card{
  grid-template-columns:minmax(210px,.62fr) minmax(180px,.55fr) minmax(0,1.35fr) 130px!important;
  gap:18px clamp(28px,3.4vw,64px)!important;
}

/* Case white records: restore their established 1320 axis and let the record breathe across it. */
html[data-folio-contract="v7010"] body.page-template-case-detail .f2-case-record .nbc-folio__row{
  grid-template-columns:minmax(170px,.5fr) minmax(0,1.5fr)!important;
  gap:22px clamp(48px,5vw,88px)!important;
}

/* Reading Papers are a deliberate exception: long-form reading remains 820px-ish.
   Their surrounding Paper is already full-bleed; readability wins over shell expansion. */
html[data-folio-contract="v7010"] [data-folio="reading"] > .ep-article-content,
html[data-folio-contract="v7010"] [data-folio="reading"] .nbc-folio__inner{
  /* explicit no-op contract marker */
}

@media (max-width:760px){
  html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__opening{
    grid-template-columns:1fr;
    gap:22px;
  }
  html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__editorial{
    max-width:none!important;
    font-size:20px!important;
    line-height:1.42!important;
  }
  html[data-folio-contract="v7010"] [data-folio-editorial="v7018"] .nbc-folio__evidence-label{
    margin-top:50px!important;
    padding-top:16px!important;
  }
  html[data-folio-contract="v7010"] body:is(.page-home,.page-service,.page-regional) [data-folio-editorial="v7018"] .nbc-folio__row,
  html[data-folio-contract="v7010"] body.page-industry-hub [data-folio-editorial="v7018"] .bi-proof-case,
  html[data-folio-contract="v7010"] body.page-industry-hub [data-folio-editorial="v7018"] .bi-proof-more,
  html[data-folio-contract="v7010"] body.page-regional-intelligence [data-folio-editorial="v7018"] .regional-signal-card{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
}

}

/* === P6 SOURCE: mobile-release-hardening.v7019.css === */
/* NBC P3 cascade containment v7329 */
@layer nbc.legacy{
/*! NBC Mobile Release Hardening · v7.019
    Final mobile ownership for header geometry + genuine viewport bleed corrections.
    Scope: <=760px only. Desktop/tablet 761+ untouched. */
@media (max-width:760px){
  /* One header axis, independent of historical page-family bundles. */
  html body[data-mobile-art="v7"] .site-header > .wrap.nav,
  html body[data-mobile-art="v7"] .site-header .nav{
    width:100%!important;
    max-width:none!important;
    height:var(--m7-header-h,64px)!important;
    min-height:var(--m7-header-h,64px)!important;
    margin:0!important;
    padding-left:var(--m7-inline-start,20px)!important;
    padding-right:var(--m7-inline-end,20px)!important;
    display:grid!important;
    grid-template-columns:96px minmax(0,1fr) auto 44px!important;
    grid-template-rows:var(--m7-header-h,64px)!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:0!important;
    box-sizing:border-box!important;
  }
  html body[data-mobile-art="v7"] .site-header .brand{
    grid-column:1!important;
    grid-row:1!important;
    width:96px!important;
    min-width:0!important;
    align-self:center!important;
    margin:0!important;
  }
  html body[data-mobile-art="v7"] .site-header .nav > .nbc-mobile-context{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:100%!important;
    align-self:center!important;
  }
  html body[data-mobile-art="v7"] .site-header .nav > .nbc-mobile-header-cta{
    grid-column:3!important;
    grid-row:1!important;
    align-self:center!important;
    justify-self:end!important;
    min-height:44px!important;
    margin:0!important;
  }
  /* The nav element must not consume a grid track while the menu is closed. */
  html body[data-mobile-art="v7"] .site-header nav{
    grid-column:4!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    width:0!important;
    min-width:0!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  /* One toggle geometry across every page family. Runtime text stays semantic,
     pseudo-lines own the visible hamburger/X. */
  html body[data-mobile-art="v7"] .site-header .burger{
    grid-column:4!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(229,241,232,.18)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.025)!important;
    color:transparent!important;
    -webkit-text-fill-color:transparent!important;
    font-size:0!important;
    line-height:0!important;
    text-indent:-9999px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    z-index:1002!important;
  }
  html body[data-mobile-art="v7"] .site-header .burger::before,
  html body[data-mobile-art="v7"] .site-header .burger::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:18px!important;
    height:1.5px!important;
    margin:0!important;
    border:0!important;
    border-radius:2px!important;
    background:var(--m7-text,#f5f2ed)!important;
    box-shadow:none!important;
    transform-origin:center!important;
  }
  html body[data-mobile-art="v7"] .site-header .burger::before{
    transform:translate(-50%,-4px)!important;
  }
  html body[data-mobile-art="v7"] .site-header .burger::after{
    transform:translate(-50%,4px)!important;
  }
  html body[data-mobile-art="v7"].menu-open .site-header .burger::before,
  html body[data-mobile-art="v7"] .site-header .burger[aria-expanded="true"]::before{
    transform:translate(-50%,0) rotate(45deg)!important;
  }
  html body[data-mobile-art="v7"].menu-open .site-header .burger::after,
  html body[data-mobile-art="v7"] .site-header .burger[aria-expanded="true"]::after{
    transform:translate(-50%,0) rotate(-45deg)!important;
  }
  html body[data-mobile-art="v7"].menu-open .site-header .burger{
    background:#09140e!important;
    border-color:rgba(229,241,232,.22)!important;
  }
  /* Full-screen menu inherits the same viewport gutters as the closed header. */
  html body[data-mobile-art="v7"] .site-header nav #menu.open{
    left:0!important;
    right:0!important;
    width:100vw!important;
    max-width:100vw!important;
    padding-left:var(--m7-inline-start,20px)!important;
    padding-right:var(--m7-inline-end,20px)!important;
    box-sizing:border-box!important;
  }
  /* Genuine mobile geometry defect: the Barometer stage previously bled ~4px
     beyond the viewport because a legacy negative margin exceeded its parent gutter. */
  html body.page-barometer[data-mobile-art="v7"] .baro-stage{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
  }
}

@media (max-width:350px){
  html body[data-mobile-art="v7"] .site-header > .wrap.nav,
  html body[data-mobile-art="v7"] .site-header .nav{
    grid-template-columns:88px minmax(0,1fr) auto 44px!important;
    column-gap:6px!important;
  }
  html body[data-mobile-art="v7"] .site-header .brand{width:88px!important;}
}

/* Homepage legacy bundles place some !important header chrome in the earliest
   nbc.normal layer. Mirror the critical geometry there so one owner still wins. */
@layer nbc.normal{
  @media (max-width:760px){
    html body[data-mobile-art="v7"] .site-header > .wrap.nav,
    html body[data-mobile-art="v7"] .site-header .nav{
      width:100%!important;max-width:none!important;margin:0!important;
      padding-left:var(--m7-inline-start,20px)!important;padding-right:var(--m7-inline-end,20px)!important;
      grid-template-columns:96px minmax(0,1fr) auto 44px!important;grid-template-rows:var(--m7-header-h,64px)!important;
      column-gap:8px!important;row-gap:0!important;
    }
    html body[data-mobile-art="v7"] .site-header nav{
      grid-column:4!important;grid-row:1!important;width:0!important;min-width:0!important;height:0!important;min-height:0!important;
      margin:0!important;padding:0!important;overflow:visible!important;justify-self:end!important;align-self:center!important;
    }
    html body[data-mobile-art="v7"] .site-header .burger{
      grid-column:4!important;grid-row:1!important;justify-self:end!important;align-self:center!important;
      width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
      margin:0!important;padding:0!important;border-radius:12px!important;
      border:1px solid rgba(229,241,232,.18)!important;background:rgba(255,255,255,.025)!important;
      color:transparent!important;-webkit-text-fill-color:transparent!important;font-size:0!important;line-height:0!important;
      text-indent:-9999px!important;white-space:nowrap!important;overflow:hidden!important;position:relative!important;inset:auto!important;transform:none!important;
    }
    html body[data-mobile-art="v7"] .site-header nav #menu.open{
      left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;
      padding-left:var(--m7-inline-start,20px)!important;padding-right:var(--m7-inline-end,20px)!important;box-sizing:border-box!important;
    }
  }
}

/* 761–1080px: remove the historical hybrid state (mobile CTA + desktop-ish menu).
   Tablet keeps the desktop outer gutter but receives one coherent navigation surface. */
@media (min-width:761px) and (max-width:1080px){
  html body[data-mobile-art="v7"] .site-header .nbc-mobile-context,
  html body[data-mobile-art="v7"] .site-header .nbc-mobile-header-cta{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html body[data-mobile-art="v7"] .site-header .burger{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(229,241,232,.18)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.025)!important;
    color:transparent!important;
    -webkit-text-fill-color:transparent!important;
    font-size:0!important;
    line-height:0!important;
    text-indent:-9999px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    position:relative!important;
    z-index:1002!important;
  }
  html body[data-mobile-art="v7"] .site-header .burger::before,
  html body[data-mobile-art="v7"] .site-header .burger::after{
    content:""!important;position:absolute!important;left:50%!important;top:50%!important;
    width:18px!important;height:1.5px!important;border:0!important;border-radius:2px!important;
    background:#f5f2ed!important;box-shadow:none!important;transform-origin:center!important;
  }
  html body[data-mobile-art="v7"] .site-header .burger::before{transform:translate(-50%,-4px)!important;}
  html body[data-mobile-art="v7"] .site-header .burger::after{transform:translate(-50%,4px)!important;}
  html body[data-mobile-art="v7"].menu-open .site-header .burger::before,
  html body[data-mobile-art="v7"] .site-header .burger[aria-expanded="true"]::before{transform:translate(-50%,0) rotate(45deg)!important;}
  html body[data-mobile-art="v7"].menu-open .site-header .burger::after,
  html body[data-mobile-art="v7"] .site-header .burger[aria-expanded="true"]::after{transform:translate(-50%,0) rotate(-45deg)!important;}
  html body[data-mobile-art="v7"].menu-open .site-header .burger{background:#09140e!important;border-color:rgba(229,241,232,.22)!important;}

  html body[data-mobile-art="v7"] .site-header nav #menu.open{
    position:fixed!important;
    inset:0!important;
    z-index:88!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    min-height:100svh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:calc(72px + 30px) clamp(32px,4vw,48px) calc(30px + env(safe-area-inset-bottom,0px))!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    background:radial-gradient(70% 42% at 84% 8%,rgba(78,171,105,.09),transparent 72%),#06130d!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  html body[data-mobile-art="v7"] .site-header nav #menu.open > .nbc-premium-menu-intro{display:none!important;}
  html body[data-mobile-art="v7"] .site-header nav #menu.open > li:not(.nbc-premium-menu-intro){
    width:min(680px,100%)!important;
    margin:0 auto!important;
    padding:0!important;
    border-top:0!important;
    border-bottom:1px solid rgba(229,241,232,.12)!important;
  }
  html body[data-mobile-art="v7"] .site-header nav #menu.open > li > a,
  html body[data-mobile-art="v7"] .site-header nav #menu.open .nav-summary{
    width:100%!important;
    min-height:58px!important;
    padding:14px 0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    color:#f5f2ed!important;
    font-size:clamp(22px,3.2vw,28px)!important;
    line-height:1.06!important;
    font-weight:700!important;
    text-align:left!important;
    background:none!important;
    border:0!important;
  }
  html body[data-mobile-art="v7"] .site-header nav #menu.open .nav-sub{
    position:static!important;width:100%!important;margin:0!important;padding:0 0 14px!important;
    background:none!important;border:0!important;box-shadow:none!important;
  }
  html body[data-mobile-art="v7"] .site-header nav #menu.open .nav-sub a{
    min-height:44px!important;padding:8px 0 8px 14px!important;display:flex!important;align-items:center!important;
    color:rgba(229,241,232,.68)!important;font-size:15px!important;
  }
  html body[data-mobile-art="v7"] .site-header nav #menu.open .nav-cta{
    min-height:54px!important;margin:18px 0 0!important;border-radius:14px!important;
    background:#f1eee5!important;color:#0b1710!important;justify-content:center!important;font-size:15px!important;
  }
}

/* Navigation overlay must sit above page-family rails/stages and menu CTA must
   have one label only; several tablet bundles add decorative pseudo-copy. */
@media (max-width:1080px){
  html body[data-mobile-art="v7"] .site-header{z-index:1000!important;}
  html body[data-mobile-art="v7"] .site-header nav #menu.open .nav-cta::before,
  html body[data-mobile-art="v7"] .site-header nav #menu.open .nav-cta::after{
    content:none!important;
    display:none!important;
  }
}

}
