@font-face{font-family:'Google Sans Flex';font-style:normal;font-weight:100 1000;font-display:swap;src:url('assets/fonts/google-sans-flex-latin.woff2') format('woff2')}
:root{--text:#1a1a1a;--muted:#777;--border:#e0e0e0;--paper:#f7f8fa;--sans:'Google Sans Flex',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;--mono:Consolas,'Courier New',monospace}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:72px;-webkit-font-smoothing:antialiased}body{margin:0;background:#fff;color:var(--text);font:16px/1.65 var(--sans);font-optical-sizing:auto}h1,h2,h3,p,figure{margin:0}a{color:inherit;text-decoration:underline;text-decoration-color:#c9c9c9;text-underline-offset:3px}a:hover{text-decoration-color:#222}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}img,video{max-width:100%;display:block}svg{display:block}p{margin:0 0 16px}p:last-child{margin-bottom:0}strong{font-weight:650}[hidden]{display:none!important}:focus-visible{outline:2px solid #555;outline-offset:4px}.container{max-width:1100px;margin:0 auto;padding:0 24px}.container-medium{max-width:900px}.section{padding:40px 0}.section h2{font-size:27.6px;line-height:1.6;font-weight:600;letter-spacing:.01em;text-align:center;margin:0 0 20px}.section h3{font-size:21.6px;line-height:1.6;font-weight:600;letter-spacing:.01em;text-align:center;margin:40px 0 16px}.section h2+h3{margin-top:24px}.centered{text-align:center}.muted{color:var(--muted)}
.hero{background:var(--paper);border-bottom:1px solid var(--border);padding:44px 24px 32px;text-align:center}.paper-title{font-size:36.8px;line-height:1.25;font-weight:700;letter-spacing:-.02em;margin:0 0 22px}.paper-title .subtitle{font-size:.85em;font-weight:400;opacity:.85}.author-list{display:flex;justify-content:center;flex-wrap:wrap;font-size:16.8px;line-height:1.6;gap:8px 18px;margin:0 0 12px;color:#555}.affiliations{font-size:14.4px;color:#666;margin-bottom:12px}.link-buttons{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:28px}.resource-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 16px;border:1px solid #222;border-radius:4px;color:#fff;background:#222;font-size:16px;line-height:1.5;font-weight:600;text-decoration:none}.resource-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.resource-button[href]:hover{background:#000;border-color:#000}.resource-button[aria-disabled=true]{cursor:default}.release-note{margin-top:14px;font-size:14px;line-height:1.6;color:#777}
.video-section{padding:24px 0 0}.video-label{display:flex;align-items:center;gap:12px;text-align:center;text-transform:uppercase;letter-spacing:.08em;color:#666;font-size:14px;font-weight:500;margin-bottom:12px;cursor:pointer;list-style:none}.video-label::-webkit-details-marker{display:none}.video-label::before,.video-label::after{content:'';height:1px;background:#ccc;flex:1}.media-video{width:100%;border:1px solid var(--border);border-radius:4px;background:#fff}.overview-video{aspect-ratio:16/9;object-fit:contain}.video-controls{display:flex;align-items:center;gap:12px;padding:6px 0 0;color:#777}.video-controls label{font-size:14px;white-space:nowrap}.media-seek{min-width:40px;flex:1;width:100%;height:20px;accent-color:#555;cursor:pointer}.media-seek:disabled{opacity:.4;cursor:progress}.media-time{min-width:104px;font:13px/1.5 var(--mono);white-space:nowrap;text-align:right}.video-links{display:flex;justify-content:center;gap:20px;font-size:14px;color:#777;margin-top:7px}.video-links a{text-decoration-color:#ccc}.figure-full{margin:20px 0;text-align:center}.figure-full img{width:100%;height:auto;border-radius:4px}.figure-full figcaption,.featured-example figcaption{font-size:15px;line-height:1.6;color:#777;text-align:center;margin:8px auto;max-width:800px}.real-world-figure img{max-width:660px;margin:auto}.table-wrapper{max-width:800px;overflow-x:auto;margin:24px auto}.results-table,table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.6}caption{caption-side:bottom;text-align:center;color:#777;font-size:14px;margin-top:8px;padding:8px 0}th,td{padding:8px 12px;border-bottom:1px solid var(--border);text-align:center;white-space:nowrap}thead th{font-size:13.5px;line-height:1.45;font-weight:600;text-transform:uppercase;letter-spacing:.02em;background:#fafafa}tbody th{font-weight:400;text-align:left}tr>:first-child{text-align:left}.highlight-row{background:#f0f0f0}.highlight-row th,.highlight-row td,tfoot th,tfoot td{font-weight:650}.table-scroll{overflow-x:auto;margin:16px 0}.table-scroll caption{caption-side:top}.numerical-results{margin:20px 0;color:#555;font-size:14px}.numerical-results summary{cursor:pointer;text-align:center}.numerical-results td.best{font-weight:650;background:#f3f3f3}.featured-example{max-width:540px;margin:24px auto 36px}
.contents{position:fixed;top:58%;left:max(16px,calc(50% - 674px));transform:translateY(-50%);width:clamp(172px,calc(50vw - 496px),224px);max-height:74vh;overflow-y:auto;z-index:10;padding:10px 0;background:rgba(255,255,255,.97);border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 3px 16px #0000000a;font-size:14px;line-height:1.4}.contents-title{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:650;color:#999;padding:3px 15px 11px;margin-bottom:6px;border-bottom:1px solid #eee}.contents a{display:block;padding:6px 14px;border-left:2px solid transparent;color:#888;text-decoration:none}.contents a.sub-item{padding-left:23px;font-size:13px}.contents a:hover{color:#222;background:#fafafa}.contents a.active{color:#222;border-left-color:#333;background:#f1f1f1;font-weight:600}.sticky-header{position:fixed;top:0;left:0;right:0;z-index:20;background:var(--paper);border-bottom:1px solid var(--border);transform:translateY(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s}.sticky-header.visible{transform:translateY(0);visibility:visible}.sticky-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 24px;min-height:46px}.back-top,.sticky-demo{white-space:nowrap;font-size:14px;color:#666}.sticky-title{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#555}.sticky-title strong{color:#222}.footer{border-top:1px solid var(--border);padding:24px;text-align:center;color:#999;font-size:14px;line-height:1.6}
.filter-bar{display:flex;justify-content:center;gap:4px;border-bottom:1px solid var(--border);margin:20px 0}.filter{background:none;border:0;border-bottom:2px solid transparent;padding:10px 14px;margin-bottom:-1px;color:#888;font-size:14px}.filter.active{color:#222;border-bottom-color:#222;font-weight:600}.filter:hover{color:#222}.case-picker{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:20px 0}.select-wrap{min-width:0;flex:1}.select-wrap label{display:block;color:#777;font-size:14px;margin-bottom:6px}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23666' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center;border:1px solid #d4d4d4;border-radius:4px;padding:9px 32px 9px 10px;color:#333;font-size:14px;width:100%;min-height:40px}.picker-controls{display:flex;align-items:center;gap:10px}.square-button,.button{background:#fff;border:1px solid #d9d9d9;border-radius:4px;padding:8px 11px;font-size:14px;line-height:1.6;min-height:40px;color:#444}.square-button:hover,.button:hover{background:#f5f5f5}.mono{font:12px/1.5 var(--mono);color:#777}.explorer{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.9fr);border:1px solid #e0e0e0;border-radius:4px;overflow:hidden;background:#fff}.player-column{min-width:0;padding:16px;background:#fafafa}.player-title{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;margin-bottom:10px}.player-column>video{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:3px}.scrub-row{display:flex;align-items:center;gap:10px;margin-top:10px}.scrub-row input{min-width:0;flex:1;accent-color:#555}.playback-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#777;margin-top:7px}.playback-row label{display:flex;align-items:center;gap:7px}.playback-row strong{font-weight:500;color:#444}.playback-row select{min-height:30px;padding:4px 25px 4px 7px;font-size:12px;width:75px;background-position:right 6px center}.timeline-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;color:#888;margin:18px 0 7px}.timeline-label span{font-size:11px}.action-timeline{position:relative;height:28px;background:#eaeaea;border-radius:3px}.action-timeline button{position:absolute;top:0;height:100%;min-width:2px;background:#ccc;color:#555;border:1px solid #fafafa;border-radius:2px;font-size:10px;padding:0;overflow:hidden;white-space:nowrap}.action-timeline button:nth-child(even){background:#ddd}.action-timeline button.active{background:#555;color:#fff}.stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:20px}.stage-button{min-width:0;background:#fff;border:1px solid #e0e0e0;border-radius:3px;overflow:hidden;padding:0 0 7px;text-align:left}.stage-button img{width:100%;height:auto;aspect-ratio:4/3}.stage-button span{display:block;font-size:12px;line-height:1.4;padding:6px 6px 0}.stage-button small{display:block;font-size:11px;line-height:1.4;color:#888;padding:3px 6px 0}.annotation-panel{padding:20px;min-width:0}.annotation-panel .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#888;margin-bottom:12px}.annotation-panel h3{font-size:20px;line-height:1.3;letter-spacing:0;text-align:left;margin:0 0 12px}.instruction{font-size:14px;line-height:1.6;color:#777;margin-bottom:18px}.annotation-field{border-top:1px solid #eee;padding:11px 0}.field-label{display:block;font-size:12px;color:#888;margin-bottom:5px}.tag{display:inline-block;background:#f0f0f0;color:#444;border-radius:3px;font-size:13px;line-height:1.5;padding:3px 7px;margin:2px 3px 2px 0;font-weight:500}.code-label{display:block;font:11px/1.5 var(--mono);color:#888;margin-top:2px}.terminal-row{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #eee;padding:13px 0;font-size:12px;color:#777}.terminal-row strong{color:#333;font-size:17px}.event-meta{font-size:11px;line-height:1.7;margin-bottom:14px}.annotation-note{font-size:12px;line-height:1.6;color:#888;margin:15px 0 12px}.text-link{border:0;background:none;padding:0;color:#666;text-decoration:underline;text-decoration-color:#ccc;text-underline-offset:3px;font-size:14px;cursor:pointer}.json-details{border-bottom:1px solid var(--border);padding:14px 0;margin-top:12px;font-size:14px;color:#666}.json-details summary{cursor:pointer}pre{font:13px/1.65 var(--mono);background:#f6f6f6;color:#444;border:1px solid #e5e5e5;border-radius:4px;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:440px}.figure-note{font-size:13px;line-height:1.6;color:#888;margin-top:14px}.demo-error{background:#f6eeee;padding:16px;margin-top:16px;font-size:14px;color:#744}.bibtex-block{position:relative;margin-top:16px}.skip-link{position:fixed;top:8px;left:8px;z-index:100;background:#fff;padding:9px;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1279px){.contents{display:none}}@media(max-width:767px){.container{padding:0 20px}.hero{padding:32px 16px 26px}.hero .container{padding:0}.paper-title{font-size:30px;line-height:1.25}.paper-title .subtitle{font-size:.78em}.author-list{font-size:15px}.link-buttons{max-width:340px;margin:22px auto 0;gap:8px}.resource-button{font-size:15px;min-height:40px;padding:7px 12px;width:calc(50% - 4px)}.release-note{font-size:13px;max-width:340px;margin:12px auto 0}.section{padding:30px 0}.section h2{font-size:24px;margin-bottom:16px}.section h3{font-size:20px;margin-top:32px}.video-section{padding-top:22px;padding-bottom:0}.figure-full figcaption,.featured-example figcaption{font-size:14px}.sticky-inner{padding:9px 16px;gap:14px}.sticky-title{font-size:13px}.sticky-title{max-width:calc(100vw - 130px)}.sticky-demo{display:none}.back-top{font-size:13px}.video-controls{gap:7px}.video-controls label{font-size:12px}.media-time{font-size:12px;min-width:90px}.video-links{font-size:13px;gap:16px}.filter-bar{flex-wrap:wrap;gap:0}.filter{font-size:13px;padding:9px 10px}.case-picker{display:block}.picker-controls{justify-content:space-between;margin-top:14px}.explorer{grid-template-columns:1fr}.player-column{padding:13px}.annotation-panel{padding:20px}.annotation-panel h3{font-size:21px}.annotation-note{font-size:13px}.results-table{min-width:640px;font-size:14px}th,td{padding:8px 10px}.table-scroll table{min-width:620px}.featured-example{max-width:440px}.footer{font-size:13px;padding:22px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.author-list > span, .author-notes > span { white-space: nowrap; }
.affiliations, .author-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; }
.hero sup { font-size: .7em; line-height: 0; }
.author-notes { margin: 0; color: #666; font-size: 13px; }
/* Motion controls follow the same quiet academic page style. */
.method-image { position:relative; }
.method-image img { display:block; width:100%; height:auto; }
.method-overlay { position:absolute; inset:0; pointer-events:none; }
.method-highlight { position:absolute; border:2px solid #222; border-radius:5px; box-shadow:0 0 0 2px #fff; }
.method-controls { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin:18px 0 10px; }
.method-controls button { font:inherit; font-size:.875rem; padding:7px 10px; border:1px solid #bbb; border-radius:4px; color:#333; background:#fff; cursor:pointer; }
.method-controls button[aria-pressed="true"] { background:#222; color:#fff; border-color:#222; }
.method-description { min-height:3em; margin:10px auto 0; text-align:center; color:#555; font-size:.95rem; line-height:1.5; }
.progress-replay { margin:30px 0 38px; }
.progress-replay h4 { margin:0 0 12px; text-align:center; font-size:1.1rem; font-weight:600; }
.progress-replay video { display:block; width:100%; height:auto; background:#fff; border:1px solid #e5e5e5; border-radius:3px; }
.progress-replay figcaption { margin-top:10px; }
.cup-replay { max-width:600px; margin-inline:auto; }
.cup-replay video { aspect-ratio:4/3; }
.replay-links { display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin:12px 0; font-size:.9rem; }
@media (prefers-reduced-motion:reduce) { .method-highlight { transition:none; } }

.structured-heading{font-size:1.05rem;font-weight:600;text-align:center;margin:28px 0 12px}
.structured-table-wrapper{margin:12px auto 6px}
.structured-metrics-note{max-width:800px;margin:6px auto 24px;color:#777;font-size:14px;line-height:1.6}

/* Recorded PiPER demonstrations. */
.real-world-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0 8px}
.real-world-video{min-width:0;margin:0}
.real-world-video h4{margin:0 0 12px;text-align:center;font-size:18px;font-weight:600}
.real-world-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#f7f7f7;border:1px solid #e0e0e0;border-radius:4px}
.real-world-video figcaption{margin-top:10px;text-align:center;font-size:13px;color:#777}
@media(max-width:700px){.real-world-videos{grid-template-columns:1fr;gap:26px}}
