/* Analyse des flux, faisabilité, capteurs et actionneurs. */
.ms-study-link{display:inline-block;margin-top:18px;font-size:12px;font-weight:650;color:var(--ms-blue);text-underline-offset:4px}
.ms-feasibility{padding:66px 0 58px;border-block:1px solid var(--ms-line);background:#f8fbfd;scroll-margin-top:24px}
.ms-study-intro{max-width:810px;margin-bottom:32px}
.ms-study-intro>p:last-child{max-width:76ch;font-size:15px;line-height:1.8;color:var(--ms-muted)}
.ms-study-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:55px}
.ms-study-grid h3{font-size:19px;line-height:1.35;color:var(--ms-navy);margin-bottom:24px}
.ms-study-flows>p{font-size:13px;line-height:1.85;color:var(--ms-muted);margin-bottom:0}
.ms-material-flow{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;margin:0 0 22px;padding:0}
.ms-material-flow li{position:relative;padding:0 22px 0 15px;border-left:2px solid #6cacc9;min-width:0}
.ms-material-flow li:first-child{padding-left:0;border-left:0}
.ms-material-flow li:not(:last-child):after{content:"→";position:absolute;right:7px;top:26px;color:var(--ms-mag);font-size:15px}
.ms-material-flow span{display:block;color:#326b8b;font:9px Consolas,monospace;letter-spacing:.08em;margin-bottom:8px}
.ms-material-flow strong{display:block;font-size:14px;line-height:1.5;margin-bottom:6px;color:var(--ms-navy)}
.ms-material-flow small{display:block;font-size:11px;line-height:1.7;color:var(--ms-muted)}
.ms-study-checks{padding-left:36px;border-left:1px solid #cddce6}
.ms-study-checks .ms-deliverables{gap:14px;line-height:1.75}
.ms-study-output{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:30px;padding-top:25px;border-top:1px solid #cddce6}
.ms-study-output>div{max-width:86ch}
.ms-study-output .ms-detail-heading{margin-bottom:8px!important}
.ms-study-output p:not(.ms-detail-heading){font-size:13px;line-height:1.75;color:var(--ms-muted);margin-bottom:8px}
.ms-study-output small{color:var(--ms-muted);font-size:11px}
.ms-study-output .ms-btn{white-space:nowrap;flex-shrink:0}
.ms-layer-tabs{grid-template-columns:repeat(10,minmax(0,1fr))}
.ms-layer-tab:nth-child(n){border-right:1px solid var(--ms-line);border-bottom:0}
.ms-layer-tab:last-child{border-right:0}
.ms-scene .ms-detection-beam{opacity:.2;transition:opacity .2s}
.ms-scene .ms-sensor-indicator{fill:#64b9d5;transition:fill .2s}
.ms-scene .ms-actuator-rod{transition:transform .6s ease-in-out}
.ms-scene:is([data-phase=detection],[data-phase=positionnement]) .ms-piece{transform:translate(50px,27px)}
.ms-scene:is([data-phase=detection],[data-phase=positionnement],[data-phase=controle]) .ms-detection-beam{opacity:1}
.ms-scene:is([data-phase=detection],[data-phase=positionnement],[data-phase=controle]) .ms-sensor-indicator{fill:#e6fbff}
.ms-scene:is([data-phase=positionnement],[data-phase=controle]) .ms-actuator-rod{transform:translate(16px,-8px)}
@media(max-width:1200px){
  .ms-layer-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
  .ms-layer-tab:nth-child(5n){border-right:0}
  .ms-layer-tab:nth-child(-n+5){border-bottom:1px solid var(--ms-line)}
  .ms-study-grid{gap:35px}
  .ms-study-checks{padding-left:28px}
}
@media(max-width:860px){
  .ms-study-grid{grid-template-columns:1fr;gap:30px}
  .ms-study-checks{border-left:0;border-top:1px solid #cddce6;padding:25px 0 0}
  .ms-study-output{align-items:start;flex-direction:column;gap:18px}
  .ms-study-flows>p{max-width:75ch}
}
@media(max-width:640px){
  .ms-feasibility{padding:42px 0;scroll-margin-top:15px}
  .ms-study-link{font-size:11px;margin-top:17px}
  .ms-study-intro{margin-bottom:25px}
  .ms-study-intro>p:last-child{font-size:13px;line-height:1.8}
  .ms-study-grid h3{font-size:17px;margin-bottom:20px}
  .ms-material-flow li{padding:0 11px;border-left-width:1px}
  .ms-material-flow li:not(:last-child):after{right:3px;top:26px;font-size:12px}
  .ms-material-flow span{font-size:8px}
  .ms-material-flow strong{font-size:12px}
  .ms-material-flow small{font-size:10px;line-height:1.65}
  .ms-study-flows>p,.ms-study-output p:not(.ms-detail-heading){font-size:12px}
  .ms-study-checks .ms-deliverables{font-size:12px;gap:12px}
  .ms-layer-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ms-layer-tab:nth-child(n){border-right:1px solid var(--ms-line);border-bottom:1px solid var(--ms-line)}
  .ms-layer-tab:nth-child(2n){border-right:0}
  .ms-layer-tab:nth-last-child(-n+2){border-bottom:0}
}
@media(prefers-reduced-motion:reduce){.ms-scene .ms-detection-beam,.ms-scene .ms-sensor-indicator,.ms-scene .ms-actuator-rod{transition:none}}
