:root{color-scheme:light;--ink:#102f32;--muted:#506c6d;--ice:#f3f6f3;--line:#d3dfd9;--lime:#c8ef72;--teal:#146766}*{box-sizing:border-box}body{margin:0;background:var(--ice);font-family:"Segoe UI",system-ui,sans-serif;color:var(--ink)}header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,calc((100vw - 1320px)/2));background:#0d3033;color:white;gap:16px}.brand,.private,.intro,.transport,.transport>div,.status,.metric,.check{display:flex;align-items:center}.brand{gap:12px}.brand strong{font-size:22px;letter-spacing:-.8px}.brandline{height:19px;width:1px;background:#486568;margin:0 4px}.subbrand,.private{font-size:13px;color:#d1dfdb}.private{gap:8px}.private i,.glass i,.dot{width:8px;height:8px;border-radius:50%;background:var(--lime);display:inline-block}.private i{box-shadow:0 0 0 4px #b3dc4520}main{width:min(90%,1320px);margin:42px auto 0}.intro{justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow,.glass,.emptynote{font-family:ui-monospace,Consolas,monospace;font-size:10px;letter-spacing:1.6px;font-weight:700}.eyebrow{color:#47716b}h1,h2,h3,p{margin:0}h1{font-size:clamp(36px,4.5vw,65px);line-height:1.13;letter-spacing:-.065em;margin:5px 0 7px}h1 span{color:#65952d}.intro p,.status p,.settings p,.adjustgrid p,.card em{color:var(--muted)}button,.open,select,input{font:inherit}.open,button,select{cursor:pointer}button,.open,.card,details{border:1px solid var(--line);border-radius:12px}.open{display:inline-flex;align-items:center;gap:9px;font-weight:700;padding:12px 18px;white-space:nowrap}.open b{font-size:20px}.file{position:absolute;width:1px;height:1px;opacity:0}.intro:has(.file:focus-visible) .open,:focus-visible{outline:3px solid #1b94a5;outline-offset:3px}.layout{display:grid;grid-template-columns:minmax(0,2.9fr) minmax(255px,1fr);gap:21px;align-items:start}.workspace{min-width:0}.stage{position:relative;isolation:isolate;overflow:hidden;border-radius:16px 16px 0 0;aspect-ratio:16/9;background:#0a242a}.stage [hidden], [hidden]{display:none!important}.empty,.rink,#vid,#overlay{position:absolute;inset:0;width:100%;height:100%}.empty{background:radial-gradient(ellipse at 70% 38%,#1f4a4e,#102e33 62%,#09262c)}.emptynote{position:absolute;bottom:16%;left:5%;color:#a8c4bb;font-size:9px;letter-spacing:1.8px}.stagehead{position:absolute;top:14px;left:16px;right:16px;display:flex;justify-content:space-between;pointer-events:none}.glass,.tvvalues{background:#092425d9;color:#ecf5ee;border-radius:6px;padding:6px 10px}.glass{display:inline-flex;align-items:center;gap:7px;font-size:9px}.glass i{width:6px;height:6px}#vid{object-fit:contain;visibility:hidden}.loaded #vid{visibility:visible}#overlay{pointer-events:none}.stage.calibrating{cursor:crosshair;outline:3px solid #b4d945}.tvvalues{position:absolute;top:44px;left:16px;display:grid;gap:3px;font:600 clamp(9px,1.05vw,14px) ui-monospace,Consolas,monospace;pointer-events:none}#stagecaption{font-size:12px;color:#365b58;min-height:1.35em;pointer-events:none}.player{background:white;padding:11px 16px 12px;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px}.player input[type=range]{display:block;width:100%;height:17px;accent-color:#348474}.transport{justify-content:space-between;margin-top:7px}.transport>div{gap:6px}.transport button,.transport select{height:34px;min-width:34px;padding:1px 9px}.transport .play{background:#123d40;color:white}.mono,.metric strong,.marks span{font-family:ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums}#clock{font-size:12px;margin-left:5px}.card,details{background:#fff}.card{padding:20px 22px}.card+.card{margin-top:14px}h2{font-size:23px;letter-spacing:-1px;margin:4px 0 11px}.metric{gap:12px;border-top:1px solid var(--line);padding:12px 0}.metric:last-child{padding-bottom:0}.micon{height:32px;width:32px;display:grid;place-items:center;border-radius:8px;background:#edf4e9;color:#38716c;font-size:21px}.metric small,.metric strong,.metric em{display:block}.metric strong{font-size:24px;line-height:1.3;letter-spacing:-1px}.metric em,.settings p,.adjustgrid p,.status p{font-size:12px;line-height:1.5;font-style:normal}.metric small{font-weight:650}.settings h2{margin-bottom:8px}.check{gap:5px;font-size:14px}.check input{accent-color:var(--teal)}.pair{display:flex;gap:9px;margin:12px 0}.pair label{flex:1;min-width:0}label:not(.open){font-size:13px}input[type=number],select{border:1px solid var(--line);border-radius:7px;padding:7px 8px;background:white;color:var(--ink)}input[type=number]{width:100%;margin-top:3px}.settings button{width:100%;margin-top:11px}button{font-weight:600;padding:8px 12px;background:#eef3ee;color:var(--ink);border-radius:8px;font-size:13px}button:disabled,select:disabled,input:disabled{cursor:default;opacity:.45}button:hover:enabled,.open:hover{filter:brightness(.95)}.status{gap:13px;padding:16px 4px 3px}.status .dot{background:#47847c;flex:none}.status strong{font-size:14px}progress{width:100%;accent-color:var(--teal)}details{margin:20px 0 0;padding:15px 20px}summary{cursor:pointer;font-weight:650}summary span{font-size:12px;font-weight:400;color:var(--muted);margin-left:12px}.adjustgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:22px 0 3px}.adjustgrid section{min-width:0}.adjustgrid h3{font-size:17px;margin-bottom:6px}.adjustgrid p{margin:5px 0 10px}.adjustgrid button{margin-top:6px}.adjustgrid select{width:100%;margin-top:4px}.marks{display:grid;grid-template-columns:1fr auto;gap:3px 7px;align-items:center}.marks span{font-size:11px}footer{display:flex;justify-content:space-between;gap:12px;color:#5b706b;font-size:11px;margin:30px 0;padding:16px 0;border-top:1px solid var(--line)}#saveBar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:13px}#saveBar a{color:#12635b;font-size:13px;font-weight:650}.savebtn{background:var(--ink);color:white}.calibrating #overlay{pointer-events:auto;touch-action:manipulation}
@media(max-width:790px){header{padding:0 4%;height:57px}.subbrand,.brandline{display:none}main{width:92%;margin-top:23px}.layout{grid-template-columns:1fr}.intro{align-items:flex-start}.intro p{font-size:14px}.layout aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}.card+.card{margin:0}.card{padding:15px}.adjustgrid{grid-template-columns:1fr}.eyebrow{font-size:9px}.intro{margin-bottom:16px}.private{font-size:11px}}@media(max-width:540px){.intro{display:block}.open{margin-top:14px;padding:8px 15px}.layout aside{grid-template-columns:1fr}.metric{display:inline-flex;vertical-align:top;width:32.4%;align-items:flex-start;gap:0;padding:10px 3px 0 0}.metric small{min-height:30px;font-size:11px}.metric strong{font-size:18px}.metric em{font-size:10px}.micon{display:none}.stagehead{top:7px;left:8px;right:8px}.glass{font-size:8px;padding:4px 6px}.tvvalues{top:30px;left:8px;font-size:9px}#stagecaption{font-size:11px}.emptynote{bottom:20%}.pair input{min-height:36px}summary span{display:block;margin:4px 0 0 16px}footer{flex-direction:column}.player{padding:6px 10px}.brand strong{font-size:19px}}
/* Native range keeps the finger on the playhead; scrubbing never resumes playback. */
#seek{touch-action:pan-y;cursor:ew-resize;height:30px}.rateholder{display:flex;align-items:center;gap:7px;color:#42615e;font-size:12px}#actionrow #saveBar{padding-top:9px;margin-top:8px;border-top:1px solid #e2e9e3}.transport button{min-height:38px;min-width:38px}#actionrow small{color:#586a68}.scrubhint{font-size:11px;color:#56716d;margin:2px 0 4px}
@media(max-width:540px){.rateholder{font-size:11px!important}.transport button{min-width:36px}.transport>div{gap:3px}.player #seek{height:35px}.transport select{padding:1px 4px}#clock{font-size:11px}}
@media(max-width:790px){.stage.portrait{aspect-ratio:9/13;max-height:65svh}.stage.portrait+.player{position:relative}}
.setup{margin-left:auto;display:grid;gap:3px}.setup .stature{display:flex;align-items:center;gap:8px;color:#294f4d;font-weight:600}.setup input[type=number]{width:62px;margin:0}.setup small{color:#53716c;font-size:11px}@media(max-width:790px){.intro{flex-wrap:wrap}.setup{margin:8px 0 0}.intro .open{align-self:center}}@media(max-width:540px){.setup{margin-top:12px}}
#jumps{margin-top:18px}#jlist{display:flex;flex-wrap:wrap;gap:7px 18px;margin:10px 0}.jrow{display:flex;gap:4px;align-items:center}.jrow input{accent-color:#247667}.setup>.check{font-weight:600;margin-top:4px}
.home-help{margin:-3px 0 14px;color:#355953;font-size:13px}.home-help summary{cursor:pointer;font-weight:650}.home-help p{max-width:72ch;margin:.5em 0 1em;line-height:1.5}
.viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.viewer-heading button{background:transparent;color:#265950;border:1px solid #c5d5cf;border-radius:8px;padding:5px 10px;font-size:12px;min-height:36px;white-space:nowrap}
html.viewer-open,html.viewer-open body{overflow:hidden;overscroll-behavior:none}
.workspace.expanded{position:fixed;inset:0;z-index:9999;box-sizing:border-box;width:100%;height:100vh;height:100dvh;max-width:none;margin:0;background:#09252a;display:flex;flex-direction:column;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
.workspace.expanded .stage,.workspace.expanded .stage.portrait{flex:1 1 0;width:100%;min-height:0;height:auto;max-height:none;border-radius:0;aspect-ratio:auto}
.workspace.expanded .player{flex:0 0 auto;max-height:45%;overflow:auto;overscroll-behavior:contain;border-radius:0}
.workspace.expanded>.status,.workspace.expanded>progress{display:none}
@media(max-height:530px) and (orientation:landscape){.workspace.expanded .player{display:grid;grid-template-columns:minmax(120px,1fr) auto;column-gap:18px;padding:3px 12px}.workspace.expanded .viewer-heading{grid-column:1}.workspace.expanded #seek{grid-column:1;height:24px}.workspace.expanded .transport{grid-column:2;grid-row:1/3;align-self:center}.workspace.expanded #actionrow{grid-column:1/-1}.workspace.expanded #saveBar{margin:0;padding:2px 0;border:0}.workspace.expanded #saveinfo{display:none}}
@media(display-mode:standalone){body>header{padding-top:env(safe-area-inset-top,0px);box-sizing:content-box}body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}main{padding-bottom:env(safe-area-inset-bottom,0px)}}
.video-choices{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.video-choices .open,.video-choices .shoot{background:var(--lime);color:var(--ink);border:1px solid #b3d961;margin:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;text-align:center;min-height:44px;white-space:nowrap}.shoot{border-radius:12px;font:700 15px system-ui;padding:10px 15px}.shoot b{color:#ac433e;font-size:13px}.shoot:disabled{opacity:.5;cursor:default}
@media(max-width:1000px){.intro{flex-wrap:wrap}.video-choices{margin:6px 0}}@media(max-width:540px){.video-choices{margin:14px 0 0}.video-choices .open,.video-choices .shoot{font-size:14px;padding:7px 11px}}
.camera-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;color:white;background:#0a191c}.camera-dialog:not([open]){display:none}.camera-dialog::backdrop{background:#071a1e}.cam-body{height:100%;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;box-sizing:border-box;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));gap:8px}.cam-body>*:not(video){z-index:1}.cam-body video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.cam-top,.cam-actions,#camZoom{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cam-top{justify-content:space-between;text-shadow:0 1px 4px #000}.cam-card{align-self:center;justify-self:center;max-width:465px;max-height:100%;overflow:auto;box-sizing:border-box;padding:16px 20px;border:1px solid #b7d2c98c;border-radius:16px;background:rgba(14,42,43,.80);color:#f4faf6}.cam-card h2{margin:4px 0 9px;color:white}.cam-card small{font-size:10px;letter-spacing:.12em;color:#cef4e5}.cam-card ul{margin:.3em 0;padding-left:1.3em}.cam-card li,.cam-card p{margin:.25em 0;font-size:14px;line-height:1.4}.cam-bottom{grid-row:3;justify-self:center;max-width:100%;border-radius:12px;background:#0c292bd9;padding:6px 10px}.cam-bottom:has(.cam-actions button:not([hidden])){margin-bottom:1px}.cam-actions button,.cam-top button,#camZoom button{color:white;background:#224844;border:1px solid #7b9e90;border-radius:8px;padding:7px 12px;min-height:42px;cursor:pointer;font:650 13px system-ui}.cam-actions #camOK{background:#c4eb76;color:#163a31}.cam-actions #camStop{background:#aa3d3c}.cam-actions button:disabled{opacity:.5;cursor:default}#camZoom button{min-height:32px;padding:4px 9px}#camZoom button[aria-pressed=true]{background:#d1f0b1;color:#163a31}#camFormat{font-size:11px;margin:3px 0;color:#deeee5}#camClock{font-variant-numeric:tabular-nums;color:#ffc7c0}#camProgress{display:block;width:min(300px,70vw)}.camera-dialog[data-mode=processing] .cam-bottom{display:none}
@media(orientation:landscape) and (max-height:540px){.cam-body{gap:4px}.cam-card{padding:8px 14px;max-width:650px}.cam-card h2{font-size:18px;margin:1px 0}.cam-card li,.cam-card p{font-size:12px}.cam-bottom{display:flex;gap:8px;align-items:center}.cam-actions button,.cam-top button{min-height:35px}}
.stage.loaded,.stage.loaded.portrait{aspect-ratio:var(--source-ratio,16/9);max-height:none}
.stage.loaded #vid,.cam-body video{object-fit:cover}
.workspace.expanded{padding:0;overflow:hidden}.workspace.expanded .stage,.workspace.expanded .stage.portrait{position:absolute;inset:0;height:100%;width:100%;max-height:none}
.workspace.expanded .stagehead{top:max(7px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right))}
.workspace.expanded .player{position:absolute;bottom:0;left:0;right:0;max-height:45%;background:rgba(247,251,246,.94);border:0;padding-bottom:max(5px,env(safe-area-inset-bottom));padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}
.workspace.expanded .scrubhint,.workspace.expanded #saveinfo{display:none}.workspace.expanded.quiet .player{visibility:hidden;pointer-events:none}.workspace.expanded .stage{cursor:pointer}.workspace.expanded #overlay{touch-action:manipulation}



