*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#15251f;color:#eee8d8;font:15px/1.6 system-ui,sans-serif}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-underline-offset:4px}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #e9c986;outline-offset:5px}[hidden]{display:none!important}.site-head{max-width:1200px;padding:26px 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff18}.brand{font:32px/1.1 Georgia,serif;text-decoration:none;letter-spacing:-1px}.brand span{display:block;font:10px/2 system-ui,sans-serif;letter-spacing:1.3px;color:#a6b7a4}.back{font-size:13px;text-decoration:none}.back span{margin-left:14px}main{max-width:1120px;margin:auto;padding:65px 40px 25px}.eyebrow,.section-number{font-size:10px;letter-spacing:2px;color:#b7c6aa}.intro{max-width:670px;margin-bottom:50px}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px}h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:19px 0 23px}h1 em{color:#bbcaa9;font-weight:400}h2{font-size:30px;line-height:1.2;margin:20px 0}p{color:#c2cabf}.lede{max-width:540px;font-size:16px}.workspace{display:grid;grid-template-columns:1.12fr 1fr;gap:65px}.card{background:#1d3027;border:1px solid #c6d9be20;border-radius:20px;padding:28px}.card>p{max-width:540px}.preview-wrap{position:relative;aspect-ratio:16/9;background:radial-gradient(ellipse at center,#334b3b,#17281f);border:1px solid #ffffff18;border-radius:12px;overflow:hidden;margin-top:24px;display:grid;place-items:center}.preview-wrap video{position:absolute;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}#preview-note{font-size:13px;color:#a9bba4;z-index:1}.camera-badge{position:absolute;top:12px;left:12px;font-size:9px;letter-spacing:1px;padding:3px 8px;border-radius:30px;background:#14251edd;color:#c7e5af}.status{min-height:24px;color:#dbe6c8;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:10px}.primary,.secondary,.quiet{border-radius:30px;padding:13px 20px;line-height:1.3;border:1px solid transparent}.primary{background:#d9e3bb;color:#233325}.secondary{background:transparent;border-color:#afc9a84a;color:#e3e9d3}.quiet{background:transparent;color:#bbc9af;padding-left:8px;padding-right:8px;text-decoration:underline;text-underline-offset:4px}.note{font-size:12px;color:#93a98f;line-height:1.7}.method{padding-top:26px}.method ol{list-style:none;padding:0;counter-reset:steps}.method li{position:relative;padding:20px 0 20px 48px;border-bottom:1px solid #c2d0b925;counter-increment:steps}.method li:before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:22px;font:13px Georgia,serif;color:#9aaf91}.method li strong{display:block;font-weight:500;color:#e9ebdb;margin-bottom:7px}.method li span{font-size:13px;color:#aabcaa}.aside{font-family:Georgia,serif;font-size:19px;font-style:italic;margin-top:30px}details{font-size:12px;color:#aabb9e;margin-top:30px}summary{cursor:pointer;color:#d1dbc3}footer{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#94a98c;margin-top:60px;padding-top:22px;border-top:1px solid #dcebc020}.results{margin-top:45px;scroll-margin-top:20px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:30px 0;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18;padding:22px 0}.metrics span,.metrics small{display:block;font-size:11px;color:#abbea0}.metrics strong{font:32px/1.8 Georgia,serif}.report-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:35px}figure{margin:0}#plot{background:#14241c;display:block;width:100%;height:300px;border:1px solid #ffffff1c;border-radius:10px}figcaption{font-size:10px;color:#92a88c;padding:12px 0;line-height:2}.legend-target{color:#eee5ca;margin-right:12px}.legend-gaze{color:#c3d9a0}.vertical{flex-direction:column;align-items:flex-start}#stage{position:fixed;inset:0;z-index:50;background:#14251e;overflow:hidden;touch-action:none}.stage-exit{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));right:18px;z-index:5;font-size:12px;padding:9px 14px;border:1px solid #ffffff35;color:#c9d4bf;background:#1a2f25;border-radius:30px}.instructions{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(470px,calc(100% - 48px));max-height:calc(100% - 120px);overflow:auto;touch-action:pan-y}.instructions h2{font-size:36px}.instructions p{font-size:15px}.instructions .note{font-size:12px}.instructions .primary{margin-top:18px}#stage-hud{position:absolute;top:max(16px,env(safe-area-inset-top));left:20px;right:20px;text-align:center;pointer-events:none;font-size:12px;color:#b9cbaa}#stage-hud p{font-size:11px;margin:2px 0}#target,#test-target{position:absolute;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:#d6e5b110;border:1px solid #d4e8a580;display:grid;place-items:center}#target{padding:0;color:#e7ecd9;opacity:1}.target-core,#test-target span{width:11px;height:11px;background:#e2e9bc;border-radius:50%;box-shadow:0 0 28px #e2e9bc60}#test-target{width:34px;height:34px;pointer-events:none}#test-target span{width:8px;height:8px}#gaze-dot{position:absolute;width:23px;height:23px;border-radius:50%;border:1px solid #ecd895;box-shadow:0 0 24px #e6b88145;background:#e6b88140;transform:translate(-50%,-50%);pointer-events:none}#gaze-dot.outside{border-radius:4px;background:#e9ae6540}#explore-hud{position:absolute;top:16px;left:20px;right:20px;text-align:center;font-size:12px;z-index:3}#explore-hud p{margin:0 0 10px}#explore-hud label{display:block}#explore-hud small{display:block;color:#8fa183;font-size:10px;margin:6px 0 12px}#explore-hud .secondary{font-size:11px;padding:8px 15px}#explore-grid span{position:absolute;width:8px;height:8px;border:1px solid #adc09460;border-radius:50%}#explore-grid span:nth-child(1){left:12%;top:28%}#explore-grid span:nth-child(2){left:88%;top:28%}#explore-grid span:nth-child(3){left:50%;top:50%}#explore-grid span:nth-child(4){left:12%;top:82%}#explore-grid span:nth-child(5){left:88%;top:82%}@media(max-width:700px){.site-head{padding:20px 23px}.brand{font-size:28px}.brand span{display:none}.back{font-size:11px}main{padding:38px 23px 23px}.intro{margin-bottom:32px}.workspace{grid-template-columns:1fr;gap:20px}.card{padding:23px 20px}.method{padding:20px 4px}.metrics{grid-template-columns:1fr 1fr;gap:18px 12px}.metrics strong{font-size:28px}.report-layout{grid-template-columns:1fr;gap:18px}#plot{height:280px}.actions .primary{width:100%}footer{display:block;font-size:11px}footer a{display:block;margin-top:10px}.instructions h2{font-size:31px}}

#fixation-controls{width:min(260px,100%);margin:9px auto 0}#fixation-controls label{display:flex;justify-content:space-between;font-size:11px;color:#c5d3b4}#fixation-strength{display:block;width:100%;accent-color:#d9e3bb;margin:4px 0;height:26px;touch-action:pan-x}.range-ends{display:flex;justify-content:space-between;font-size:10px;color:#a5b897}#gaze-dot.stabilized{transition:none}#explore-hud{left:15%;right:15%}#explore-hud small{line-height:1.4}@media(prefers-reduced-motion:reduce){#gaze-dot.stabilized{transition:none}}

#target{pointer-events:none;border:0;background:conic-gradient(#d9e8b6 var(--fill,0%),#9db08c40 0);width:48px;height:48px}#target::before{content:'';position:absolute;inset:3px;border-radius:50%;background:#14251e}.target-core{position:relative;width:9px;height:9px}.target-check{display:none;position:relative;font-size:23px;line-height:1;color:#fff1e9}#target.complete{background:#fa766a;box-shadow:0 0 28px #ed5e4840}#target.complete::before{background:#a62f2a}#target.complete .target-core{display:none}#target.complete .target-check{display:block}#target.paused{background:#ffffff25}#target.paused .target-core{box-shadow:none;background:#9ead95}#explore-hud .secondary{margin:3px 0}

#export-live{left:18px;right:auto}

.profile-panel{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #a9b59b33}.profile-panel summary{cursor:pointer}.profile-panel input[type=file]{display:block;width:100%;max-width:100%;margin:.75rem 0;color:inherit}.profile-panel p{overflow-wrap:anywhere}

.paired-results { margin: 1.5rem 0 2rem; }
.paired-results table { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 1rem 0 1.5rem; }
.paired-results caption { text-align: left; color: var(--muted, #b5bda9); margin-bottom: 1rem; line-height: 1.6; }
.paired-results th, .paired-results td { text-align: left; padding: .7rem .3rem; border-bottom: 1px solid #b7ca9233; overflow-wrap: anywhere; }
.paired-results thead th { font-weight: 400; }
.paired-results tbody th { font-weight: 600; }

#video-controls{margin:12px auto;max-width:280px}#video-controls summary{padding:5px}#video-controls[open]{padding-bottom:6px}

#response-control{margin:12px auto;max-width:270px}#response-control label{margin-bottom:5px;color:#d9e3bb}#response-preset{width:100%;font:inherit;color:#eee8d8;background:#1d3027;border:1px solid #afc9a84a;border-radius:10px;padding:10px 13px;touch-action:manipulation}#response-preset:focus-visible{outline:2px solid #e9c986;outline-offset:3px}#response-control small{margin-bottom:6px}
.posture-guide{max-width:340px;margin:14px auto;padding:12px 16px;border:1px solid #b8c5a84a;border-radius:14px;background:#1d3027;text-align:left;font-size:12px;line-height:1.4}
.posture-guide[data-state=close]{border-color:#cee4a0}.posture-guide[data-state=away]{border-color:#d7b875}
.posture-meters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}.posture-meters label{font-size:11px}.posture-meters meter{display:block;width:100%;height:16px;accent-color:#cee4a0}
#posture-guide p{font-size:11px;line-height:1.5;margin:8px 0}#posture-guide small{display:block;color:#aabb9e;font-size:10px;margin:0}
.instructions .posture-guide{margin:12px 0;max-width:none}
@media(max-width:700px){#explore-hud:has(.posture-guide){left:16px;right:16px;max-height:calc(100% - 280px);overflow:auto;touch-action:pan-y;padding-bottom:8px}#explore-hud>.posture-guide{position:fixed;bottom:68px;left:16px;right:16px;margin:0 auto}.posture-guide{padding:10px 12px}}
