.video-task-shell{min-width:0}.video-task-page{background:var(--panel);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:auto}.video-task-page .workspace-header{flex-shrink:0}.video-task-boundary{border-bottom:1px solid var(--line);color:var(--muted);margin:0;padding:14px 26px;font-size:12px;line-height:1.7}.video-task-page button{cursor:pointer}:is(.video-task-page button:focus-visible,.video-task-page input:focus-visible,.video-task-page select:focus-visible,.video-task-page summary:focus-visible){outline:2px solid var(--lime-dark);outline-offset:3px}.video-task-notice{background:#fff8e6;border:1px solid #ebdcad;border-radius:8px;justify-content:space-between;gap:12px;margin:14px 24px 0;padding:12px 16px;font-size:13px;line-height:1.6;display:flex}.video-task-notice button{background:0 0;border:0;font-size:20px}.video-task-create{border:1px solid var(--line);background:var(--paper);border-radius:10px;grid-template-columns:1fr 1fr;align-items:end;gap:16px;margin:16px 24px;padding:20px;display:grid}.video-task-create label,.video-task-list>label{gap:8px;font-size:12px;font-weight:600;display:grid}.video-task-create input,.video-task-create select,.video-task-list select{border:1px solid var(--line);background:var(--paper);border-radius:6px;width:100%;min-width:0;min-height:38px;padding:8px}.video-task-create small{color:var(--muted);font-size:11px;font-weight:400}.video-task-create>p{grid-column:1/-1;margin:0;font-size:12px}.video-task-workspace{flex:1;grid-template-columns:280px minmax(0,1fr);min-height:0;display:grid}.video-task-list{background:var(--paper);border-right:1px solid var(--line);min-width:0;padding:18px 12px;overflow:auto}.video-task-list>label{margin:0 6px 18px}.video-task-row{border:1px solid #0000;border-bottom-color:var(--line);text-align:left;background:0 0;border-radius:7px;grid-template-columns:1fr auto;gap:8px;width:100%;padding:15px 10px;display:grid}.video-task-row strong{overflow-wrap:anywhere;font-size:13px}.video-task-row small{color:var(--muted);overflow-wrap:anywhere;grid-column:1/-1;font-size:11px}.video-task-row.active{border-color:var(--lime-dark);background:#f3fbdc}.video-task-status{color:var(--muted);white-space:nowrap;font-size:10px}.video-task-status.review_ready{color:#426a22}.video-task-status.failed{color:#a23d47}.video-task-pagination{justify-content:space-between;align-items:center;gap:8px;margin-top:20px;font-size:11px;display:flex}.video-task-pagination button,.video-task-detail button:not(.video-task-frame-preview),.video-task-removed button{border:1px solid var(--line);background:var(--paper);border-radius:6px;padding:7px 10px;font-size:12px}.video-task-detail{min-width:0;padding:24px;overflow:auto}.video-task-detail-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.video-task-detail-header h2{margin:0;font-size:20px}.video-task-detail-header p{color:var(--muted);font-size:12px;line-height:1.6}.video-task-detail-header>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.video-task-source{margin:16px 0;font-size:12px}.video-task-source summary,.video-task-removed summary{cursor:pointer;padding:10px 0}.video-task-source video{background:var(--forest);max-width:100%;max-height:360px;margin-top:10px;display:block}.video-manual-capture{gap:12px;margin:16px 0;display:grid}.video-manual-capture fieldset{border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;align-items:end;gap:10px;min-width:0;padding:14px;display:flex}.video-manual-capture legend{padding:0 6px;font-weight:600}.video-manual-capture label{gap:6px;display:grid}.video-manual-capture input{background:var(--paper);border:1px solid var(--line);border-radius:6px;width:130px;max-width:100%;padding:8px}.video-manual-capture small{color:var(--muted);flex-basis:100%;line-height:1.6}.video-manual-capture p,.video-capture-status{font-size:12px;line-height:1.7}.capture-editor{min-width:0;max-width:860px}.capture-stage{background:var(--forest);border-radius:10px;justify-content:center;display:flex;overflow:hidden}.video-task-source .capture-stage video{object-fit:contain;width:100%;max-height:420px;margin:0}.capture-mode,.capture-actions,.capture-readout{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.capture-mode button[aria-pressed=true]{background:var(--forest);color:var(--paper);border-color:var(--forest)}.capture-timeline{min-width:0;padding:8px 14px 0}.capture-filmstrip{touch-action:none;cursor:crosshair;height:72px;position:relative}.capture-thumbnails{background:var(--forest);pointer-events:none;border-radius:5px;height:100%;display:flex;overflow:hidden}.capture-thumbnails img,.capture-thumbnails span{object-fit:cover;border-right:1px solid #ffffff26;width:8.33333%;min-width:0;height:100%}.capture-thumbnails span{background:repeating-linear-gradient(90deg,#0000 0 15px,#ffffff12 16px 17px)}.capture-selection{pointer-events:none;border-block:4px solid #f6cb45;position:absolute;top:0;bottom:0}.capture-shade{pointer-events:none;background:#0009;position:absolute;inset-block:0}.capture-handle{cursor:ew-resize;touch-action:none;z-index:2;outline-offset:3px;justify-content:center;align-items:center;width:28px;display:flex;position:absolute;top:-8px;bottom:-8px;transform:translate(-50%)}.capture-handle span{pointer-events:none;display:block}.capture-handle-start span,.capture-handle-end span{background:#f6cb45;border:1px solid #997c21;border-radius:4px;width:14px;height:72px}.capture-handle-start span:after,.capture-handle-end span:after{content:"";background:#493b0c;width:2px;height:24px;margin:23px auto;display:block}.capture-handle-point{z-index:3;align-items:flex-start;height:24px;top:-18px;bottom:auto}.capture-handle-point span{background:#fff;border-radius:2px;width:3px;height:100px;box-shadow:0 0 0 1px #17241f99}.capture-handle-point:before{content:"";background:#fff;border:1px solid #17241f99;border-radius:3px;width:12px;height:9px;position:absolute;top:0}.capture-handle:focus-visible{outline:2px solid var(--forest);border-radius:4px}.capture-ruler{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;margin-top:14px;display:flex}.capture-readout{font-variant-numeric:tabular-nums;justify-content:space-between;line-height:1.7}.capture-readout strong{margin-left:5px}.capture-help{color:var(--muted);margin:0}.video-task-detail .capture-actions button.capture-submit{background:var(--forest);color:var(--paper);margin-left:auto}.capture-timeline.is-disabled{opacity:.55}.capture-timeline.is-disabled .capture-handle{cursor:not-allowed}.capture-precision summary{color:var(--muted)}.capture-summary-status{color:var(--forest);font-weight:600}.capture-progress{background:#fff8e6;border:1px solid #ebdcad;border-radius:6px;padding:12px}.capture-results{border-top:1px solid var(--line);padding-top:12px}.capture-results h3{margin:0 0 8px;font-size:13px}.capture-results ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.capture-results li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (max-width:600px){.video-task-source .capture-stage video{max-height:320px}.capture-actions .capture-submit{width:100%;margin-left:0}.capture-filmstrip,.capture-handle-start span,.capture-handle-end span{height:64px}.capture-handle-start span:after,.capture-handle-end span:after{margin:19px auto}}.video-task-frame-preview video{object-fit:contain;pointer-events:none;width:100%;height:200px}.video-task-frame-preview .managed-media{padding:0}.video-task-lightbox-stage video{max-width:100%;max-height:70vh}.video-task-review-tools{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:16px 0;display:flex}.video-task-review-tools strong{font-size:13px}.video-task-review-tools>span{color:var(--muted);margin-right:auto;font-size:11px}.video-task-detail button.upload-button{background:var(--lime);border-color:var(--lime-dark);color:var(--ink)}.video-task-detail button.upload-button:hover:not(:disabled){background:var(--lime-dark)}.video-task-sort-hint{color:var(--muted);margin:0 0 16px;font-size:11px;line-height:1.7}.video-task-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.video-task-grid>li{border:1px solid var(--line);background:var(--paper);border-radius:8px;min-width:0;padding:8px}.video-task-frame-preview{aspect-ratio:3/4;background:var(--canvas);border:0;border-radius:4px;width:100%;padding:0;display:block;overflow:hidden}.video-task-frame-preview img{object-fit:contain;width:100%;height:100%;display:block}.video-task-frame-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:10px 0;font-size:11px;display:flex}.video-task-frame-meta label{align-items:center;gap:4px;display:flex}.video-task-frame-meta time{color:var(--muted)}.video-task-frame-actions{gap:4px;display:flex}.video-task-frame-actions button{flex:1;padding:6px 3px!important;font-size:11px!important}.video-task-removed{margin-top:20px;font-size:12px}.video-task-removed>div{flex-wrap:wrap;gap:8px;display:flex}.video-task-empty{text-align:center;color:var(--muted);padding:50px 20px}.video-task-empty h2{color:var(--ink);font-size:18px;font-weight:600}.video-task-empty p{font-size:12px;line-height:1.8}.video-task-error{color:#a23d47;background:#fff1f0;border:1px solid #f2c8c8;border-radius:6px;padding:12px;font-size:13px}.video-task-lightbox{width:100vw;height:100vh;z-index:100;color:#fff;background:#101814ed;border:0;flex-direction:column;justify-content:center;align-items:center;gap:12px;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px;display:flex;position:fixed;inset:0}.video-task-lightbox-stage{touch-action:pan-y pinch-zoom;flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex;overflow:hidden}.video-task-lightbox img{object-fit:contain;-webkit-user-select:none;user-select:none;max-width:100%;height:100%;display:block}.video-task-lightbox-controls{flex-shrink:0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:min(100%,640px);display:grid}.video-task-lightbox-controls p{text-align:center}.video-task-import{border:1px solid var(--line);background:var(--paper);border-radius:8px;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;padding:16px;display:flex}.video-task-import strong{flex-basis:100%}.video-task-import label{gap:6px;max-width:100%;display:grid}.video-task-import select{max-width:100%;min-height:36px}.video-task-import p{color:var(--muted);flex-basis:100%;margin:0;font-size:12px}.video-task-lightbox button{background:var(--paper);min-height:42px;color:var(--ink);border:1px solid #66746c;border-radius:6px;align-self:flex-end;padding:9px 16px;font-size:13px;font-weight:600}.video-task-lightbox button:hover:not(:disabled){background:var(--canvas)}.video-task-lightbox p{margin:0;font-size:12px}.video-task-page button:disabled{opacity:1;color:#536059;border-color:var(--line);box-shadow:none;cursor:not-allowed;background:#eef1ed;transform:none}@media (max-width:1000px){.video-task-workspace{grid-template-columns:230px minmax(0,1fr)}.video-task-detail{padding:18px}.video-task-detail-header{flex-direction:column}}@media (max-width:700px){.video-task-shell{height:auto;min-height:100vh;display:block;overflow:visible}.video-task-shell>.global-sidebar{display:none}.video-task-page{min-height:100vh;overflow:visible}.video-task-page .workspace-header{flex-wrap:wrap;gap:12px;min-width:0;padding:16px}.video-task-page .workspace-header h1{font-size:22px}.video-task-boundary{padding:12px 16px}.video-task-create{grid-template-columns:1fr;margin:12px;padding:16px}.video-task-workspace{display:block}.video-task-list{border-right:0;border-bottom:1px solid var(--line);max-height:320px}.video-task-detail{padding:16px;overflow:visible}.video-task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.video-task-notice{margin:12px}}
