/* V221 (24 Nov 2026), Products lane: storyboard map. A real wide frame of the screen a storyboard section zooms into,
   with one area per step. The area of the selected step is lit (the rest of the frame dims); picking an area frames its
   step in the camera. Used on products-web-client.html #what-can-i-see-in-matrix. Script: sbmap.js.
   V223: on every storyboard section (see .sbm-rows below). */
.sbm{margin:0 0 22px}
.sbm-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 8px 2px}
.sbm-hd b{font-size:13.5px;font-weight:700;color:var(--sb-ink,#00173D)}
.sbm-hd span{font:600 11px/1 var(--sb-osd);color:rgba(0,23,61,.56);letter-spacing:.02em;white-space:nowrap}
.sbm-stage{position:relative;aspect-ratio:1280/637;border-radius:10px;overflow:hidden;background:var(--sb-deep,#000E26);box-shadow:0 14px 30px -20px rgba(0,14,38,.55)}
.sbm-stage img{position:absolute;inset:0;width:100%;height:100%;display:block}
.sbm-r{all:unset;box-sizing:border-box;position:absolute;left:var(--l);top:var(--t);width:var(--w);height:var(--h);border-radius:5px;cursor:pointer;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 9999px rgba(0,14,38,0);transition:box-shadow .45s cubic-bezier(.16,1,.3,1)}
.sbm-r:hover{box-shadow:inset 0 0 0 1.5px #fff,0 0 0 9999px rgba(0,14,38,0)}
.sbm-r.on{z-index:1;box-shadow:inset 0 0 0 2px var(--sb-green,#00AF91),0 0 0 9999px rgba(0,14,38,.58)}
.sbm-r:focus-visible{outline:2px solid #fff;outline-offset:2px}
.sbm-r b{position:absolute;left:5px;top:5px;display:inline-flex;align-items:center;gap:5px;padding:3px 6px 3px 5px;border-radius:4px;background:rgba(0,14,38,.86);color:#fff;font:700 10px/1 var(--sb-osd);letter-spacing:.02em;white-space:nowrap;font-variant-numeric:tabular-nums;transition:background-color .3s,color .3s}
.sbm-r b i{font-style:normal;color:rgba(255,255,255,.6)}
.sbm-r.on b{background:var(--sb-green,#00AF91);color:var(--sb-ink,#00173D)}
.sbm-r.on b i{color:rgba(0,23,61,.7)}
.sbm-r.lo b{top:auto;bottom:5px}
.sbm figcaption{margin:8px 0 0 2px;font-size:12.5px;line-height:1.5;color:rgba(0,23,61,.66)}
.sbm figcaption .ph{font-size:11px}
body.noflags .sbm .ph{display:none}
/* V222: several phone screens side by side (products-mobile-client.html #see-the-app-at-work). */
.sbm-phones{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:8px}
.sbm-ph{min-width:0}
.sbm-phones .sbm-stage{aspect-ratio:332/711;border-radius:14px;box-shadow:0 0 0 1px rgba(0,23,61,.14),0 12px 24px -18px rgba(0,14,38,.6)}
.sbm-phones .sbm-stage img{transition:filter .45s cubic-bezier(.16,1,.3,1)}
.sbm-phones .sbm-stage:not(.has-on) img{filter:brightness(.42) saturate(.5)}
.sbm-phones .sbm-r{border-radius:6px}
.sbm-pl{display:block;margin-top:6px;text-align:center;font:600 10.5px/1.2 var(--sb-osd);letter-spacing:.04em;text-transform:uppercase;color:rgba(0,23,61,.5);transition:color .3s}
.sbm-ph:has(.has-on) .sbm-pl{color:var(--green-text,#00785F)}
/* V223 (24 Nov 2026): every storyboard shot list gets a map of its screens (.sbm-rows), built from the step stills in
   step order. Each area is the part of the screen the camera frames for that step (or, for a wide framing, the spot
   the reticle points at). Rows keep each screen's own shape; the screen without the selected step dims. */
.sbm-rows{display:flex;flex-direction:column;gap:8px}
.sbm-row{display:flex;gap:8px}
.sbm-row .sbm-ph{flex:var(--a) 1 0}
.sbm-rows .sbm-stage{aspect-ratio:var(--ar);border-radius:8px;box-shadow:0 0 0 1px rgba(0,23,61,.14),0 10px 22px -18px rgba(0,14,38,.6)}
.sbm-rows .sbm-stage img{transition:filter .45s cubic-bezier(.16,1,.3,1)}
.sbm-rows .sbm-stage:not(.has-on) img{filter:brightness(.5) saturate(.55)}
.sbm-rows .sbm-r{border-radius:4px}
.sbm-rows .sbm-r b{left:3px;top:3px;padding:2px 4px;font-size:9px;border-radius:3px}
.sbm-rows .sbm-pl{text-align:left;margin-top:5px;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sbm-ph:has(.has-on) .sbm-pl{color:var(--green-text,#00785F)}
@media (max-width:1099px){.sbm-r b i{display:none}}
@media (max-width:860px){.sbm{display:none}}
@media (prefers-reduced-motion:reduce){.sbm-r,.sbm-r b,.sbm-phones .sbm-stage img,.sbm-rows .sbm-stage img,.sbm-pl{transition:none}}
