:root{font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#172239;background:#f5f8ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:1px solid #cfdaf0;background:#fff;border-radius:12px;padding:10px 14px;font-weight:650;color:#173153;cursor:pointer}button:hover:not(:disabled){background:#eaf1ff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6ba9ff;outline-offset:3px}button:disabled{opacity:.43;cursor:not-allowed}.primary{border:0;background:#246fe2;color:#fff;width:100%;box-shadow:0 7px 19px #216fdf27}.primary:hover:not(:disabled){background:#145bc4}.top{height:65px;background:#ffffffdb;border-bottom:1px solid #e1e8f5;display:flex;align-items:center;padding:0 max(18px,calc((100vw - 1270px)/ 2));gap:25px}.brand{color:#152a51;font-weight:850;font-size:20px;text-decoration:none;white-space:nowrap}.mark{background:#3c93ff;color:#fff;border-radius:9px;padding:2px 10px;margin-right:6px}.crumb{font-size:13px;color:#73819c}.crumb strong{color:#435878}.local{margin-left:auto;font-size:12px;background:#eaf5ef;color:#137144;border-radius:999px;padding:5px 11px}main{max-width:1270px;margin:auto;padding:36px 22px 80px}.hero{padding:20px 0 30px}.eyebrow{font-size:11px;letter-spacing:.18em;color:#2f76d8;font-weight:800}.hero h1{font-size:clamp(32px,4.6vw,57px);letter-spacing:-.055em;line-height:1.08;max-width:800px;margin:13px 0}.hero h1 em{font-style:normal;color:#3587ef}.hero p{max-width:770px;color:#63718c;font-size:17px;margin:0 0 13px}.hint{display:inline-block;font-size:12px;color:#6e5d25;background:#fff5d6;padding:9px 13px;border-radius:9px}.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:18px;align-items:start}.panel{background:#fff;border:1px solid #e2e9f5;border-radius:20px;box-shadow:0 12px 42px #1c508a0a;padding:22px}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.info h2,.panelhead h2{font-size:20px;letter-spacing:-.03em;margin:0}.panelhead span{color:#8a96aa;font-size:12px}h3{font-size:15px;margin:20px 0 8px}.drop{display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f7faff;border:2px dashed #bed5fa;border-radius:15px;min-height:290px;text-align:center;cursor:pointer;padding:20px;gap:7px}.drop.drag{background:#e6f1ff;border-color:#2375ea}.drop small{max-width:320px;color:#7f8ca3}.uploadIcon{font-size:33px;color:#428df7}.drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.stage{position:relative;background:#111c2e;border-radius:15px;overflow:hidden}.stage video{display:block;width:100%;max-height:470px;min-height:230px;object-fit:contain;background:#090f1d}.stageBadge{position:absolute;top:12px;left:12px;background:#071c31ac;color:#fff;padding:6px 11px;font-size:12px;border-radius:9px}.transport{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.analysisInfo{margin-top:16px;color:#667794;font-size:13px}.settings label{display:flex;flex-direction:column;gap:7px;margin:12px 0 20px;font-size:13px;font-weight:650}.settings label output{align-self:end;color:#3183df}.settings input[type=range]{width:100%;accent-color:#347df2}.settings select{border:1px solid #d3deeb;border-radius:10px;padding:10px}.settings>button{width:100%;margin:5px 0}.tag{background:#edf4ff;border-radius:999px;padding:4px 8px;color:#397ad5!important}.statrow{display:flex;justify-content:space-between;border-bottom:1px solid #e9eef6;padding:9px 0;color:#68758c}.statrow strong{color:#172d4a}.divider{border-top:1px solid #eef0f6;margin:19px 0}.micro{font-size:12px;color:#7b89a0}.progressbox{background:#f6f9ff;padding:12px;border-radius:10px;margin-top:12px}.progressTrack{height:8px;border-radius:999px;background:#dae6f8;overflow:hidden;margin-bottom:10px}.progressTrack span{height:100%;display:block;background:#347ff2;width:0%;transition:width .15s}.filebtn{display:block;text-align:center;position:relative;border:1px solid #cedaf0;padding:10px;border-radius:12px;margin:8px 0!important;cursor:pointer}.filebtn input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.clips,.info{margin-top:18px}.clips .panelhead p{font-size:13px;color:#75819b;margin:3px 0}.clipList{display:grid;gap:11px}.empty{color:#788aa6;background:#f8faff;border:1px dashed #d4e2f6;padding:24px;border-radius:12px;text-align:center}.clip{border:1px solid #e1e8f5;background:#fbfdff;border-radius:14px;padding:13px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center}.clip.isselected{border-color:#629aff;background:#f0f6ff}.clip strong{display:block;font-size:13px}.clip .fields{display:grid;grid-template-columns:minmax(0,1fr) 95px 95px;gap:9px;margin-top:8px}.clip label{font-size:11px;color:#6b7e9a;display:flex;flex-direction:column}.clip input{max-width:100%;padding:6px;border:1px solid #ccdaeb;border-radius:8px;color:#152747}.clip .actions{display:flex;flex-direction:column;gap:5px}.clip .actions button{padding:5px 9px;font-size:12px}.score{font-size:11px;color:#4578be}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.steps div{padding:13px;background:#f7faff;border-radius:12px}.info>p,.steps p{color:#75829a;font-size:13px}.overlay[hidden],[hidden]{display:none!important}.overlay{position:fixed;inset:0;background:#0a1d39b8;z-index:100;display:grid;place-items:center}.dialog{background:#fff;padding:30px;border-radius:20px;width:min(450px,90vw)}.dialog h2{margin-top:0}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#17294b;color:#fff;border-radius:12px;padding:12px 18px;display:none;z-index:200;max-width:92vw}.toast.show{display:block}@media(max-width:850px){.workspace{grid-template-columns:1fr}.top{padding:0 16px}.crumb{display:none}.hero{padding-top:5px}.steps{grid-template-columns:1fr}.panel{padding:17px}}@media(max-width:520px){main{padding:19px 12px}.local{display:none}.clip{grid-template-columns:1fr}.clip .fields{grid-template-columns:1fr 1fr}.clip .fields label:first-child{grid-column:1/-1}.clip .actions{flex-direction:row;flex-wrap:wrap}.transport button{flex:1}.hero h1{font-size:37px}}#activityGraph{width:100%;height:78px;display:block;border-radius:11px;background:#f3f7ff;cursor:crosshair;border:1px solid #d7e4f6}.panel-actions{display:flex;gap:8px;flex-wrap:wrap}.panel-actions button{font-size:12px}.checkboxline{display:flex!important;flex-direction:row!important;align-items:center!important}.checkboxline input{width:18px;height:18px;accent-color:#317ef1}.clip .thumb{width:112px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #d8e4f6;background:#deeaf9}.clip .score{display:block}.clip .actions button:disabled{opacity:.3}.clip .actions .danger:hover{color:#ad2839}.clip .fields{grid-template-columns:minmax(0,1fr) 95px 95px}.clip .badge-score{display:inline-block;background:#e7f0ff;color:#195bb2;font-size:11px;border-radius:20px;padding:3px 8px;margin-top:3px}.toast{white-space:pre-line}.panelhead{flex-wrap:wrap}.clip{grid-template-columns:24px 112px minmax(0,1fr) auto}.clip .placeholder{background:#eaf1fc;display:grid;place-items:center;color:#8195b4;font-size:11px}.drop:focus-within,.filebtn:focus-within{outline:3px solid #6ba9ff;outline-offset:3px}@media(max-width:850px){.clip{grid-template-columns:24px 84px minmax(0,1fr)}.clip .thumb{width:84px;height:58px}.clip .actions{grid-column:3;flex-direction:row;flex-wrap:wrap}}@media(max-width:520px){.clip{grid-template-columns:40px minmax(0,1fr)}.clip .thumb{grid-column:1;grid-row:2;width:100%;height:54px}.clip>.clipbody{grid-column:2;grid-row:1/span 2}.clip .actions{grid-column:1/-1;justify-content:flex-end}.panelhead .panel-actions{width:100%}.panelhead .panel-actions button{flex:1}}.drop:focus-visible,.filebtn:focus-visible{outline:3px solid #6ba9ff;outline-offset:3px}.focusControls{padding:10px 13px;margin:9px 0 18px;border:1px solid #d9e7f8;border-radius:12px;background:#f5f9ff}.focusControls label{margin:12px 0}.focusControls button{font-size:12px}.transport #markIn,.transport #markOut{background:#f2f7ff}#activityGraph:focus-visible{outline:3px solid #5b9ff5;outline-offset:3px}.framePreviewSection{margin:12px 0 18px;border:1px solid #d9e6f7;background:#f8fbff;border-radius:12px;padding:12px}.previewHeading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:12px}.previewHeading button{padding:6px 10px;font-size:11px}.framePreviewSection canvas{display:block;margin:auto;max-width:100%;height:auto;max-height:210px;border-radius:8px;background:#101827;border:1px solid #d2ddee}.framePreviewSection .micro{margin-bottom:0}.highlights-ai-dialog,.highlights-cache-confirm{position:fixed;border:1px solid #dce6f4;border-radius:20px;box-shadow:0 30px 100px #081b3a60;padding:0;width:min(720px,calc(100vw - 20px));max-width:720px;max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:#192d4a;line-height:1.5}.highlights-ai-dialog::backdrop,.highlights-cache-confirm::backdrop{background:rgba(9,24,49,.65);backdrop-filter:blur(5px)}.highlights-cache-confirm{width:min(560px,calc(100vw - 20px))}.highlights-ai-dialog .dialog-body,.highlights-cache-confirm .dialog-body{padding:clamp(16px,3vw,28px);display:flex;flex-direction:column;gap:16px}.highlights-ai-dialog .dialog-head,.highlights-cache-confirm .dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.highlights-ai-dialog .dialog-head small,.highlights-cache-confirm .dialog-head small{display:block;font-size:10px;font-weight:820;letter-spacing:1.5px;color:#4583d4}.highlights-ai-dialog h2,.highlights-cache-confirm h2{margin:3px 0 0;font-size:clamp(22px,3vw,27px);line-height:1.23;letter-spacing:-.7px;color:#142d51}.highlights-ai-dialog h3,.highlights-cache-confirm h3{margin:0;font-size:15px;color:#193e6c;letter-spacing:-.2px}.highlights-ai-dialog p,.highlights-cache-confirm p{font-size:12px;color:#59708d;line-height:1.6;margin:5px 0}.highlights-ai-dialog .icon-btn,.highlights-cache-confirm .icon-btn{border:1px solid #dae6f5;background:#f7faff;border-radius:9px;padding:6px 12px;font-size:20px;color:#456482}.highlights-ai-dialog .model-disclosure{display:flex;gap:12px;align-items:flex-start;padding:15px;background:#eef6ff;border:1px solid #d9e9fe;border-radius:13px}.highlights-ai-dialog .model-disclosure>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#d9ebff;color:#2873c7;font-size:18px;flex-shrink:0}.highlights-ai-dialog .model-disclosure strong{font-size:13px;color:#1d497f}.highlights-ai-dialog .setup-steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.highlights-ai-dialog .setup-steps li{background:#f5f8fc;border:1px solid #e2eaf5;border-radius:10px;padding:10px 7px;text-align:center;font-size:11px;font-weight:750;color:#71849c}.highlights-ai-dialog .setup-steps li.active{background:#e4f0ff;color:#2168c0;border-color:#a7ceff}.highlights-ai-dialog .setup-steps li.complete{background:#effaf4;color:#357c5b;border-color:#c4e8d2}.highlights-ai-dialog .field-label{font-size:11px;color:#53708f;font-weight:750;margin-bottom:-12px}.highlights-ai-dialog #highlights-model-select{border:1px solid #d6e4f3;border-radius:11px;padding:12px;font-size:13px;width:100%;background:#fff;color:#193d66}.highlights-ai-dialog .model-description{font-size:12px;color:#687d96;padding:10px;background:#f9fbff;border:1px solid #ebf1f9;border-radius:10px}.highlights-ai-dialog .model-resources{border:1px solid #dce7f5;border-radius:14px;padding:15px;display:grid;gap:13px;background:#fcfdff}.highlights-ai-dialog .resource-heading{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}.highlights-ai-dialog .resource-hint{font-size:10px;color:#8b9cb2}.highlights-ai-dialog .resource-label{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px}.highlights-ai-dialog .resource-label span{color:#607993;font-size:11px}.highlights-ai-dialog .resource-meter{border:1px solid #d3e4f8;height:11px;background:#edf3fc;border-radius:99px;overflow:hidden;margin:8px 0 0}.highlights-ai-dialog .resource-meter>span{display:block;height:100%;background:linear-gradient(90deg,#62b8fa,#276de1);transition:width .25s}.highlights-ai-dialog .resource-unknown{background:repeating-linear-gradient(120deg,#eff4fb 0 10px,#e6eef9 10px 20px)}.highlights-ai-dialog .resource-note{margin:4px 0 0;font-size:10px}.highlights-ai-dialog .dialog-actions,.highlights-ai-dialog .recovery-actions,.highlights-ai-dialog .resource-refresh-actions,.highlights-cache-confirm .dialog-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.highlights-ai-dialog .resource-refresh-actions .btn{flex:1 1 180px}.highlights-ai-dialog .dialog-actions .btn{flex:1 1 auto}.highlights-ai-dialog #highlights-connect-model{flex:2 1 230px;font-size:13px;min-height:44px}.highlights-ai-dialog .btn.subtle,.highlights-cache-confirm .btn.subtle{background:#f7faff}.highlights-ai-dialog .btn.danger,.highlights-cache-confirm .btn.danger{background:#fff1f2;border:1px solid #f6bec5;color:#a92a42}.highlights-ai-dialog .btn.danger:hover:not(:disabled),.highlights-cache-confirm .btn.danger:hover:not(:disabled){background:#ffe6e9}.highlights-ai-dialog .progress-wrap{border:1px solid #cddff8;background:#f4f8ff;padding:12px;border-radius:12px}.highlights-ai-dialog .progress-status{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:11px}.highlights-ai-dialog .progress-status strong{color:#235f9e}.highlights-ai-dialog .progress-track{height:7px;margin:11px 0;background:#dceafd;border-radius:99px;overflow:hidden}.highlights-ai-dialog #highlights-progress-bar{height:100%;background:#337fe3;transition:width .2s}.highlights-ai-dialog #highlights-progress-label{font-size:11px;color:#375c8a;overflow-wrap:anywhere}.highlights-ai-dialog .model-bulk-clean{border:1px solid #d4dff0;background:#f6f9fe;border-radius:14px;padding:16px;display:grid;gap:8px}.highlights-ai-dialog .model-bulk-clean small{color:#5875a2;letter-spacing:1.3px;font-size:10px;font-weight:850}.highlights-ai-dialog .model-bulk-clean .recovery-actions{display:grid;grid-template-columns:1fr 1fr}.highlights-ai-dialog .model-bulk-clean button{white-space:normal;text-align:center;min-height:39px}.highlights-ai-dialog .setting-caption{font-size:11px;line-height:1.55;color:#6b7e95;margin:0}.highlights-ai-dialog .ai-recovery,.highlights-ai-dialog .model-download-help{border:1px solid #dde7f4;border-radius:12px;padding:12px 14px;background:#fff}.highlights-ai-dialog details summary{cursor:pointer;color:#2c638d;font-size:12px;font-weight:800}.highlights-ai-dialog details button{margin:9px 0}.highlights-ai-dialog .capability{border:1px solid #dce7f5;background:#f8fbff;padding:11px;border-radius:11px;color:#526e8c;font-size:12px}.highlights-ai-dialog .highlights-dialog-foot{display:flex;justify-content:flex-end;padding-top:8px;border-top:1px solid #e7edf5}.highlights-cache-confirm .highlights-cache-ack{font-size:13px;display:flex;gap:7px;align-items:flex-start;color:#365678}.highlights-cache-confirm #highlights-cache-confirm-summary{font-weight:700}.highlights-cache-confirm #highlights-cache-yes{flex:1;white-space:normal}@media(max-width:500px){.highlights-ai-dialog,.highlights-cache-confirm{max-height:calc(100dvh - 12px)}.highlights-ai-dialog .dialog-body{padding:14px;gap:12px}.highlights-ai-dialog .setup-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.highlights-ai-dialog .model-bulk-clean .recovery-actions{grid-template-columns:1fr}.highlights-ai-dialog .dialog-actions .btn{width:100%;flex:1 1 100%}.highlights-ai-dialog .resource-refresh-actions{flex-direction:column;align-items:stretch}.highlights-ai-dialog .resource-refresh-actions .btn{flex:auto}.highlights-ai-dialog .dialog-head h2{font-size:21px}}.highlights-ai-dialog .btn,.highlights-cache-confirm .btn{font-size:12px;min-height:38px;padding:8px 12px;border:1px solid #d4e2f2;border-radius:10px;white-space:normal}.highlights-ai-dialog .btn.primary{color:#fff;border-color:transparent}.highlights-ai-dialog .btn.subtle,.highlights-cache-confirm .btn.subtle{color:#285f9b}.highlights-ai-dialog .btn.ghost{background:#fff;color:#526a83}.highlights-startup-error{position:fixed;bottom:18px;right:18px;z-index:300;max-width:min(420px,calc(100vw - 36px));margin:0;padding:18px;background:#fff1f4;color:#8f2b3c;border:1px solid #edb6bf;border-radius:14px;box-shadow:0 12px 40px #11386130}.highlights-startup-error p{font-size:12px}.semanticPanel{border:1px solid #bfdaf8;border-radius:14px;padding:14px;margin:15px 0;background:#f8fbff}.semanticPanel h3{margin:0 0 8px;color:#205894}.semanticPanel label{margin:12px 0 6px}.semanticPanel textarea{width:100%;resize:vertical;min-height:76px;max-height:185px;border-radius:10px;padding:11px;border:1px solid #bfd2ec;color:#1a385b;font:inherit;font-size:12px}.semanticActions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.semanticActions button{flex:1 1 130px;font-size:12px;min-height:40px;white-space:normal}.semantic-status{color:#52759b;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.semanticDraft{padding:12px;border-radius:12px;border:1px solid #add2fa;background:#f0f7ff;margin-top:14px}.semanticDraft strong{font-size:13px;color:#245b95}.semanticDraft ol{max-height:230px;overflow:auto;padding-left:22px;font-size:11px;color:#375f8b}.semanticDraft li{padding:5px 0}@media(max-width:500px){.semanticActions{flex-direction:column}.highlights-ai-dialog .model-bulk-clean .recovery-actions{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.highlights-ai-dialog *{transition:none!important;animation:none!important}}.clip-reason{display:inline-block;font-size:11px;color:#416a97;background:#eff6ff;border-radius:6px;padding:3px 7px;margin-top:5px;max-width:100%;overflow-wrap:anywhere}@media(max-width:480px){.clip .actions{flex-wrap:wrap}.clip .actions button{min-height:36px;white-space:normal}.settings{min-width:0}.semanticPanel{min-width:0}}@media(max-width:850px){.top{height:auto;min-height:65px;flex-wrap:wrap;column-gap:12px;row-gap:8px;padding:10px 14px}.top .pk-site-search{flex:1 1 100%;min-width:0;order:3;width:100%;max-width:100%}.top .pk-search-field{display:flex;align-items:center;width:100%;max-width:100%;min-width:0}.top .pk-search-field svg{width:20px;height:20px;flex:0 0 20px}.top .pk-search-field input{width:100%;max-width:100%;min-width:0}.top .pk-studio-navigation{margin-left:auto;max-width:100%}.top .pk-studio-navigation nav{max-width:min(95vw,300px);flex-wrap:wrap;overflow-wrap:anywhere}.pk-studio-footer nav{display:flex;flex-wrap:wrap;gap:8px}}