/* NBC P3 cascade containment v7329 */
@layer nbc.legacy{
/*! NBC v7258 · Visual QA Pass 2 · scoped last-wins component corrections */

/* =========================================================
   1) OPERATING TWIN · stronger lower hierarchy + clean links
   ========================================================= */
html body.page-home #situationen .operating-twin__scenario-panel{
  margin-top:18px!important;
}
html body.page-home #situationen .operating-twin__scenarios{
  gap:9px!important;
}
html body.page-home #situationen .operating-twin__scenario{
  border-color:rgba(184,230,198,.14)!important;
  background:rgba(255,255,255,.018)!important;
  color:#d8e6db!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease!important;
}
html body.page-home #situationen .operating-twin__scenario:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(184,230,198,.28)!important;
  background:rgba(184,230,198,.035)!important;
}
html body.page-home #situationen .operating-twin__scenario[aria-pressed="true"]{
  border-color:rgba(139,207,154,.46)!important;
  background:linear-gradient(180deg,rgba(139,207,154,.10),rgba(139,207,154,.045))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
html body.page-home #situationen .operating-twin__scenario strong{color:#edf5ef!important}
html body.page-home #situationen .operating-twin__scenario small{color:rgba(199,218,204,.70)!important}

html body.page-home #situationen .operating-twin__finding{
  display:grid!important;
  grid-template-columns:1.05fr 1fr 1fr!important;
  gap:0!important;
  margin-top:14px!important;
  border:1px solid rgba(184,230,198,.12)!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(10,23,16,.58),rgba(8,18,13,.42))!important;
}
html body.page-home #situationen .operating-twin__finding-item{
  min-height:104px!important;
  padding:16px 18px!important;
  border:0!important;
}
html body.page-home #situationen .operating-twin__finding-item+ .operating-twin__finding-item{
  border-left:1px solid rgba(184,230,198,.09)!important;
}
html body.page-home #situationen .operating-twin__finding-item .mono{
  display:block!important;
  margin-bottom:7px!important;
  color:rgba(154,207,169,.78)!important;
  font-size:9.5px!important;
  letter-spacing:.12em!important;
}
html body.page-home #situationen .operating-twin__finding [data-home-twin-finding]{
  color:#f0f5f1!important;
  font-size:16.5px!important;
  line-height:1.32!important;
}
html body.page-home #situationen .operating-twin__finding [data-home-twin-effect],
html body.page-home #situationen .operating-twin__finding [data-home-twin-decision]{
  margin:0!important;
  color:rgba(205,222,210,.84)!important;
  font-size:13px!important;
  line-height:1.48!important;
}
html body.page-home #situationen .operating-twin__decision{
  background:linear-gradient(180deg,rgba(139,207,154,.045),rgba(139,207,154,.018))!important;
}
html body.page-home #situationen .operating-twin__decision [data-home-twin-decision]{color:#bce7c5!important}

html body.page-home #situationen .operating-twin__actions{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin-top:14px!important;
}
html body.page-home #situationen .operating-twin__actions a{
  text-decoration:none!important;
  font-family:Archivo,Arial,sans-serif!important;
}
html body.page-home #situationen .operating-twin__actions .btn{
  min-height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:11px 16px!important;
  border-radius:10px!important;
}
html body.page-home #situationen .operating-twin__actions [data-home-twin-method]{
  display:inline-flex!important;
  align-items:center!important;
  min-height:44px!important;
  padding:10px 4px!important;
  color:#a9dcb3!important;
  font-size:13px!important;
  font-weight:650!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(139,207,154,.26)!important;
}
html body.page-home #situationen .ts-route-labels{
  color:rgba(223,237,227,.86)!important;
  font-weight:550!important;
}
html body.page-home #situationen .rf-twin-metrics>div:first-child{
  border-color:rgba(139,207,154,.18)!important;
  background:linear-gradient(180deg,rgba(139,207,154,.055),rgba(139,207,154,.022))!important;
}
html body.page-home #situationen .rf-twin-metrics strong{font-size:14px!important}
html body.page-home #situationen .rs-note{color:rgba(193,211,198,.50)!important}

@media(max-width:700px){
  html body.page-home #situationen .operating-twin__finding{grid-template-columns:1fr!important}
  html body.page-home #situationen .operating-twin__finding-item{min-height:0!important;padding:14px!important}
  html body.page-home #situationen .operating-twin__finding-item+ .operating-twin__finding-item{border-left:0!important;border-top:1px solid rgba(184,230,198,.09)!important}
  html body.page-home #situationen .operating-twin__actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  html body.page-home #situationen .operating-twin__actions .btn,
  html body.page-home #situationen .operating-twin__actions [data-home-twin-method]{width:100%!important;justify-content:center!important}
}

/* =========================================================
   2) PROCESS CALCULATOR · restore intended compact vocabulary
   ========================================================= */
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .rf-process-editor,
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-break-dock{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-break-dock{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  padding:18px!important;
  border:1px solid rgba(184,230,198,.12)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(10,23,16,.92),rgba(8,18,13,.86))!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-summary{
  grid-column:1/-1!important;
  height:auto!important;
  min-height:0!important;
  padding:0 0 14px!important;
  margin:0!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dimension-feedback{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  height:auto!important;
  min-height:0!important;
  margin-top:12px!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dimension-feedback>span{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  min-height:38px!important;
  padding:7px 9px!important;
  border:1px solid rgba(184,230,198,.08)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.015)!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-group{
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-options{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-option{
  display:grid!important;
  grid-template-columns:26px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  height:auto!important;
  min-height:62px!important;
  padding:9px 10px!important;
  border-radius:11px!important;
  overflow:hidden!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] svg.pr-vocab-icon{
  display:block!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  inline-size:24px!important;
  block-size:24px!important;
  flex:0 0 24px!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] svg.pr-vocab-icon.is-mini,
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-vocab-feedback-icon svg.pr-vocab-icon{
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;inline-size:18px!important;block-size:18px!important;flex-basis:18px!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-vocab-option-copy{
  display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;
}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-vocab-option-copy strong{font-size:12px!important;line-height:1.24!important}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-vocab-option-copy small{font-size:10.5px!important;line-height:1.32!important;color:rgba(199,216,203,.68)!important}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-vocab-feedback-text{font-size:11px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-mode-badge{max-width:72ch!important}

@media(max-width:760px){
  html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-break-dock{grid-template-columns:1fr!important;gap:13px!important;padding:14px!important;margin:12px 10px 0!important}
  html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dimension-feedback{grid-template-columns:1fr!important;gap:6px!important}
  html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-option{min-height:68px!important;padding:9px!important}
}
@media(max-width:460px){
  html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-options{grid-template-columns:1fr!important}
  html body .nbc-process-reality-section [data-process-reality-app="v6416"] .pr-dock-option{min-height:62px!important}
}

/* =========================================================
   3) ERP PROVIDER PROOF · last-wins premium structure
   ========================================================= */
html body #erp-belastungsprobe .ec-model{
  --ec-paper:#edf3e9;--ec-muted:#98ad9f;--ec-line:rgba(184,230,198,.13);
  display:grid!important;
  gap:15px!important;
  width:100%!important;
  color:#dce9df!important;
}
html body #erp-belastungsprobe .ec-model :is(h3,h4,h5,strong,p,small,span,button){font-family:Archivo,Arial,sans-serif}
html body #erp-belastungsprobe .ec-head{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr)!important;gap:12px!important}
html body #erp-belastungsprobe .ec-intro,
html body #erp-belastungsprobe .ec-action,
html body #erp-belastungsprobe .ec-scenario-controls,
html body #erp-belastungsprobe .ec-scenario-object,
html body #erp-belastungsprobe .ec-reference-band--compact,
html body #erp-belastungsprobe .ec-shared-compare{
  border:1px solid rgba(184,230,198,.13)!important;
  background:linear-gradient(180deg,rgba(12,27,19,.95),rgba(8,19,13,.91))!important;
  color:#dce9df!important;
  border-radius:18px!important;
}
html body #erp-belastungsprobe .ec-intro{padding:18px!important}
html body #erp-belastungsprobe .ec-action{padding:16px!important}
html body #erp-belastungsprobe .ec-global-stations{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
}
html body #erp-belastungsprobe .ec-global-station{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:44px!important;
  padding:7px 9px!important;
  border:1px solid rgba(184,230,198,.11)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.014)!important;
  color:#cfe0d3!important;
  text-align:left!important;
}
html body #erp-belastungsprobe .ec-global-station[aria-pressed="true"]{
  border-color:rgba(184,230,198,.34)!important;
  background:rgba(184,230,198,.055)!important;
  color:#f0f7f1!important;
}
html body #erp-belastungsprobe .ec-global-station strong{font-size:11.5px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #erp-belastungsprobe .ec-providers--rails{display:grid!important;gap:8px!important}
html body #erp-belastungsprobe .ec-provider--rail{
  display:grid!important;
  grid-template-columns:156px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 11px!important;
  border:1px solid rgba(184,230,198,.12)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(11,26,18,.96),rgba(8,18,13,.93))!important;
  color:#dce9df!important;
  box-shadow:0 12px 34px rgba(0,0,0,.10)!important;
}
html body #erp-belastungsprobe .ec-provider-meta--rail{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  color:#dce9df!important;
}
html body #erp-belastungsprobe .ec-provider-letter{
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:8px!important;border:1px solid rgba(184,230,198,.18)!important;background:rgba(184,230,198,.045)!important;color:#dff0e2!important;font:700 11px/1 "IBM Plex Mono",monospace!important;
}
html body #erp-belastungsprobe .ec-provider-rail-name{display:grid!important;gap:3px!important;min-width:0!important}
html body #erp-belastungsprobe .ec-provider-rail-name strong{font-size:14px!important;line-height:1.1!important;color:#f0f6f1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #erp-belastungsprobe .ec-provider-rail-name small{font-size:10.5px!important;line-height:1.2!important;color:#93a99a!important}
html body #erp-belastungsprobe .ec-lane-shell--compact{
  display:block!important;
  position:relative!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
  border:1px solid rgba(184,230,198,.12)!important;
  border-radius:13px!important;
  background:radial-gradient(circle at 50% 48%,rgba(116,181,137,.07),transparent 43%),linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.008))!important;
}
html body #erp-belastungsprobe .ec-lane-shell--compact .ec-lane-svg--desktop{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1000/180!important;
  overflow:visible!important;
}
html body #erp-belastungsprobe .ec-lane-shell--compact .ec-lane-svg--mobile{display:none!important}
html body #erp-belastungsprobe .ec-system-boundary{fill:rgba(13,29,21,.46)!important;stroke:rgba(184,230,198,.24)!important;stroke-width:1.25!important}
html body #erp-belastungsprobe .ec-core-band{fill:rgba(184,230,198,.035)!important;stroke:rgba(184,230,198,.10)!important}
html body #erp-belastungsprobe .ec-object-path--regular{stroke:rgba(184,230,198,.78)!important;stroke-width:2.4!important;fill:none!important}
html body #erp-belastungsprobe .ec-object-path--exception{stroke:rgba(217,235,221,.38)!important;stroke-width:1.35!important;fill:none!important}
html body #erp-belastungsprobe .ec-object-path--follow{stroke:rgba(169,205,180,.32)!important;stroke-width:1.35!important;fill:none!important}
html body #erp-belastungsprobe .ec-svg-label{fill:#91a699!important;font-size:9.5px!important;letter-spacing:.06em!important}
html body #erp-belastungsprobe .ec-node-index{fill:#9fb3a6!important;font-size:9.5px!important;paint-order:stroke!important;stroke:#08150e!important;stroke-width:2px!important}
html body #erp-belastungsprobe .ec-event-tag,
html body #erp-belastungsprobe .ec-marker-label{fill:#d9e7dc!important;font-size:9.5px!important;letter-spacing:.02em!important;paint-order:stroke!important;stroke:#07130d!important;stroke-width:2.2px!important}
html body #erp-belastungsprobe .ec-commercial-marker .ec-marker-label{fill:#e3c987!important}
html body #erp-belastungsprobe .ec-handoff .ec-marker-label{fill:#b2c7b8!important}
html body #erp-belastungsprobe .ec-shared-compare{
  display:grid!important;
  gap:11px!important;
  padding:15px!important;
}
html body #erp-belastungsprobe .ec-shared-head{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:14px!important}
html body #erp-belastungsprobe .ec-shared-head h4{margin:4px 0!important;color:#f0f5f1!important;font-size:19px!important;line-height:1.2!important}
html body #erp-belastungsprobe .ec-shared-head p{margin:0!important;color:#9fb2a5!important;font-size:11.5px!important;line-height:1.45!important}
html body #erp-belastungsprobe .ec-compare-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html body #erp-belastungsprobe .ec-compare-provider{
  display:grid!important;
  align-content:start!important;
  gap:9px!important;
  min-width:0!important;
  padding:11px!important;
  border:1px solid rgba(184,230,198,.11)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.016)!important;
  color:#dce9df!important;
}
html body #erp-belastungsprobe .ec-compare-provider-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}
html body #erp-belastungsprobe .ec-compare-provider-head strong{color:#eef5ef!important;font-size:13px!important}
html body #erp-belastungsprobe .ec-selected-facts{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
html body #erp-belastungsprobe .ec-chip{display:inline-flex!important;align-items:center!important;padding:5px 7px!important;border:1px solid rgba(184,230,198,.12)!important;border-radius:999px!important;background:rgba(255,255,255,.02)!important;color:#dce9df!important;font-size:9.5px!important;line-height:1.2!important}
html body #erp-belastungsprobe .ec-compare-story{display:grid!important;gap:4px!important}
html body #erp-belastungsprobe .ec-compare-story p{margin:0!important;color:#b9cbbd!important;font-size:11.5px!important;line-height:1.45!important}
html body #erp-belastungsprobe .ec-inline-proof{display:grid!important;gap:5px!important;padding-top:8px!important;border-top:1px solid rgba(184,230,198,.08)!important}
html body #erp-belastungsprobe .ec-inline-proof-label{font:650 8.5px/1.2 "IBM Plex Mono",monospace!important;letter-spacing:.1em!important;color:#d9c58f!important}
html body #erp-belastungsprobe .ec-inline-proof p{margin:0!important;color:#aebfb2!important;font-size:11px!important;line-height:1.42!important}
html body #erp-belastungsprobe .ec-edit{appearance:none!important;border:0!important;background:transparent!important;color:#a9d0b3!important;font-size:10.5px!important;font-weight:650!important;padding:5px!important}

@media(max-width:760px){
  html body #erp-belastungsprobe .ec-head{grid-template-columns:1fr!important}
  html body #erp-belastungsprobe .ec-global-stations{gap:4px!important}
  html body #erp-belastungsprobe .ec-global-station{justify-content:center!important;min-height:42px!important;padding:6px 4px!important}
  html body #erp-belastungsprobe .ec-global-station strong{display:none!important}
  html body #erp-belastungsprobe .ec-provider--rail{grid-template-columns:1fr!important;gap:7px!important;padding:9px!important}
  html body #erp-belastungsprobe .ec-provider-meta--rail{min-height:34px!important}
  html body #erp-belastungsprobe .ec-lane-shell--compact .ec-lane-svg--desktop{display:none!important}
  html body #erp-belastungsprobe .ec-lane-shell--compact .ec-lane-svg--mobile{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:320/126!important;overflow:visible!important}
  html body #erp-belastungsprobe .ec-compare-grid{grid-template-columns:1fr!important}
  html body #erp-belastungsprobe .ec-shared-compare{padding:12px!important}
  html body #erp-belastungsprobe .ec-shared-head{align-items:start!important}
  html body #erp-belastungsprobe .ec-marker-label{font-size:8.25px!important}
}

}
