.caption-grounding{--cg-navy:#26384f;--cg-muted:#627084;--cg-line:#cfd7dc;--cg-orange:#b55f46;--cg-orange-fill:#fcf0e9;--cg-green:#137c71;--cg-green-fill:#e7f4ef;--cg-purple:#5e4396;--cg-purple-fill:#f3effa;--time:0%;border:1px solid var(--cg-line);border-radius:var(--figure-radius);color:var(--cg-navy);background:#fff;padding:8px 12px 12px;font:12px/1.5 DejaVu Sans,Lateral,Helvetica,sans-serif;position:relative;container:caption-ui/inline-size}.caption-grounding [hidden]{display:none!important}.caption-grounding button,.caption-grounding input{font:inherit}.caption-grounding button{cursor:pointer}.caption-grounding button:disabled{cursor:default;opacity:.4}.caption-grounding button:focus-visible,.caption-grounding summary:focus-visible,.caption-grounding input:focus-visible,.caption-grounding .cg-caption-sheet:focus-visible{outline:2px solid var(--cg-green);outline-offset:3px}.caption-grounding p{margin:0}.caption-grounding code,.caption-grounding pre{font-family:DejaVu Sans Mono,ui-monospace,monospace;font-size:inherit;background:0 0;border-radius:0;padding:0}.caption-grounding .cg-anchor{scroll-margin-top:30px;position:absolute;top:0}.caption-grounding .cg-source-1{color:var(--cg-orange)}.caption-grounding .cg-source-2{color:var(--cg-green)}.caption-grounding .cg-source-3{color:var(--cg-purple)}.caption-grounding .cg-header{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;margin-bottom:4px;display:flex}.caption-grounding .cg-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px;display:grid}.caption-grounding .cg-stages button{border:1px solid var(--cg-line);color:var(--cg-muted);background:#fff;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:4px 6px;font-size:12px;line-height:1.3;display:flex}.caption-grounding .cg-stages button>span{border:1px solid;border-radius:50%;flex-shrink:0;place-items:center;width:14px;height:14px;font-size:11px;display:grid}.caption-grounding .cg-stages strong{font-weight:500}.caption-grounding .cg-stages [aria-current]{border-color:var(--cg-orange);background:var(--cg-orange-fill);color:var(--cg-orange)}.caption-grounding .cg-stages [data-demo-stage="2"][aria-current]{border-color:var(--cg-green);background:var(--cg-green-fill);color:var(--cg-green)}.caption-grounding .cg-stages [data-demo-stage="3"][aria-current]{background:var(--cg-purple-fill);color:var(--cg-purple);border-color:#c5b6e0}.caption-grounding .cg-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start;gap:6px 12px;display:grid}.caption-grounding .cg-media{display:contents}.caption-grounding .cg-media video{aspect-ratio:1248/704;background:var(--surface-muted);border:1px solid var(--cg-line);border-radius:3px;grid-area:1/1;width:100%;height:auto;display:block}.caption-grounding .cg-video-status{color:var(--cg-muted);grid-area:2/1;justify-content:space-between;align-items:flex-start;gap:10px;font-size:11px;line-height:1.5;display:flex}.caption-grounding .cg-video-status>[data-caption-clock]{white-space:nowrap;font-variant-numeric:tabular-nums}.caption-grounding .cg-stage-panel{contain:size;scrollbar-width:auto;scrollbar-color:#8c9daf #edf1f4;scrollbar-gutter:stable;grid-area:1/2;min-width:0;height:100%;min-height:0;padding:0 8px 0 1px;overflow-y:scroll}.caption-grounding .cg-stage-panel::-webkit-scrollbar{width:12px}.caption-grounding .cg-stage-panel::-webkit-scrollbar-track{background:#edf1f4;border-radius:6px}.caption-grounding .cg-stage-panel::-webkit-scrollbar-thumb{background:#8c9daf;border:2px solid #edf1f4;border-radius:6px}.caption-grounding .cg-panel-heading{justify-content:space-between;align-items:center;gap:7px;margin-bottom:7px;line-height:1.3;display:flex}.caption-grounding .cg-panel-heading>strong{font-size:12px;font-weight:600}.caption-grounding .cg-grounded-badge,.caption-grounding .cg-geometry-badge,.caption-grounding .cg-content-badge{white-space:nowrap;color:var(--cg-orange);align-items:center;gap:4px;font-size:11px;display:flex}.caption-grounding .cg-grounded-badge svg{fill:none;stroke:currentColor;stroke-width:1.3px;width:13px;height:13px}.caption-grounding .cg-geometry-badge{color:var(--cg-green)}.caption-grounding .cg-content-badge{color:var(--cg-purple)}.caption-grounding .cg-scaffold-list{flex-direction:column;gap:6px;display:flex}.caption-grounding .cg-scaffold-event{opacity:.42;border:1px solid #e0e3e5;border-radius:3px;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:7px;transition:opacity .2s,border-color .2s;display:grid;position:relative;overflow:hidden}.caption-grounding .cg-scaffold-event.is-seen{opacity:1}.caption-grounding .cg-scaffold-event.is-current{background:#fffaf7;border-color:#dab39f}.caption-grounding .cg-scaffold-event>img{object-fit:cover;border:1px solid var(--cg-line);border-radius:2px;width:76px;height:43px}.caption-grounding .cg-scaffold-event>div>span{color:var(--cg-orange);justify-content:space-between;align-items:center;gap:6px;font-size:11px;display:flex}.caption-grounding .cg-scaffold-event small{font-variant-numeric:tabular-nums;color:var(--cg-muted);font-size:11px}.caption-grounding .cg-scaffold-event strong{margin-top:2px;font-size:12px;font-weight:500;display:block}.caption-grounding .cg-scaffold-actions{color:var(--cg-muted);gap:7px;margin-top:3px;font-size:11px;display:flex}.caption-grounding .cg-scaffold-event>i{background:var(--cg-orange);width:0;height:2px;position:absolute;bottom:0;left:0}.caption-grounding .cg-chunked-strip{background:#f6f7f8;border:1px solid #e0e3e5;border-radius:2px;height:20px;margin-top:12px;position:relative;overflow:hidden}.caption-grounding .cg-chunked-strip>span{left:var(--start);width:var(--length);text-align:center;color:#99a2ab;border-right:2px solid #fff;font-size:11px;line-height:18px;position:absolute;top:0;bottom:0}.caption-grounding .cg-chunked-strip>span.is-seen{background:var(--cg-orange-fill);color:var(--cg-orange)}.caption-grounding .cg-chunked-strip>i{border-left:1px solid var(--cg-orange);position:absolute;top:0;bottom:0}.caption-grounding .cg-camera-diagram{width:100%;max-height:280px;font-family:DejaVu Sans,Lateral,sans-serif;display:block;overflow:visible}.caption-grounding .cg-camera-row,.caption-grounding .cg-camera-event{fill:var(--cg-muted);font-size:10px}.caption-grounding .cg-camera-divider{fill:none;stroke:#dce2e7;stroke-width:.7px;stroke-dasharray:3 3}.caption-grounding .cg-camera-frame-outline{fill:none;stroke:#d4dce0;stroke-width:.5px}.caption-grounding .cg-camera-frame-outline.is-current{stroke:var(--cg-green);stroke-width:1.5px}.caption-grounding .cg-mini-pose polygon{fill:#f2f4f4;fill-opacity:.72;stroke:#a6b0b7;stroke-width:1.3px;stroke-linejoin:round}.caption-grounding .cg-mini-pose circle{fill:#a6b0b7}.caption-grounding .cg-mini-pose.is-arrived:not(.cg-camera-static) polygon{fill:var(--cg-green-fill);stroke:var(--cg-green)}.caption-grounding .cg-mini-pose.is-arrived:not(.cg-camera-static) circle{fill:var(--cg-green)}.caption-grounding .cg-rate-zero{fill:none;stroke:#cfd7dc;stroke-width:.7px}.caption-grounding .cg-rate-future{fill:none;stroke:#e0e9e5;stroke-width:2px;stroke-linejoin:round}.caption-grounding .cg-rate-path{fill:none;stroke:var(--cg-green);stroke-width:2px;stroke-linejoin:round}.caption-grounding .cg-rate-dot{fill:var(--cg-green)}.caption-grounding .cg-rate-labels{visibility:hidden}.caption-grounding .cg-rate-labels.is-filled{visibility:visible}.caption-grounding .cg-rate-labels text{fill:var(--cg-green);font:7px DejaVu Sans Mono,monospace}.caption-grounding .cg-rate-labels .cg-rate-static{fill:#8996a2}.caption-grounding .cg-camera-playhead{fill:none;stroke:#8796a2;stroke-width:.7px;stroke-dasharray:3 3}.caption-grounding .cg-camera-result rect{fill:#fafbfc;stroke:#d4dce0;stroke-width:.7px}.caption-grounding .cg-camera-result text{fill:#0000;font-family:DejaVu Sans Mono,monospace;font-size:8px}.caption-grounding .cg-camera-result.is-filled rect{fill:var(--cg-green);stroke:var(--cg-green)}.caption-grounding .cg-camera-result.is-filled text{fill:#fff}.caption-grounding .cg-camera-result.is-filled,.caption-grounding .cg-camera-segment.is-filled{animation:.25s ease-out both cg-label-arrive}@keyframes cg-label-arrive{0%{opacity:.25;transform:translateY(-3px)}to{opacity:1;transform:none}}.caption-grounding .cg-camera-result.cg-camera-static.is-filled rect{fill:#edf1f4;stroke:#a5b1bb}.caption-grounding .cg-camera-result.cg-camera-static.is-filled text{fill:#4b5a6b}.caption-grounding .cg-static{color:#4b5a6b!important;background:#edf1f4!important;border-color:#a5b1bb!important}.caption-grounding .cg-inspector-home>p{color:var(--cg-muted);margin:0 0 12px;font-size:12px}.caption-grounding .cg-inspector-home>button{width:100%;color:var(--cg-navy);text-align:left;background:#fff;border:0;border-bottom:1px solid #e8ecef;align-items:center;gap:10px;padding:8px 0;display:flex}.caption-grounding .cg-inspector-home>button>img{object-fit:cover;border:1px solid var(--cg-line);border-radius:2px;width:64px;height:36px}.caption-grounding .cg-inspector-home>button>span{flex:1;min-width:0}.caption-grounding .cg-inspector-home strong{justify-content:space-between;align-items:center;gap:5px;margin-bottom:5px;font-size:12px;font-weight:600;display:flex}.caption-grounding .cg-inspector-home small{color:var(--cg-muted);font-size:11px;font-weight:400}.caption-grounding .cg-inspector-home>button>i{color:var(--cg-purple);font-size:11px;font-style:normal}.caption-grounding .cg-inspector-camera{color:var(--cg-green);background:var(--cg-green-fill);overflow-wrap:anywhere;border-radius:2px;padding:2px 4px;font:8px/1.4 DejaVu Sans Mono,monospace;display:inline-block}.caption-grounding .cg-inspector-back{color:var(--cg-muted);background:0 0;border:0;margin-top:11px;padding:0;font-size:11px}.caption-grounding .cg-inspector-event h4{margin:12px 0 3px}.caption-grounding .cg-playback-controls{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:3px;max-width:100%;margin-left:auto;display:flex}.caption-grounding .cg-playback-controls button{min-height:24px;color:var(--cg-muted);white-space:nowrap;background:0 0;border:0;border-radius:3px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;font-size:11px;display:inline-flex}.caption-grounding .cg-playback-controls button:not(:disabled):hover{color:var(--cg-navy);background:#f1f4f6}.caption-grounding .cg-playback-controls>[data-demo-play]{color:var(--cg-navy);font-weight:600}.caption-grounding .cg-speed-controls,.caption-grounding .cg-step-controls{border-left:1px solid #e1e6ea;align-items:center;margin-left:4px;padding-left:5px;display:flex}.caption-grounding .cg-speed-controls{gap:1px}.caption-grounding .cg-speed-label{color:var(--cg-muted);margin-right:3px;font-size:11px;line-height:1.2}.caption-grounding .cg-speed-controls>button{width:22px;padding:2px 0;font-size:12px}.caption-grounding .cg-speed-controls svg{fill:currentColor;width:13px;height:11px;display:block}.caption-grounding .cg-speed-controls>output{text-align:center;width:30px;color:var(--cg-navy);font-variant-numeric:tabular-nums;font-size:11px}.caption-grounding .cg-step-controls>button{width:22px;padding:2px 0;font-size:11px}.caption-grounding .cg-timeline{scrollbar-width:thin;border-top:1px solid #e8ecef;min-width:0;margin-top:9px;padding:8px 0 2px;overflow-x:auto}.caption-grounding .cg-time-grid{grid-template-columns:53px minmax(0,1fr);gap:7px 8px;min-width:560px;padding-right:4px;display:grid}.caption-grounding .cg-lane-label{z-index:3;background:#fff;align-items:center;font-size:11px;font-weight:600;line-height:1.4;display:flex;position:sticky;left:0}.caption-grounding .cg-scrubber input{width:100%;height:15px;accent-color:var(--cg-navy);cursor:pointer;margin:0;display:block}.caption-grounding .cg-lane{background:#fafbfc;border-radius:3px;min-height:25px;position:relative}.caption-grounding .cg-lane>button{left:calc(var(--start) + 1px);width:calc(var(--length) - 2px);min-width:3px;color:var(--cg-muted);background:#fff;border:1px solid #dde2e6;border-radius:3px;padding:0 3px;font-size:11px;line-height:1.3;position:absolute;top:0;bottom:0}.caption-grounding .cg-event-segment{overflow:hidden}.caption-grounding .cg-event-segment:before{content:"";width:var(--fill,0%);background:var(--cg-orange-fill);position:absolute;top:0;bottom:0;left:0}.caption-grounding .cg-event-segment>span{color:var(--cg-orange);position:relative}.caption-grounding .cg-event-segment.is-current{border-color:#dab39f}.caption-grounding .cg-camera-lane{min-height:31px}.caption-grounding .cg-lane>.cg-camera-segment{border-style:dashed;border-color:#cfd7dc;background:#fafbfc!important}.caption-grounding .cg-camera-segment>span{text-overflow:ellipsis;white-space:nowrap;visibility:hidden;font:8px/1.3 DejaVu Sans Mono,monospace;display:block;overflow:hidden}.caption-grounding .cg-lane>.cg-camera-segment.is-filled{border-color:var(--cg-green);color:#fff;border-style:solid;background:var(--cg-green)!important}.caption-grounding .cg-camera-segment.is-filled>span{visibility:visible}.caption-grounding .cg-lane>.cg-camera-segment.cg-static.is-filled{color:#4b5a6b;border-color:#a5b1bb;background:#edf1f4!important}.caption-grounding .cg-action-lane{min-height:calc(25px + (var(--action-tracks,1) - 1)*20px)}.caption-grounding .cg-lane>.cg-action-segment{color:var(--cg-orange);opacity:0;min-height:12px;top:calc(4px + var(--action-track,0)*20px);background:#fffaf6;border:1px solid #e0d4c9;height:17px;font-size:11px;bottom:auto}.caption-grounding .cg-action-segment.is-arrived{opacity:1}.caption-grounding .cg-lane>.cg-action-segment.is-written{background:var(--subject-color);border-color:var(--subject-color);color:#fff}.caption-grounding .cg-action-segment.is-current{outline-offset:1px;outline:1px solid #c6a475}.caption-grounding .cg-playhead{left:var(--time);pointer-events:none;z-index:2;border-left:1px solid #b46b52;position:absolute;top:-3px;bottom:-3px}.caption-grounding .cg-time-axis{height:17px;color:var(--cg-muted);font-size:11px;position:relative}.caption-grounding .cg-time-axis>span{white-space:nowrap;position:absolute;transform:translate(-50%)}.caption-grounding .cg-time-axis>span:first-child{transform:none}.caption-grounding .cg-time-axis>span:last-child{transform:translate(-100%)}.caption-grounding .cg-caption-sheet:not([hidden]){scrollbar-width:thin;grid-column:1/-1;grid-template-columns:53px minmax(0,1fr);gap:7px 8px;min-height:0;max-height:180px;padding:2px 4px 3px 0;display:grid;overflow-y:auto}.caption-grounding[data-timeline-expanded=true] .cg-caption-sheet{max-height:none;overflow-y:visible}.caption-grounding .cg-subject-registry{color:var(--cg-muted);border-radius:3px;flex-wrap:wrap;align-items:center;gap:8px 13px;padding:4px 2px;font-size:11px;display:flex}.caption-grounding .cg-subject-key{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:3px 12px;padding-left:61px;display:flex}.caption-grounding .cg-subject-key>button{min-height:20px;color:var(--cg-navy);white-space:nowrap;background:0 0;border:0;border-radius:3px;align-items:center;gap:5px;padding:0;font-size:11px;line-height:1.4;display:inline-flex}.caption-grounding .cg-registry-details{color:var(--cg-purple);background:0 0;border:0;margin-left:auto;padding:2px 5px;font-size:11px}.caption-grounding .cg-subject-entry{color:#334155;text-align:left;background:0 0;border:0;border-radius:3px;align-items:center;gap:5px;max-width:100%;padding:1px 0;font-size:12px;line-height:1.4;display:inline-flex}.caption-grounding .cg-caption-event-row{grid-template-columns:var(--event-columns);gap:3px;min-width:0;display:grid}.caption-grounding .cg-caption-cell{color:#39475b;text-align:left;background:#fcfbfe;border:1px solid #e0dbe9;border-radius:3px;flex-direction:column;justify-content:flex-start;align-items:stretch;min-width:0;padding:7px 8px;font-size:12px;line-height:1.5;transition:background-color .2s,border-color .2s;display:flex;position:relative}.caption-grounding .cg-caption-cell.is-filled{background:#faf7fe;border-color:#d3c5e7}.caption-grounding [data-field-indicator].is-current{outline:1px solid var(--cg-purple);outline-offset:1px}.caption-grounding .cg-cell-heading{color:var(--cg-purple);justify-content:space-between;align-items:center;gap:5px;margin-bottom:5px;font-size:11px;font-weight:600;display:flex}.caption-grounding .cg-cell-heading>i{font-size:12px;font-style:normal;font-weight:400}.caption-grounding .cg-cell-copy{overflow-wrap:anywhere;display:block}.caption-grounding .cg-caption-cell:not(.is-filled) [data-cell-copy]{visibility:hidden}.caption-grounding .cg-caption-cell:not(.is-filled):after{content:"";background:#e9e4f0;border-radius:2px;height:3px;position:absolute;top:32px;left:9px;right:20%}.caption-grounding .cg-description-cell{min-height:76px}.caption-grounding .cg-actions-cell{min-height:112px}.caption-grounding .cg-global-preview{background:#fcfbfe;border:1px solid #e0dbe9;border-radius:3px;min-width:0;overflow:hidden}.caption-grounding .cg-global-preview>.cg-caption-cell{border:0;border-radius:0;width:100%}.caption-grounding .cg-initial-preview{flex-direction:row;align-items:center;gap:9px;padding:8px}.caption-grounding .cg-initial-preview>img{object-fit:cover;border:1px solid #d4dce0;border-radius:2px;flex-shrink:0;width:64px;height:36px}.caption-grounding .cg-initial-preview>span{flex:1;min-width:0}.caption-grounding .cg-global-preview>.cg-context-preview{border-top:1px solid #e8e0f0;padding:7px 24px 7px 8px}.caption-grounding .cg-context-preview>.cg-cell-copy{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.caption-grounding .cg-context-preview>.cg-cell-copy>span>small{color:var(--cg-purple);margin-bottom:2px;font-size:11px;display:block}.caption-grounding .cg-context-arrow{color:var(--cg-purple);font-style:normal;position:absolute;top:8px;right:8px}.caption-grounding .cg-global-preview>.cg-context-preview:not(.is-filled):after{top:26px}.caption-grounding .cg-compact-action{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 6px;margin-top:6px;font-size:11px;line-height:1.5;display:grid}.caption-grounding .cg-compact-action>small{color:var(--cg-orange);font-variant-numeric:tabular-nums;font-size:11px}.caption-grounding .cg-compact-action>span:last-child{grid-column:1/-1}.caption-grounding .cg-action-support{background:#e7e1ed;border-radius:2px;height:3px;overflow:hidden}.caption-grounding .cg-action-support>i{background:var(--subject-color,#d9952b);width:0;height:100%;display:block}.caption-grounding .cg-compact-action.is-pending{visibility:hidden}.caption-grounding .cg-actions-cell .cg-empty-actions{text-align:center;padding:18px 0;font-size:13px;display:block}.caption-grounding .cg-token{background:var(--subject-color,#627084);color:#fff;white-space:nowrap;border:0;border-radius:6px;padding:1px 4px;font:700 9px/1.25 DejaVu Sans,Lateral,sans-serif;display:inline-block}.caption-grounding button.cg-token{margin:0 1px}.caption-grounding .is-related{box-shadow:0 0 0 1px white,0 0 0 2px var(--subject-color,#627084)}.caption-grounding .is-dimmed{opacity:.3}.caption-grounding .cg-active-field{background:#fdfcfe;border:1px solid #d3c5e7;border-radius:3px;margin:0;padding:10px}.caption-grounding .cg-active-field>header{justify-content:space-between;align-items:start;gap:12px;margin-bottom:9px;display:flex}.caption-grounding .cg-active-field strong{font-size:11px;font-weight:600}.caption-grounding .cg-active-field code{color:var(--cg-purple);overflow-wrap:anywhere;margin-top:2px;font-size:11px;display:block}.caption-grounding .cg-active-field [data-field-time]{white-space:nowrap;color:var(--cg-muted);font-size:11px}.caption-grounding [data-field-body]{color:#334155;min-height:32px;padding:2px;font-size:12px;line-height:1.65}.caption-grounding .cg-field-subjects{flex-wrap:wrap;align-items:start;gap:12px 20px;display:flex}.caption-grounding .cg-field-subjects strong{font-size:12px;font-weight:500}.caption-grounding .cg-field-subjects small{margin-top:5px;font-size:12px;line-height:1.6;display:block}.caption-grounding .cg-context-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;display:grid}.caption-grounding .cg-context-fields dt{color:var(--cg-purple);font-size:11px}.caption-grounding .cg-context-fields dd{margin:3px 0 0;font-size:11px;line-height:1.6}.caption-grounding .cg-field-actions>div{grid-template-columns:67px minmax(0,1fr);gap:8px;padding:5px 0;display:grid}.caption-grounding .cg-field-actions small{color:var(--cg-orange);font-size:11px}.caption-grounding .cg-field-actions>div.is-current{background:#fff7e9;border-radius:3px}.caption-grounding .cg-field-actions p{font-size:11px}.caption-grounding .cg-empty-actions{color:var(--cg-muted);font-family:monospace}.caption-grounding .cg-fill-progress{color:var(--cg-muted);justify-content:space-between;align-items:center;padding-top:4px;font-size:11px;display:flex}.caption-grounding .cg-fill-progress>span:last-child{gap:5px;display:flex}.caption-grounding .cg-fill-progress i{border:1px solid #c5b6e0;border-radius:50%;width:5px;height:5px}.caption-grounding .cg-fill-progress i.is-filled{background:var(--cg-purple);border-color:var(--cg-purple)}.caption-grounding .cg-caption-output{border-top:1px solid #e8ecef;margin-top:8px;padding-top:7px;position:relative}.caption-grounding .cg-timeline-toggle{min-height:28px;color:var(--cg-purple);background:0 0;border:0;border-radius:3px;padding:4px 5px;font-size:12px;line-height:1.5;position:absolute;top:3px;right:0}.caption-grounding .cg-timeline-toggle:hover{background:var(--cg-purple-fill)}.caption-grounding[data-stage="3"] .cg-full-caption>summary{padding-right:205px}.caption-grounding .cg-full-caption>summary{min-height:28px;color:var(--cg-navy);cursor:pointer;font-size:12px;list-style:none}.caption-grounding .cg-full-caption>summary>span{color:var(--cg-purple);margin-left:5px}.caption-grounding .cg-output-tabs{align-items:center;gap:6px;margin:13px 0;display:flex}.caption-grounding .cg-output-tabs>button{border:1px solid var(--cg-line);color:var(--cg-muted);background:#fff;border-radius:10px;padding:4px 8px;font-size:11px;line-height:1.2}.caption-grounding .cg-output-tabs>[aria-selected=true]{background:var(--cg-navy);border-color:var(--cg-navy);color:#fff}.caption-grounding .cg-output-tabs>[data-download]{background:0 0;border:0;margin-left:auto}.caption-grounding .cg-full-rendered{color:#334155;font-size:12px;line-height:1.75}.caption-grounding .cg-full-global{background:var(--cg-purple-fill);border-radius:3px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;padding:12px;display:grid}.caption-grounding .cg-full-global>section:last-child{grid-column:1/-1}.caption-grounding .cg-full-global .cg-field-subjects{flex-direction:column}.caption-grounding h4{color:var(--cg-purple);overflow-wrap:anywhere;margin:0 0 7px;font:600 10px/1.5 DejaVu Sans,Lateral,sans-serif}.caption-grounding .cg-full-event{border:1px solid #e0e4e7;border-radius:3px;margin-top:14px;padding:11px}.caption-grounding .cg-full-event>header{color:var(--cg-orange);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;display:flex}.caption-grounding .cg-full-event>div{margin-top:10px}.caption-grounding .cg-camera-chip{background:var(--cg-green);color:#fff;border:1px solid var(--cg-green);border-radius:3px;padding:3px 6px;font:9px/1.4 DejaVu Sans Mono,monospace}.caption-grounding .cg-json{color:#334155;tab-size:2;background:#fafbfc;max-height:420px;margin:0;padding:10px 7px;font:10px/1.65 DejaVu Sans Mono,monospace;overflow:auto}.caption-grounding .cg-json>code{white-space:pre}.caption-grounding .cg-json-event.is-current{background:var(--cg-purple-fill)}.caption-grounding .cg-token-raw{font:inherit;border-radius:2px;padding:0 2px}.caption-grounding .cg-legend{flex-wrap:wrap;justify-content:center;gap:17px;padding-top:8px;font-size:11px;display:flex}.caption-grounding .cg-legend>span{align-items:center;gap:5px;display:flex}.caption-grounding .cg-legend i{background:var(--cg-orange-fill);border:1px solid;border-radius:2px;width:8px;height:8px}.caption-grounding .cg-source-2 i{background:var(--cg-green-fill)}.caption-grounding .cg-source-3 i{background:var(--cg-purple-fill)}.caption-grounding .cg-completion-hint{text-align:center;color:var(--cg-navy);margin-top:10px;font-size:12px;font-weight:400;line-height:1.5;display:block}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-sheet{gap:5px 8px;max-height:none;overflow:visible}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-cell{background:#fcfbfe;border:1px solid #e0dbe9;border-radius:3px;height:20px;min-height:20px;max-height:20px;padding:0;font-size:0;line-height:0}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-cell>*{display:none!important}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-cell:after{display:none}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-cell.is-filled{background:linear-gradient(to right,#e9e1f4 var(--caption-fill,100%),#fcfbfe var(--caption-fill,100%));border-color:#c5b6e0}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-cell.is-filled:after{content:"";width:var(--caption-fill,100%);background:#ad96ce;border-radius:0;height:2px;display:block;position:absolute;inset:auto auto 0 0}.caption-grounding:not([data-timeline-expanded=true]) .cg-initial-preview.is-filled{background:linear-gradient(to right,#e8edf2 var(--caption-fill,100%),#fcfbfe var(--caption-fill,100%));border-color:#bdc9d3}.caption-grounding:not([data-timeline-expanded=true]) .cg-initial-preview.is-filled:after{background:#9aaebe}.caption-grounding:not([data-timeline-expanded=true]) .cg-global-preview{background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;display:grid;overflow:visible}.caption-grounding:not([data-timeline-expanded=true]) .cg-subject-registry{flex-wrap:nowrap;gap:3px;padding:0}.caption-grounding:not([data-timeline-expanded=true]) .cg-subject-registry>.cg-subject-entry{border:1px solid color-mix(in srgb,var(--subject-color) 35%,white);border-left:3px solid var(--subject-color);background:linear-gradient(to right,color-mix(in srgb,var(--subject-color) 12%,white) var(--caption-fill,100%),#fff var(--caption-fill,100%));border-radius:3px;flex:1;min-width:0;height:20px;padding:0;font-size:0;position:relative}.caption-grounding:not([data-timeline-expanded=true]) .cg-subject-registry>.cg-subject-entry:after{content:"";background:var(--subject-color);border-radius:50%;width:8px;height:8px;position:absolute;top:5px;left:7px}.caption-grounding:not([data-timeline-expanded=true]) .cg-subject-registry .cg-token,.caption-grounding:not([data-timeline-expanded=true]) .cg-registry-details{display:none}.caption-grounding:not([data-timeline-expanded=true]) .cg-actions-cell>.cg-cell-copy{position:absolute;inset:3px 2px;display:block!important}.caption-grounding:not([data-timeline-expanded=true]) .cg-actions-cell .cg-compact-action{left:var(--start);width:var(--length);top:calc(var(--action-track,0)*6px);height:calc(12px/var(--action-tracks,1));margin:0;padding:0 1px;display:block;position:absolute}.caption-grounding:not([data-timeline-expanded=true]) .cg-actions-cell .cg-compact-action>small,.caption-grounding:not([data-timeline-expanded=true]) .cg-actions-cell .cg-compact-action>span:last-child{display:none}.caption-grounding:not([data-timeline-expanded=true]) .cg-actions-cell .cg-action-support{background:color-mix(in srgb,var(--subject-color) 20%,white);border-radius:2px;width:100%;height:100%;display:block}.caption-grounding:not([data-timeline-expanded=true]) .cg-caption-cell:hover,.caption-grounding:not([data-timeline-expanded=true]) .cg-subject-registry>.cg-subject-entry:hover{outline:1px solid var(--cg-purple);outline-offset:1px}@container caption-ui (width<=600px){.caption-grounding .cg-workspace{grid-template-columns:1fr;gap:10px}.caption-grounding .cg-media{min-width:0;display:block}.caption-grounding .cg-video-status{margin-top:5px}.caption-grounding .cg-stage-panel{contain:none;grid-area:auto/1;height:auto;max-height:280px}.caption-grounding .cg-camera-diagram{max-height:300px}.caption-grounding .cg-stages button{gap:4px;padding:4px;font-size:11px}.caption-grounding .cg-header{margin-bottom:4px}.caption-grounding .cg-context-fields{grid-template-columns:1fr;gap:8px}.caption-grounding .cg-context-fields dd{margin-top:1px}.caption-grounding .cg-full-global{grid-template-columns:1fr}.caption-grounding .cg-video-status,.caption-grounding .cg-full-rendered{font-size:12px}.caption-grounding .cg-playback-controls{gap:1px}.caption-grounding .cg-playback-controls>button{padding:2px 4px;font-size:11px}.caption-grounding .cg-speed-controls,.caption-grounding .cg-step-controls{margin-left:2px;padding-left:3px}.caption-grounding .cg-speed-controls>button,.caption-grounding .cg-step-controls>button{width:22px}.caption-grounding .cg-speed-controls>output{width:28px}}@media (prefers-reduced-motion:reduce){.caption-grounding *{transition:none!important;animation:none!important}}@media print{.caption-grounding .cg-stages,.caption-grounding .cg-media,.caption-grounding .cg-playback-controls,.caption-grounding .cg-active-field,.caption-grounding .cg-stage-panel,.caption-grounding .cg-output-tabs,.caption-grounding .cg-timeline-toggle{display:none}.caption-grounding .cg-full-caption>div{display:block}.caption-grounding .cg-full-caption{border:0}.caption-grounding .cg-full-caption>summary{display:none}.caption-grounding .cg-caption-sheet{overflow:visible;max-height:none!important}}.caption-grounding .cg-camera-plan>div{flex-wrap:wrap;align-items:center;gap:7px;margin:4px 0;display:flex}.caption-grounding .cg-camera-plan small{color:var(--cg-muted);min-width:49px;font-size:11px}.caption-gallery{margin:var(--space-figure) 0;scroll-margin-top:30px}.caption-gallery [hidden]{display:none!important}.caption-gallery .cg-figure{margin:0}.caption-gallery .caption-grounding{border-top-left-radius:0;border-top-right-radius:0;margin:0}.caption-gallery.cg-single-example .caption-grounding{border-radius:var(--figure-radius)}.caption-gallery .cg-example-tabs{border-radius:var(--figure-radius) var(--figure-radius) 0 0;background:#fafbfc;border:1px solid #cfd7dc;border-bottom:0;align-items:center;gap:8px;padding:3px 10px;display:flex;overflow-x:auto}.caption-gallery .cg-example-tabs>button{color:#627084;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;flex-shrink:0;align-items:center;gap:6px;padding:2px 6px 2px 2px;font:9px/1.4 DejaVu Sans,Lateral,sans-serif;display:flex}.caption-gallery .cg-example-tabs>button[aria-selected=true]{color:#137c71;background:#fff;border-color:#137c71}.caption-gallery .cg-example-tabs>button:focus-visible{outline-offset:2px;outline:2px solid #137c71}.caption-gallery .cg-example-tabs img{object-fit:cover;border:1px solid #cfd7dc;border-radius:2px;width:44px;height:25px;display:block}@media (width<=600px){.caption-gallery .cg-example-tabs{gap:4px;padding:3px 6px}.caption-gallery .cg-example-tabs img{width:36px;height:21px}.caption-gallery .cg-example-tabs>button{gap:4px;padding-right:4px}}@media print{.caption-gallery .cg-example-tabs{display:none}}
