/* Action probe examples: three-camera clip in sync with two 3D end-effector views. Reuses .im-tabs, .im-head, .im-ctl, .im-note. */
.pb{max-width:860px}
.pb-cams{display:grid;grid-template-columns:repeat(3,1fr);font-size:13px;font-weight:600;margin-bottom:4px}
.pb video{display:block;width:100%;aspect-ratio:960/180;background:#222}
.pb-3d{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.pb-3d figure{min-width:0;border:1px solid currentColor;background:#fff;color:#111}
.pb-3d figure.ours{outline:2px solid var(--pred-frame,#1a3190);outline-offset:-2px;border-color:var(--pred-frame,#1a3190)}
.pb-3d figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 10px 0;font-size:14px;font-weight:700}
.pb-3d figure.ours figcaption b{color:var(--pred-frame,#1a3190)}
.pb-3d figcaption span{font-family:var(--monof);font-size:11.5px;font-weight:400;white-space:nowrap}
.pb-3d canvas{display:block;width:100%;aspect-ratio:3/2;cursor:grab;touch-action:pan-y}
.pb-3d canvas:active{cursor:grabbing}
.pb-key{display:flex;flex-wrap:wrap;gap:4px 18px;font-family:var(--monof);font-size:11.5px;margin-top:8px}
.pb-key i{display:inline-block;width:22px;height:0;border-top:2.5px solid #111;vertical-align:middle;margin-right:6px}
.pb-key i.a{border-color:#767676}.pb-key i.b{border-color:var(--pred-frame,#1a3190)}
.pb-key span:last-child{margin-left:auto;opacity:.7}
.pb-time{position:relative;height:22px;cursor:pointer;background:rgba(0,0,0,.14);touch-action:none}
.pb-time i{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--pred-frame,#1a3190)}
.pb-time b{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--pb-paper,#fff);opacity:.9}
@media (max-width:640px){.pb-3d{grid-template-columns:1fr}.pb-key span:last-child{margin-left:0}}
.pb-fig{width:100%;max-width:860px;margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid currentColor}
/* Compact layout: one grid. Clip tabs and title on top; the probe figure over the three-camera clip on the left, the two
   3D views filling the same height on the right; legend and scrub bar below. */
.pb-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:20px;padding:16px 20px 18px;grid-template-rows:auto auto 1fr auto auto auto auto auto;
  grid-template-areas:"head head" "tabs tabs" "fig d3" "cams d3" "video d3" "key key" "ctl ctl" "note note"}
.pb-wrap .pb{display:contents}
.pb-wrap .im-tabs{grid-area:tabs}
.pb-wrap .im-head{grid-area:head;margin-bottom:10px}
.pb-wrap .pb-fig{grid-area:fig;max-width:none;margin:0 0 10px;padding:0;border:0;align-self:center;width:100%}
.pb-wrap .pb-cams{grid-area:cams;font-size:11.5px;margin-bottom:3px}
.pb-wrap video{grid-area:video;display:block;width:100%;aspect-ratio:960/180;background:#222}
.pb-wrap .pb-3d{grid-area:d3;gap:8px;margin:0}
.pb-wrap .pb-3d figure{display:flex;flex-direction:column}
.pb-wrap .pb-3d canvas{flex:1;aspect-ratio:auto;min-height:150px;height:0;contain:size}
.pb-wrap .pb-3d figcaption{padding:5px 8px 0;font-size:12.5px;gap:2px 6px}
.pb-wrap .pb-3d figcaption span{font-size:10.5px}
.pb-wrap .pb-key{grid-area:key;font-size:10.5px;gap:3px 14px;margin-top:8px}
.pb-wrap .pb-key i{width:16px}
.pb-wrap .im-ctl{grid-area:ctl;margin-top:8px;max-width:none}
.pb-wrap .pb-time{height:16px}
.pb-wrap .im-note{grid-area:note;font-size:12px;margin-top:8px;max-width:none}
@media (max-width:1180px){.pb-wrap{grid-template-columns:1fr;grid-template-areas:"head" "tabs" "fig" "cams" "video" "d3" "key" "ctl" "note"}.pb-wrap .pb-fig{max-width:460px}.pb-wrap .pb-3d{margin-top:8px}.pb-wrap .pb-3d canvas{height:auto;aspect-ratio:16/10;contain:none}}
.pb-wrap .pb-3d figcaption span{white-space:normal}
/* Native probe curve */
.pcurve svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}
.pcurve .g{stroke:#111;stroke-opacity:.14;stroke-width:1}
.pcurve .ax{stroke:#111;stroke-width:1.2}
.pcurve .t{font:10.5px var(--monof);fill:#111;fill-opacity:.75}
.pcurve .lab{font:800 11.5px var(--franklin);fill:#111;letter-spacing:-.01em}
.pcurve .ln{fill:none;stroke-width:2;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset 1.4s cubic-bezier(.3,.6,.3,1)}
.pcurve .pt{transition:opacity .25s linear;transition-delay:calc(var(--i)*110ms)}
.pcurve .end{font:700 11.5px var(--monof);transition:opacity .3s linear 1.3s}
.pcurve .key{font:700 11.5px var(--franklin)}
.pcurve .dino .ln{stroke:#767676}.pcurve .dino .pt,.pcurve .dino .end,.pcurve text.dino{fill:#767676}
.pcurve .dpc .ln{stroke:var(--pred-frame,#1a3190)}.pcurve .dpc .pt,.pcurve .dpc .end,.pcurve text.dpc{fill:var(--pred-frame,#1a3190)}
.pcurve.pre .ln{stroke-dashoffset:1;transition:none}
.pcurve.pre .pt,.pcurve.pre .end{opacity:0;transition:none}
.pcurve .hl{stroke:#111;stroke-width:1;stroke-dasharray:3 3}
.pcurve .hb{fill:#fff;stroke:#111;stroke-width:1}
.pcurve .ht{font:700 10.5px var(--monof);white-space:pre}
@media (prefers-reduced-motion:reduce){.pcurve .ln,.pcurve .pt,.pcurve .end{transition:none}}
