@layer scoped-layout-7173 {
  /* Overall: less chrome, more model. */
  body.page-home #situationen{padding-top:clamp(58px,5vw,78px)!important;padding-bottom:clamp(62px,5.2vw,84px)!important}
  body.page-home #situationen .wrap{gap:10px!important}
  body.page-home .operating-twin{margin-top:10px!important}

  /* Main statement: one strong line on large screens, no green eyebrow. */
  body.page-home .operating-twin__head{width:100%!important;max-width:none!important;margin:0!important}
  body.page-home .operating-twin__head .nbc-eyebrow{display:none!important}
  body.page-home .operating-twin__head .nbc-section-title{
    width:100%!important;max-width:none!important;max-inline-size:none!important;margin:0!important;
    color:#f3f5ef!important;font-size:clamp(42px,4.45vw,66px)!important;line-height:.98!important;
    letter-spacing:-.052em!important;text-wrap:balance!important
  }

  /* The scene starts with the actual model statement, without meta labels. */
  body.page-home .rf-twin-model{padding:clamp(18px,1.55vw,24px)!important;border-radius:18px!important}
  body.page-home .rf-twin-model .rf-tool-head{
    display:block!important;margin:0 0 6px!important;padding:0!important
  }
  body.page-home .rf-tool-head>.rf-tool-kicker,
  body.page-home .rf-tool-head>.rf-tool-scene{display:none!important}
  body.page-home .rf-tool-head>.rf-tool-title{
    display:block!important;width:100%!important;max-width:none!important;margin:0!important;
    color:#f3f5ef!important;font:600 clamp(27px,2.35vw,36px)/1.02 Archivo,Arial,sans-serif!important;
    letter-spacing:-.04em!important;text-wrap:balance!important
  }

  /* Bottom control strip: KPIs + lever + action in one compact row. */
  body.page-home .tf-controls{
    position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;gap:12px 18px!important;width:100%!important;max-width:none!important;
    margin:2px 0 0!important;padding:10px 0!important;border:0!important;border-top:1px solid rgba(247,245,242,.09)!important;
    border-bottom:1px solid rgba(247,245,242,.07)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important
  }
  body.page-home .tf-controls .rf-twin-metrics{
    grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:8px!important;
    width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important
  }
  body.page-home .tf-controls .rf-twin-metrics>div{
    display:flex!important;align-items:baseline!important;gap:7px!important;min-height:0!important;
    padding:6px 9px!important;border:1px solid rgba(247,245,242,.08)!important;border-radius:999px!important;
    background:rgba(247,245,242,.022)!important;white-space:nowrap!important
  }
  body.page-home .tf-controls .rf-twin-metrics>div:first-child{display:none!important}
  body.page-home .tf-controls .rf-twin-metrics span{
    display:block!important;color:rgba(247,245,242,.38)!important;font:500 7px/1.2 'IBM Plex Mono',monospace!important;
    letter-spacing:.11em!important;text-transform:uppercase!important
  }
  body.page-home .tf-controls .rf-twin-metrics strong{
    display:block!important;color:#eef3ed!important;font:600 12px/1.2 Archivo,Arial,sans-serif!important;font-variant-numeric:tabular-nums!important
  }
  body.page-home .tf-controls .rf-twin-metrics>div:nth-child(2) strong{color:#efd092!important}
  body.page-home .tf-controls .rf-twin-metrics>div:nth-child(3) strong{color:#a7dfb1!important}

  body.page-home .tf-controls .twin-intervention{
    grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;gap:6px 12px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important
  }
  body.page-home .tf-controls .twin-intervention>p:not(.twin-intervention__feedback),
  body.page-home .tf-controls .twin-intervention>.twin-story,
  body.page-home .tf-controls .twin-intervention>.twin-check,
  body.page-home .tf-controls .twin-intervention__counts,
  body.page-home .tf-controls .twin-intervention__label{display:none!important}
  body.page-home .tf-controls .twin-intervention__action{
    grid-column:1!important;grid-row:1!important;display:block!important;min-width:0!important;max-width:none!important;
    color:#f3f5ef!important;font:600 13px/1.3 Archivo,Arial,sans-serif!important;letter-spacing:-.012em!important
  }
  body.page-home .tf-controls .twin-intervention__action::before{
    content:'HEBEL · '!important;color:rgba(239,208,146,.72)!important;font:500 8px/1.2 'IBM Plex Mono',monospace!important;
    letter-spacing:.12em!important
  }
  body.page-home .tf-controls .twin-intervention__button{
    grid-column:2!important;grid-row:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:10px!important;width:auto!important;min-width:172px!important;max-width:210px!important;min-height:38px!important;
    margin:0!important;padding:8px 12px!important;border-radius:9px!important;font-size:11.5px!important;white-space:nowrap!important
  }
  body.page-home .tf-controls .twin-intervention__button::after{font-size:13px!important}
  body.page-home .tf-controls .twin-intervention__feedback{
    grid-column:1/-1!important;grid-row:2!important;display:none!important;margin:0!important;font-size:10.5px!important;line-height:1.35!important
  }
  body.page-home [data-twin-transition='running'] .tf-controls .twin-intervention__feedback,
  body.page-home [data-twin-improved='true'] .tf-controls .twin-intervention__feedback{display:block!important}
  body.page-home .tf-controls .twin-intervention__progress{
    grid-column:1/-1!important;grid-row:3!important;display:block!important;width:100%!important;height:2px!important;margin:0!important
  }

  /* Model density. */
  body.page-home .ts-tableau{margin-top:8px!important;gap:10px!important}
  body.page-home .ts-card{padding:11px 12px!important}
  body.page-home .ts-card-label{font-size:9px!important}
  body.page-home .ts-card-value{margin:4px 0!important;font-size:clamp(20px,1.75vw,26px)!important}
  body.page-home .ts-card-detail{font-size:11.5px!important}
  body.page-home .ts-board{height:286px!important}
  body.page-home .ts-flow .of-visual{height:244px!important}
  body.page-home .ts-route-labels{top:229px!important;font-size:11.5px!important}
  body.page-home .rf-twin-model .rs-caption{margin:7px 0 0!important;max-width:72ch!important;font-size:12px!important;line-height:1.42!important}
  body.page-home .rf-twin-model .rs-note{margin-top:4px!important;font-size:7.5px!important}

  /* Excel/status scene: desktop also gets slightly tighter. */
  body.page-home .rs-board{height:540px!important;margin-top:12px!important}
  body.page-home .rs-flow .of-visual{height:510px!important}
  body.page-home .rs-island{width:205px!important;padding:14px 16px!important}
  body.page-home .rs-island>span{font-size:9px!important}
  body.page-home .rs-island>strong{margin:6px 0!important;font-size:18px!important}
  body.page-home .rs-island p{font-size:12px!important}
  body.page-home .rs-order{top:154px!important;width:300px!important;padding:17px 19px!important}
  body.page-home .rs-order header>span{font-size:9px!important}
  body.page-home .rs-order header>strong{font-size:28px!important}
  body.page-home .rs-order-state{margin-top:11px!important;font-size:13px!important}
  body.page-home .rs-endpoints{top:458px!important;font-size:11.5px!important}

  /* Scenario question uses the whole editorial rail. */
  body.page-home .operating-twin__scenario-panel{gap:11px!important;margin-top:22px!important;padding-top:18px!important}
  body.page-home .operating-twin__scenario-intro{display:block!important;width:100%!important}
  body.page-home .operating-twin__scenario-intro h3{
    width:100%!important;max-width:none!important;margin:0!important;color:#f3f5ef!important;
    font:600 clamp(28px,2.7vw,40px)/1.02 Archivo,Arial,sans-serif!important;letter-spacing:-.04em!important;text-wrap:balance!important
  }
  body.page-home [data-home-twin-engine] .operating-twin__scenario{min-height:58px!important;padding:8px 10px!important}
  body.page-home [data-home-twin-engine] .operating-twin__scenario>strong{font-size:11.75px!important}

  /* Summary stays useful but loses card weight. */
  body.page-home .operating-twin__finding{
    margin-top:14px!important;border-radius:10px!important;background:transparent!important;border-color:rgba(247,245,242,.07)!important
  }
  body.page-home .operating-twin__finding-item{gap:5px!important;padding:11px 13px!important}
  body.page-home .operating-twin__finding [data-home-twin-finding]{font-size:15px!important}
  body.page-home .operating-twin__finding [data-home-twin-effect],
  body.page-home .operating-twin__finding [data-home-twin-decision]{font-size:11.75px!important;line-height:1.38!important}
  body.page-home .operating-twin__actions{margin-top:12px!important;gap:16px!important}
  body.page-home .operating-twin__actions .btn{min-height:40px!important;padding:8px 14px!important;font-size:12.5px!important}

  @media(min-width:1180px){
    body.page-home .operating-twin__head .nbc-section-title{white-space:nowrap!important}
  }

  @media(max-width:1050px){
    body.page-home .tf-controls{grid-template-columns:1fr!important;gap:8px!important}
    body.page-home .tf-controls .rf-twin-metrics{grid-column:1!important;grid-row:1!important}
    body.page-home .tf-controls .twin-intervention{grid-column:1!important;grid-row:2!important}
  }

  /* Mobile: a dedicated compact composition, not a stacked desktop layout. */
  @media(max-width:700px){
    body.page-home .m7h-diagnostic{padding-top:54px!important;padding-bottom:58px!important}
    body.page-home .m7h-wrap--head{margin-bottom:12px!important}
    body.page-home .m7h-kicker{display:none!important}
    body.page-home .m7h-title#m7h-diagnostic-title{
      width:100%!important;max-width:10ch!important;margin:0!important;font-size:clamp(34px,9.4vw,42px)!important;
      line-height:.98!important;letter-spacing:-.047em!important
    }
    body.page-home .rf-twin-model{padding:14px 12px!important;border-radius:14px!important}
    body.page-home .rf-twin-model .rf-tool-head{margin-bottom:2px!important}
    body.page-home .rf-tool-head>.rf-tool-title{
      max-width:none!important;font-size:clamp(24px,6.6vw,30px)!important;line-height:1.02!important
    }

    /* Compress the status scene by ~40%. */
    body.page-home .rs-board{height:585px!important;margin-top:8px!important}
    body.page-home .rs-flow .of-visual{height:540px!important}
    body.page-home .rs-island{
      width:142px!important;left:28%!important;top:calc(var(--i)*88px)!important;padding:9px 10px!important;border-radius:7px!important
    }
    body.page-home .rs-island:nth-of-type(2){left:72%!important}
    body.page-home .rs-island>span{font-size:7.5px!important;letter-spacing:.06em!important}
    body.page-home .rs-island>strong{margin:3px 0 0!important;font-size:14.5px!important;line-height:1.18!important}
    body.page-home .rs-island p{display:none!important}
    body.page-home .rs-order{top:252px!important;width:min(246px,86%)!important;padding:13px 14px!important;border-radius:10px!important}
    body.page-home .rs-order header>span{font-size:7.5px!important}
    body.page-home .rs-order header>strong{font-size:24px!important}
    body.page-home .rs-order header>i{font-size:21px!important}
    body.page-home .rs-order-state{margin-top:8px!important;font-size:11.5px!important}
    body.page-home .rs-order-facts>div{padding:6px 0!important;font-size:9.5px!important}
    body.page-home .rs-order small{font-size:9.5px!important}
    body.page-home .rs-endpoints{top:503px!important;font-size:9.5px!important}
    body.page-home [data-scene=status-reference]:not([data-state=scattered]) .rs-island{top:270px!important}
    body.page-home [data-scene=status-reference][data-state=unified] .rs-board{height:430px!important}
    body.page-home [data-scene=status-reference][data-state=unified] .rs-order{top:28px!important}
    body.page-home [data-scene=status-reference][data-state=unified] .rs-flow .of-visual{transform:translateY(-245px)!important}
    body.page-home [data-scene=status-reference][data-state=unified] .rs-endpoints{top:355px!important}

    /* Generic scenes: concise cards + shorter flow. */
    body.page-home .ts-tableau,
    body.page-home [data-scene=growth-signature] .ts-tableau,
    body.page-home [data-scene=people-signature] .ts-tableau{
      display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-top:7px!important
    }
    body.page-home [data-scene=erp-signature] .ts-tableau{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
    body.page-home .ts-card,
    body.page-home [data-scene=growth-signature] .ts-card,
    body.page-home [data-scene=people-signature] .ts-card{
      display:block!important;min-width:0!important;padding:8px!important;border-radius:7px!important
    }
    body.page-home [data-scene=people-signature] .ts-card:before{display:none!important}
    body.page-home .ts-card-label{font-size:7px!important;line-height:1.25!important}
    body.page-home .ts-card-value{margin:3px 0 0!important;font-size:12.5px!important;line-height:1.15!important}
    body.page-home .ts-card-detail{display:none!important}
    body.page-home .ts-board{height:238px!important}
    body.page-home .ts-flow .of-visual{height:202px!important}
    body.page-home .ts-route-labels{top:190px!important;font-size:8.5px!important}

    /* Compact live strip: two KPIs on first line, lever/action directly below. */
    body.page-home .tf-controls{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-top:0!important;padding:8px 0!important}
    body.page-home .tf-controls .rf-twin-metrics{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:100%!important}
    body.page-home .tf-controls .rf-twin-metrics>div{justify-content:space-between!important;padding:6px 8px!important;border-radius:8px!important}
    body.page-home .tf-controls .rf-twin-metrics span{font-size:6.5px!important}
    body.page-home .tf-controls .rf-twin-metrics strong{font-size:10.5px!important}
    body.page-home .tf-controls .twin-intervention{grid-column:1!important;grid-row:2!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 8px!important}
    body.page-home .tf-controls .twin-intervention__action{font-size:11.5px!important;line-height:1.2!important}
    body.page-home .tf-controls .twin-intervention__action::before{font-size:6.5px!important}
    body.page-home .tf-controls .twin-intervention__button{min-width:132px!important;max-width:150px!important;min-height:34px!important;padding:7px 9px!important;font-size:10.5px!important}
    body.page-home .tf-controls .twin-intervention__feedback{font-size:9.5px!important}
    body.page-home .rf-twin-model .rs-caption{margin-top:5px!important;font-size:10.5px!important;line-height:1.35!important}
    body.page-home .rf-twin-model .rs-note{display:none!important}

    /* Scenario rail: shorter cards, 1.6 visible at once. */
    body.page-home .m7h-twin__scenario-panel{gap:8px!important;margin-top:14px!important;padding-top:13px!important}
    body.page-home .m7h-twin__scenario-intro{display:block!important}
    body.page-home .m7h-twin__scenario-intro h3{
      width:100%!important;max-width:none!important;margin:0!important;color:#f3f5ef!important;
      font:600 clamp(23px,6.6vw,28px)/1.02 Archivo,Arial,sans-serif!important;letter-spacing:-.035em!important
    }
    body.page-home .m7h-twin__scenario-panel .m7h-twin__scenarios{gap:7px!important;padding-bottom:2px!important}
    body.page-home .m7h-twin__scenario-panel .m7h-twin__scenarios button{
      flex:0 0 min(64vw,218px)!important;min-height:54px!important;padding:8px 9px!important;border-radius:8px!important;
      grid-template-columns:18px minmax(0,1fr)!important;gap:2px 7px!important
    }
    body.page-home .m7h-twin__scenario-panel .m7h-twin__scenarios .ix-scenario-icon{width:17px!important;height:17px!important}
    body.page-home .m7h-twin__scenario-panel .m7h-twin__scenarios button>span:first-of-type{font-size:6.5px!important}
    body.page-home .m7h-twin__scenario-panel .m7h-twin__scenarios button>strong{font-size:11px!important;line-height:1.2!important}

    /* Summary: one strong finding + two compact follow-up cells. */
    body.page-home .m7h-twin__finding{
      display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin-top:12px!important;
      border-radius:9px!important;background:transparent!important
    }
    body.page-home .m7h-twin__finding>div{padding:9px 10px!important;gap:4px!important;border-bottom:0!important}
    body.page-home .m7h-twin__finding>div:first-child{grid-column:1/-1!important;border-bottom:1px solid rgba(247,245,242,.07)!important}
    body.page-home .m7h-twin__finding>div:nth-child(2){border-right:1px solid rgba(247,245,242,.07)!important}
    body.page-home .m7h-twin__finding span{font-size:6.5px!important}
    body.page-home .m7h-twin__finding strong{font-size:14.5px!important;line-height:1.18!important}
    body.page-home .m7h-twin__finding p,
    body.page-home .m7h-twin__finding b{font-size:10.5px!important;line-height:1.33!important}
    body.page-home .m7h-twin__decision{padding:9px 10px!important}

    body.page-home .m7h-twin__actions{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:10px!important;margin-top:11px!important}
    body.page-home .m7h-twin__actions .m7h-action{min-height:40px!important;padding:10px 12px!important;font-size:11.5px!important}
    body.page-home .m7h-twin__actions>a:not(.m7h-action){font-size:10.5px!important;white-space:nowrap!important}
  }

  @media(prefers-reduced-motion:reduce){
    body.page-home .tf-controls .twin-intervention__button{transition:none!important}
  }
}


@layer scoped-layout-7173 {
  /* v7189 final pass */
  @media(min-width:900px){
    body.page-home .operating-twin__scenario-intro h3{white-space:nowrap!important}
  }
  @media(max-width:700px){
    body.page-home .m7h-title#m7h-diagnostic-title{max-width:none!important;font-size:clamp(32px,8.6vw,39px)!important}
    body.page-home .rs-board{height:500px!important}
    body.page-home .rs-flow .of-visual{height:458px!important}
    body.page-home .rs-island{width:132px!important;top:calc(var(--i)*70px)!important;padding:8px 9px!important}
    body.page-home .rs-island:nth-of-type(2){left:70%!important}
    body.page-home .rs-order{top:205px!important;width:min(232px,84%)!important;padding:12px 13px!important}
    body.page-home .rs-endpoints{top:423px!important;font-size:9px!important}
    body.page-home .rf-twin-model .rs-caption{display:none!important}
    body.page-home .tf-controls{padding:7px 0!important}
    body.page-home .m7h-twin__scenario-panel{margin-top:10px!important;padding-top:11px!important}
    body.page-home .m7h-twin__scenario-intro h3{font-size:clamp(21px,6vw,26px)!important;line-height:1!important}
    body.page-home .m7h-twin__finding{margin-top:9px!important}
    body.page-home .m7h-twin__actions{margin-top:9px!important}
  }
}

@layer scoped-layout-7173 {
  body.page-home .tf-controls .rf-twin-metrics>div:first-child{
    display:flex!important;grid-column:auto!important;grid-template-columns:none!important;min-height:0!important;
    background:rgba(247,245,242,.022)!important;border-color:rgba(247,245,242,.08)!important
  }
  body.page-home .tf-controls .rf-twin-metrics>div:first-child strong{color:#efd092!important;text-align:left!important}
  body.page-home .tf-controls .rf-twin-metrics>div:nth-child(2) strong{color:#a7dfb1!important}
  body.page-home .tf-controls .twin-intervention__button::before{content:none!important;display:none!important}
  @media(max-width:700px){
    body.page-home .tf-controls .rf-twin-metrics>div:first-child{grid-column:auto!important;display:flex!important}
  }
}

@layer scoped-layout-7173 {
  body.page-home .tf-controls .rf-twin-metrics{flex-wrap:nowrap!important}
  body.page-home .tf-controls .rf-twin-metrics>div{flex:0 0 auto!important;width:auto!important}
  body.page-home .tf-controls .rf-twin-metrics>div:first-child{flex-basis:auto!important;text-align:left!important}
  @media(max-width:700px){
    body.page-home .rs-board{height:390px!important}
    body.page-home .rs-flow .of-visual{height:356px!important}
    body.page-home .rs-island{width:96px!important;top:0!important;padding:7px 8px!important}
    body.page-home .rs-island:nth-of-type(1){left:16%!important}
    body.page-home .rs-island:nth-of-type(2){left:50%!important}
    body.page-home .rs-island:nth-of-type(3){left:84%!important}
    body.page-home .rs-island>span{font-size:6.5px!important;letter-spacing:.04em!important}
    body.page-home .rs-island>strong{font-size:12px!important;line-height:1.12!important;white-space:normal!important}
    body.page-home .rs-order{top:102px!important;width:min(220px,78%)!important;padding:11px 12px!important}
    body.page-home .rs-order header>strong{font-size:22px!important}
    body.page-home .rs-order-state{font-size:10.5px!important}
    body.page-home .rs-endpoints{top:318px!important;font-size:8.5px!important}
    body.page-home .tf-controls .rf-twin-metrics{display:flex!important;width:100%!important;gap:6px!important}
    body.page-home .tf-controls .rf-twin-metrics>div{flex:1 1 0!important;min-width:0!important;padding:6px 7px!important}
    body.page-home .tf-controls .rf-twin-metrics strong{font-size:10px!important}
  }
}

@layer scoped-layout-7173 {
  @media(max-width:700px){
    body.page-home .tf-controls .rf-twin-metrics span{display:none!important}
    body.page-home .tf-controls .rf-twin-metrics>div{justify-content:center!important;text-align:center!important}
    body.page-home .tf-controls .rf-twin-metrics strong{width:100%!important;text-align:center!important;white-space:nowrap!important;font-size:10px!important}
    body.page-home .tf-controls .twin-intervention{grid-template-columns:minmax(0,1fr) 136px!important;gap:5px 7px!important}
    body.page-home .tf-controls .twin-intervention__action{font-size:10.5px!important;line-height:1.16!important}
    body.page-home .tf-controls .twin-intervention__action::before{font-size:6px!important}
    body.page-home .tf-controls .twin-intervention__button{min-width:0!important;width:136px!important;max-width:136px!important;font-size:9.5px!important;padding-inline:7px!important}
  }
}
