/* A constant-size phone enters behind the numbered slot; paired links cut on closure. */
.sbx-page [data-sbx-scene]{display:block;aspect-ratio:auto;overflow:hidden}
.sbx-page .sbx-animation-layout{display:grid;grid-template-columns:minmax(0,1fr) 186px;gap:0;align-items:center}
.sbx-page .sbx-case-stage{min-width:0}
.sbx-page .sbx-graphic{display:block;width:100%;height:auto;max-height:none;font-family:Poppins,Arial,sans-serif;overflow:visible}
.sbx-graphic .sbx-open-lid,.sbx-graphic .sbx-case-interior,.sbx-graphic .sbx-phone-motion,.sbx-graphic .sbx-collect-arrow,.sbx-graphic .sbx-open-label{transition:opacity .2s ease}
.sbx-graphic .sbx-closed-lid,.sbx-graphic .sbx-return-arrow,.sbx-graphic .sbx-closed-label{opacity:0}
.sbx-graphic .sbx-close-signals{display:none}
.sbx-graphic .sbx-phone-motion{transform:translateY(335px);transform-origin:0 0;transform-box:view-box}
.sbx-graphic[data-stage="close"] .sbx-open-lid,.sbx-graphic[data-stage="close"] .sbx-case-interior,.sbx-graphic[data-stage="close"] .sbx-phone-motion,.sbx-graphic[data-stage="close"] .sbx-collect-arrow,.sbx-graphic[data-stage="close"] .sbx-open-label{opacity:0;transition:none}
.sbx-graphic[data-stage="close"] .sbx-closed-lid,.sbx-graphic[data-stage="close"] .sbx-closed-label{opacity:1}
.sbx-graphic[data-stage="return"] .sbx-phone-motion{transform:translateY(0)}
.sbx-graphic[data-stage="return"] .sbx-return-arrow{opacity:1}
.sbx-graphic[data-stage="return"] .sbx-collect-arrow{opacity:0}
.sbx-graphic:not([data-motion="still"])[data-stage="collect"] .sbx-phone-motion{animation:sbx-phone-in-constant 4.2s cubic-bezier(.3,0,.2,1) both}
.sbx-graphic:not([data-motion="still"])[data-stage="return"] .sbx-phone-motion{animation:sbx-phone-out-constant 3.8s cubic-bezier(.3,0,.2,1) both}
.sbx-graphic[data-motion="paused"] *{animation-play-state:paused!important}
.sbx-graphic[data-motion="still"] *{animation:none!important;transition:none!important}
@keyframes sbx-phone-in-constant{0%,10%{transform:translateY(0)}90%,100%{transform:translateY(335px)}}
@keyframes sbx-phone-out-constant{0%,10%{transform:translateY(335px)}80%,100%{transform:translateY(0)}}
/* Large device drawings carry the accessory story; labels support the pictures. */
.sbx-page .sbx-peripheral-panel{align-self:center;min-width:0;padding:20px 14px 20px 0}
.sbx-page .sbx-peripheral-panel>p{margin:0 0 14px;font-size:11px;font-weight:600;line-height:1.5;color:#655e50}
.sbx-page .sbx-peripheral-panel>ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.sbx-page .sbx-peripheral{position:relative;display:flex;gap:4px;align-items:center;min-width:0;padding:7px 8px 7px 2px;border:1px solid #cbd5c9;background:linear-gradient(135deg,#f8faf5,#edf2e8);border-radius:13px;color:#496343}
.sbx-page .sbx-peripheral:before{content:"";position:absolute;width:15px;left:-16px;top:50%;border-top:1px dashed #829f76}
.sbx-page .sbx-peripheral>svg{display:block;flex:0 0 83px;width:83px;height:80px;overflow:visible}
.sbx-page .sbx-peripheral>span:last-child{min-width:0}
.sbx-page .sbx-peripheral strong{display:block;font-size:10px;font-weight:650;line-height:1.5;color:#303d35}
.sbx-page .sbx-peripheral-state{display:block;margin-top:4px;font-size:10px;line-height:1.5;color:#47634e}
.sbx-page .sbx-link-marker{position:absolute;left:-21px;top:calc(50% - 7px);z-index:1;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#ece7dc;font-size:12px;line-height:1;color:#55774a;font-weight:700}
.sbx-page .sbx-device-disconnected{display:none}
.sbx-page [data-link-state="disconnected"] .sbx-device-connected{display:none}
.sbx-page [data-link-state="disconnected"] .sbx-device-disconnected{display:inline}
.sbx-page [data-link-state="disconnected"] .sbx-peripheral{border-color:#dfc3b4;background:linear-gradient(135deg,#fff7ee,#f2e7da);color:#ba472e}
.sbx-page [data-link-state="disconnected"] .sbx-peripheral:before{border-top:1px dashed #caa898}
.sbx-page [data-link-state="disconnected"] .sbx-link-marker{color:#c04a2d;font-size:17px}
.sbx-page [data-link-state="disconnected"] .sbx-peripheral-state{color:#a03e29;font-weight:600}
.sbx-page .sbx-peripheral-note{margin:0!important;padding:0 22px 18px;font-size:11px!important;line-height:1.65!important;color:#706149!important}
.sbx-page .sbx-routine-status{font-size:12px;line-height:1.7;color:#76634a}
@media(max-width:1100px) and (min-width:851px){
 .sbx-page .sbx-animation-layout{grid-template-columns:minmax(0,1fr) 160px}
 .sbx-page .sbx-peripheral-panel{padding-right:10px}
 .sbx-page .sbx-peripheral{display:block;padding:7px 5px 10px;text-align:center}
 .sbx-page .sbx-peripheral>svg{width:76px;height:73px;margin:auto}
 .sbx-page .sbx-peripheral-state{margin-top:2px}
}
@media(max-width:650px){
 .sbx-page .sbx-animation-layout{grid-template-columns:minmax(0,1fr)}
 .sbx-page .sbx-peripheral-panel{padding:0 16px 18px}
 .sbx-page .sbx-peripheral-panel>p{text-align:center;font-size:11px;margin-bottom:25px}
 .sbx-page .sbx-peripheral-panel>ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .sbx-page .sbx-peripheral{display:block;text-align:center;padding:5px 3px 11px;min-width:0}
 .sbx-page .sbx-peripheral:before{width:0;height:13px;top:-14px;left:50%;border-top:0;border-left:1px dashed #829f76}
 .sbx-page [data-link-state="disconnected"] .sbx-peripheral:before{border-top:0;border-left:1px dashed #caa898}
 .sbx-page .sbx-link-marker{top:-19px;left:calc(50% - 7px)}
 .sbx-page .sbx-peripheral>svg{width:min(100%,100px);height:auto;aspect-ratio:126/122;margin:0 auto 3px}
 .sbx-page .sbx-peripheral strong{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
 .sbx-page .sbx-peripheral-state{font-size:10px;line-height:1.45;margin-top:4px}
 .sbx-page .sbx-peripheral-note{font-size:11px!important;padding:0 17px 18px}
}
@media(max-width:380px){
 .sbx-page .sbx-peripheral-panel>p{font-size:12px;margin-bottom:14px}
 .sbx-page .sbx-peripheral-panel>ul{grid-template-columns:minmax(0,1fr);gap:9px;padding-left:12px}
 .sbx-page .sbx-peripheral{display:flex;align-items:center;gap:14px;padding:3px 14px 3px 8px;text-align:left}
 .sbx-page .sbx-peripheral:before{width:12px;height:0;left:-13px;top:50%;border-left:0;border-top:1px dashed #829f76}
 .sbx-page [data-link-state="disconnected"] .sbx-peripheral:before{border-left:0;border-top:1px dashed #caa898}
 .sbx-page .sbx-link-marker{left:-20px;top:calc(50% - 7px)}
 .sbx-page .sbx-peripheral>svg{flex:0 0 84px;width:84px;height:81px;margin:0}
 .sbx-page .sbx-peripheral strong{font-size:12px;white-space:normal}
 .sbx-page .sbx-peripheral-state{font-size:11px;margin-top:2px}
}
@media(prefers-reduced-motion:reduce){.sbx-graphic *{animation:none!important;transition:none!important}}
