/* NBC v7.407 · Instrument Final Round 1 · local QA corrections only */

/* ERP · tablet 768-ish: keep scenario labels readable instead of forcing five into one row. */
@media (min-width:701px) and (max-width:860px){
  html body.service-erp #erp-belastungsprobe .ec-scenario-controlset{
    grid-template-columns:repeat(2,auto)!important;
    justify-content:start!important;
    align-items:start!important;
    gap:8px 10px!important;
  }
  html body.service-erp #erp-belastungsprobe .ec-scenario-buttons{
    grid-column:1 / -1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }
  html body.service-erp #erp-belastungsprobe .ec-scenario-buttons .ec-scenario-button:last-child:nth-child(odd){
    grid-column:auto!important;
    justify-self:stretch!important;
    width:auto!important;
  }
  html body.service-erp #erp-belastungsprobe .ec-reset{
    grid-column:1!important;
    justify-self:start!important;
  }
  html body.service-erp #erp-belastungsprobe .ec-share{
    grid-column:2!important;
    justify-self:start!important;
  }
}

/* Operating Twin · mobile: preserve readable type while separating micro-state from main outcome. */
@media (max-width:700px){
  html body.page-home [data-home-twin-engine][data-home-twin-layout="mobile"] .ts-data-decision{
    translate:none!important;
  }
  html body.page-home [data-home-twin-engine][data-home-twin-layout="mobile"] .ts-people-gate{
    translate:none!important;
  }
}

/* Digital Check · small but actionable result link should not drop below 10px on mobile. */
@media (max-width:700px){
  html body.page-digital-check #digital-check .dg5-result-guide{
    font-size:10px!important;
    line-height:1.45!important;
  }
}

/* Process calculator · phase rail: active step must not inherit the legacy .52 opacity. */
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"] .pr-phase-rail li{
  opacity:.72!important;
  color:rgba(247,245,242,.52)!important;
}
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"] .pr-phase-rail li > b{
  color:rgba(247,245,242,.38)!important;
}
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"][data-pr-phase="surface"] [data-pr-phase-item="surface"],
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"][data-pr-phase="reveal"] [data-pr-phase-item="reveal"],
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"][data-pr-phase="result"] [data-pr-phase-item="result"]{
  opacity:1!important;
  color:var(--pr-paper,#f7f5f2)!important;
}
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"][data-pr-phase="surface"] [data-pr-phase-item="surface"] > b,
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"][data-pr-phase="reveal"] [data-pr-phase-item="reveal"] > b,
html body.service-process #sollweg-echtweg [data-process-reality-app="v6416"][data-pr-phase="result"] [data-pr-phase-item="result"] > b{
  color:var(--pr-green,#9ce6ae)!important;
}
