/* Two independent gripper views, with the mounted camera first. */
html[data-theme] body .robot-lab #wristCameraFrame{position:absolute;right:18px;top:35px;width:200px;height:150px;z-index:5;overflow:hidden;border:1px solid #6b92a8;border-radius:8px;background:#dce7f0!important;pointer-events:none;box-shadow:0 4px 15px #17344b22}
html[data-theme] body .robot-lab #wristCameraFrame[hidden]{display:none!important}
#wristCameraFrame canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
html[data-theme] body .robot-lab #wristCameraFrame>span,html[data-theme] body .robot-lab #wristCameraHint{position:absolute;z-index:2;left:0;margin:0;width:100%;padding:5px 7px;background:#23384fee!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:600 11px/1.4 InterLocal,Arial,sans-serif!important;letter-spacing:.02em}
html[data-theme] body .robot-lab #wristCameraFrame>span{top:0}
html[data-theme] body .robot-lab #wristCameraHint{bottom:0;padding-block:4px;font-weight:500!important}
html[data-theme] body .robot-lab #toolCameraFrame{top:197px!important;right:18px!important;width:200px!important;height:150px!important}
html[data-theme] body .robot-lab .wrist-camera-hidden #toolCameraFrame{top:35px!important}
html[data-theme] body .robot-lab .scene-zoom-tools{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:7;display:flex;align-items:center;gap:5px;padding:5px;border:1px solid #8b9fb1;border-radius:7px;background:#fffffff2!important;box-shadow:0 3px 12px #17344b22}
html[data-theme] body .robot-lab .scene-zoom-tools button{min-height:36px;min-width:36px;border:1px solid #8b9fb1;border-radius:4px;background:#fff!important;color:#263d53!important;font:600 13px/1.3 InterLocal,Arial,sans-serif!important;padding:7px;cursor:pointer}
html[data-theme] body .robot-lab .scene-zoom-tools output{min-width:46px;text-align:center;color:#263d53!important;-webkit-text-fill-color:#263d53!important;font:600 12px/1.4 InterLocal,Arial,sans-serif}
html[data-theme=dark] body .robot-lab .scene-zoom-tools{background:#122033f5!important}
html[data-theme=dark] body .robot-lab .scene-zoom-tools button{background:#17283d!important;color:#edf3fa!important}
html[data-theme=dark] body .robot-lab .scene-zoom-tools output{color:#edf3fa!important;-webkit-text-fill-color:#edf3fa!important}
@media(max-width:800px){html[data-theme] body .robot-lab #wristCameraFrame{right:9px;top:29px;width:145px;height:112px}html[data-theme] body .robot-lab #toolCameraFrame{right:9px!important;top:153px!important;width:145px!important;height:112px!important}html[data-theme] body .robot-lab .wrist-camera-hidden #toolCameraFrame{top:29px!important}}
@media(max-width:420px){html[data-theme] body .robot-lab #wristCameraFrame{width:130px;height:102px}html[data-theme] body .robot-lab #toolCameraFrame{width:130px!important;height:102px!important;top:143px!important}html[data-theme] body .robot-lab .scene-zoom-tools{bottom:8px}.scene-zoom-tools button{padding:6px}}
@media(min-width:1000px){
 .lab-dialog .robot-lab:not(.sensor-active):not(.chess-active){grid-template-columns:minmax(0,1fr) 350px;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}
 .lab-dialog .robot-lab:not(.sensor-active):not(.chess-active)>.scene-header{grid-column:1/-1;grid-row:1}
 .lab-dialog .robot-lab:not(.sensor-active):not(.chess-active)>.activity-tabs{grid-column:1/-1;grid-row:2}
 html[data-theme] body .lab-dialog .robot-lab:not(.sensor-active):not(.chess-active)>.scene-viewport{grid-column:1;grid-row:3/5;height:100%!important;min-height:0!important}
 .lab-dialog .robot-lab>.pick-controls-pane{grid-column:2;grid-row:3;min-height:0;overflow-y:auto;overscroll-behavior:contain}
 .lab-dialog .robot-lab:not(.sensor-active):not(.chess-active)>.scene-note{grid-column:2;grid-row:4;padding:10px 14px}
 .lab-dialog .robot-lab:is(.sensor-active,.chess-active)>.pick-controls-pane{display:none}
}
