:root {
  color-scheme: light;
  /* Shared with the ParS3R project page. */
  --ink: #272b32;
  --muted: #626b77;
  --accent: #2465a7;
  --accent-dark: #174d84;
  --line: #e1e6eb;
  --soft: #f6f8fa;
  --accent-soft: #f1f5fa;
  --accent-hover: #e5eef8;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-size: 16px;
  font-synthesis: none;
  scroll-behavior: smooth;
}
*{box-sizing:border-box}body{margin:0;background:#fff}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-dark);text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid var(--accent);outline-offset:4px}svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.container{width:min(1140px,calc(100% - 64px));margin-inline:auto}.text-container{width:min(850px,calc(100% - 64px));margin-inline:auto}.project-header{text-align:center;padding-top:55px}.paper-origin{display:inline-flex;align-items:center;gap:10px;font-size:.88rem;color:var(--accent)}.paper-origin strong{font-weight:600;color:var(--accent)}h1{font-size:3.8rem;font-weight:700;letter-spacing:-2.8px;margin:21px 0 10px;line-height:1.05}.project-title{font-size:2rem;line-height:1.27;letter-spacing:-.65px;font-weight:400;margin:0 auto 24px}.authors{display:flex;justify-content:center;gap:32px;font-size:1.1rem;margin:0 0 9px}.authors sup{font-size:.72rem;padding-left:2px}.author-note{font-size:.8rem;color:var(--muted);margin:0}.resource-links{display:flex;justify-content:center;gap:36px;margin:29px 0 40px}.resource{display:flex;align-items:center;text-align:left;gap:11px;color:var(--accent);padding:7px 0;background:none;border:0;font-size:.94rem;line-height:1.35}.resource svg{width:26px;height:29px}.resource-sub{display:block;font-size:.75rem;margin-top:3px;color:var(--muted);font-weight:400}.resource.unavailable{color:#747b85}.resource:hover:not(:disabled){color:var(--accent-dark);text-decoration:none}.resource:hover:not(:disabled) .resource-sub{color:var(--accent-dark)}.section-intro{text-align:center;margin:0 0 22px}h2{font-size:1.65rem;line-height:1.3;letter-spacing:-.45px;font-weight:500;margin:0 0 18px}h3{font-size:1.08rem;font-weight:600;margin:0}.section-intro h2{font-size:1.3rem;margin-bottom:7px}.section-intro p,.section-description{font-size:.95rem;color:var(--muted);margin:0;line-height:1.6}.scene-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.scene-tab{display:flex;align-items:center;text-align:left;gap:10px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:6px;min-width:0;transition:border-color .18s,background .18s}.scene-tab.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--accent);color:#fff}.scene-tab:hover{border-color:var(--accent)}.scene-tab img{width:72px;height:50px;object-fit:cover;border-radius:3px;background:var(--soft)}.scene-tab strong{display:block;font-size:.87rem;font-weight:600}.scene-tab small{display:block;font-size:.75rem;color:var(--muted);margin-top:5px;white-space:nowrap}.explorer{display:grid;grid-template-columns:minmax(0,1fr) 282px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--soft)}.viewer-main{min-width:0;position:relative;display:flex;flex-direction:column}.viewer-topbar{position:absolute;left:15px;right:15px;top:14px;display:flex;align-items:center;justify-content:space-between;z-index:2;pointer-events:none}.viewer-topbar>*{pointer-events:auto}.mode-switch{display:flex;background:#fff;border:1px solid var(--line);padding:3px;border-radius:6px;box-shadow:0 2px 5px #272b3204}.mode-switch button{border:0;background:none;font-size:.8rem;padding:6px 13px;border-radius:3px;color:var(--muted)}.mode-switch button.active{background:var(--accent);color:#fff}.viewer-actions{display:flex;gap:5px}.icon-button{border:1px solid var(--line);background:#fff;width:32px;height:32px;border-radius:5px;display:grid;place-items:center}.icon-button svg{width:17px;height:17px}.icon-button[aria-pressed=true]{background:var(--accent);color:#fff}.viewport{position:relative;min-height:480px;height:480px;overflow:hidden;background:var(--soft)}.viewport canvas{display:block;width:100%;height:100%;position:relative;touch-action:none;cursor:grab}.viewport canvas:active{cursor:grabbing}.viewer-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.viewport-label{position:absolute;left:21px;bottom:41px;pointer-events:none}.viewport-label span{display:block;font-size:.65rem;letter-spacing:1.4px;color:var(--muted);margin-bottom:5px}.viewport-label strong{font-size:.82rem;font-weight:500;color:#505862}.view-hint{position:absolute;bottom:15px;left:0;right:0;text-align:center;font-size:.75rem;color:var(--muted);pointer-events:none}.view-hint span{padding:0 6px;color:#8b929b}.loading{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:12px;background:#f6f8fae8;font-size:.9rem;color:var(--muted);z-index:3}.loading[hidden]{display:none}.loading.error{padding:35px;text-align:center;flex-direction:column;background:#f6f8fabf;line-height:1.6}.loading-ring{height:20px;width:20px;border:2px solid #cfd6df;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.viewer-controls{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:17px 22px 10px;border-top:1px solid var(--line);background:#fff}.range-control{min-width:0}.range-control>span:first-child{display:flex;justify-content:space-between;align-items:center;font-size:.81rem;margin-bottom:7px}.range-control output{color:var(--accent);font-variant-numeric:tabular-nums}.range-control input{width:100%;accent-color:var(--accent);cursor:pointer;margin:0;height:18px}.range-ends{display:flex;justify-content:space-between;font-size:.68rem;color:var(--muted);margin-top:2px}.viewer-options{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:7px 22px 15px;background:#fff;font-size:.75rem;color:#505862}.viewer-options label{display:flex;align-items:center;gap:5px}.viewer-options input{accent-color:var(--accent);margin:0}.viewer-options button{display:flex;align-items:center;gap:5px;margin-left:auto;background:none;border:0;padding:3px 0;color:var(--accent);font-size:.75rem}.viewer-options svg{width:15px;height:15px}.hierarchy-panel{background:#fff;border-left:1px solid var(--line);min-width:0;display:flex;flex-direction:column;height:618px}.hierarchy-heading{padding:20px 17px 13px}.hierarchy-heading h3{font-size:.95rem;margin-bottom:7px}.hierarchy-heading>span{font-size:.75rem;color:var(--muted)}.search-box{margin:0 14px}.search-box input{width:100%;border:1px solid var(--line);border-radius:5px;padding:8px 10px;font-size:.76rem;color:var(--ink);background:#fff}.tree-toolbar{display:flex;gap:12px;padding:11px 16px}.tree-toolbar button{border:0;background:none;padding:0;font-size:.67rem;color:var(--muted)}.tree-toolbar button:hover{color:var(--accent)}.tree-toolbar button:last-child{margin-left:auto}.hierarchy-tree{overflow:auto;flex:1;padding:0 8px 12px;scrollbar-width:thin;min-height:150px}.tree-list{list-style:none;margin:0;padding:0}.tree-row{display:flex;align-items:center;min-height:30px;border-radius:4px;margin:1px 0;position:relative}.tree-row:hover{background:var(--soft)}.tree-row.selected{background:var(--accent-hover);color:var(--accent-dark)}.tree-toggle{height:28px;width:23px;flex:0 0 23px;border:0;background:none;padding:4px;color:#8b929b;font-size:.8rem}.tree-toggle .chevron{display:inline-block;transform:rotate(0deg);transition:transform .15s}.tree-toggle[aria-expanded=true] .chevron{transform:rotate(90deg)}.tree-toggle:disabled{visibility:hidden}.node-button{display:flex;align-items:center;gap:7px;border:0;background:none;padding:6px 3px;font-size:.76rem;min-width:0;width:100%;text-align:left}.node-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-dot{width:7px;height:7px;border-radius:2px;flex:0 0 7px}.node-count{font-size:.65rem;color:#8b929b;margin-left:auto;padding-right:7px}.tree-children{border-left:1px solid #edf0f3;margin-left:11px;padding-left:8px}.tree-empty{padding:15px 8px;font-size:.8rem;color:var(--muted);line-height:1.5}.selection-detail{border-top:1px solid var(--line);padding:13px 17px 12px;background:var(--soft);min-height:93px}.detail-label{font-size:.6rem;letter-spacing:1.2px;color:var(--muted)}#selection-path{font-size:.77rem;line-height:1.5;margin-top:6px;max-height:52px;overflow:auto}#selection-meta{color:var(--muted);font-size:.68rem;line-height:1.5;margin:5px 0 0}.selected-tooltip{position:absolute;pointer-events:none;padding:6px 10px;max-width:230px;background:#272b32e8;color:#fff;font-size:.72rem;border-radius:5px;z-index:5}.explorer-caption{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:15px}.explorer-caption p{font-size:.85rem;color:#505862;line-height:1.6;margin:0}.explorer-caption strong{font-weight:600;color:var(--ink)}.text-button{color:var(--accent);font-size:.8rem;white-space:nowrap;border:0;background:var(--accent-soft);padding:8px 13px;border-radius:5px}.text-button:hover{background:var(--accent-hover)}.preview-note{font-size:.75rem;line-height:1.65;color:var(--muted);margin:9px 0 0}.text-container>h2,.tools-section>h2{text-align:center}.overview{margin-top:68px}.text-container>p{font-size:1rem;line-height:1.8;text-align:justify;margin:0 0 18px}.key-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:33px 0 8px}.key-stats>div{text-align:center;border-right:1px solid var(--line)}.key-stats>div:last-child{border:0}.key-stats strong{display:block;font-size:2.4rem;font-weight:400;letter-spacing:-1px;color:var(--ink);line-height:1.2}.key-stats span{font-size:.87rem;color:var(--muted);display:block;margin-top:8px}.text-container>.stats-source{font-size:.74rem;color:var(--muted);text-align:center;margin:21px 0 0}.dataset-section,.protocol-section,.paper-section{margin-top:62px}.table-wrap{overflow-x:auto;margin:25px 0 13px}table{border-collapse:collapse;width:100%;font-size:.87rem;text-align:left}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.65px;font-weight:500;color:var(--muted);padding:12px 14px;border-block:1px solid var(--line);white-space:nowrap}td{padding:17px 14px;border-bottom:1px solid var(--line);line-height:1.5}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}td strong{font-weight:500}td:nth-child(2){text-align:center;font-variant-numeric:tabular-nums}.text-container>.small-note{font-size:.78rem;line-height:1.65;text-align:left;color:var(--muted)}.tools-section{margin-top:65px}.section-description{text-align:center;margin-top:-9px;margin-bottom:25px}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.tool-grid img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:6px;display:block;background:var(--soft)}.tool-grid h3{margin:20px 0 10px}.tool-grid p{font-size:.91rem;color:#505862;line-height:1.75;margin:0 0 29px}.release-row{border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}.release-row strong{font-size:.95rem;font-weight:500}.release-row p{font-size:.8rem;margin:7px 0 0;color:var(--muted)}.release-button{background:var(--soft);border:1px solid var(--line);padding:9px 18px;border-radius:5px;color:var(--muted);font-size:.8rem}.paper-section{margin-top:49px}footer.text-container{margin-top:47px;padding:23px 0 32px;border-top:1px solid var(--line)}footer.text-container p{font-size:.75rem;text-align:center;line-height:1.7;color:var(--muted);margin:0 0 8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:12px;background:#fff;padding:12px;z-index:10}.skip-link:focus{top:12px}.notice{padding:18px;background:var(--soft);line-height:1.6}.explorer:fullscreen{width:100%;height:100%;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) 320px}.explorer:fullscreen .hierarchy-panel{height:100vh}.explorer:fullscreen .viewer-main{height:100vh}.explorer:fullscreen .viewport{flex:1;height:auto}
@media(min-width:1440px){.project-header{padding-top:63px}.container{width:min(1170px,calc(100% - 80px))}.viewport{height:510px}.hierarchy-panel{height:648px}}
@media(max-width:1000px){.container,.text-container{width:calc(100% - 40px)}.scene-tab img{width:54px;height:46px}.scene-tab strong{font-size:.8rem}.scene-tab small{font-size:.65rem}.explorer{grid-template-columns:minmax(0,1fr) 245px}.resource-links{gap:25px}.hierarchy-heading{padding:18px 14px}.viewport{height:440px;min-height:440px}.hierarchy-panel{height:578px}.viewer-controls{gap:22px;padding-inline:16px}.viewer-options{padding-inline:16px;gap:10px}.viewer-options button{font-size:.67rem}.tree-toolbar{gap:9px;padding-inline:13px}.tree-toolbar button{font-size:.63rem}}
@media(max-width:720px){.project-header{padding-top:32px}h1{font-size:3.25rem;margin-top:19px}.project-title{font-size:1.6rem;line-height:1.3}.authors{font-size:.96rem;gap:23px}.author-note{font-size:.71rem}.resource-links{gap:22px;margin:24px 0 35px}.resource{flex-direction:column;text-align:center;font-size:.78rem;gap:7px}.resource svg{width:23px;height:23px}.resource-sub{font-size:.62rem;max-width:95px}.paper-origin{font-size:.76rem}.section-intro h2{font-size:1.13rem}.section-intro p{font-size:.83rem}.scene-tabs{grid-template-columns:repeat(4,1fr);gap:6px}.scene-tab{flex-direction:column;padding:5px 3px 8px;gap:5px;text-align:center}.scene-tab img{width:100%;height:55px}.scene-tab strong{font-size:.72rem}.scene-tab small{font-size:.59rem;white-space:normal;line-height:1.4;margin-top:3px}.explorer{display:flex;flex-direction:column}.viewport{height:360px;min-height:360px}.hierarchy-panel{height:360px;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:55px 37px 28px minmax(100px,1fr)}.hierarchy-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:12px 15px}.hierarchy-heading h3{margin:0}.search-box{grid-column:1/-1}.tree-toolbar{grid-column:1/-1}.hierarchy-tree{grid-column:1;grid-row:4;padding-top:4px}.selection-detail{grid-column:2;grid-row:4;border-top:0;border-left:1px solid var(--line);margin-bottom:0;padding:15px;min-height:0}.selection-detail #selection-path{max-height:120px}.tree-row{min-height:31px}.node-button{font-size:.73rem}.viewer-options{font-size:.73rem;padding-bottom:13px}.viewer-options button{font-size:.71rem}.viewer-controls{gap:24px;padding-top:15px}.explorer-caption{align-items:flex-start}.explorer-caption p{font-size:.77rem}.preview-note{font-size:.68rem}.overview{margin-top:45px}h2{font-size:1.43rem}.text-container>p{font-size:.94rem;line-height:1.78;text-align:left}.key-stats strong{font-size:2.15rem}.key-stats span{font-size:.76rem}.dataset-section,.protocol-section,.tools-section{margin-top:45px}table{font-size:.76rem}td,th{padding:12px 9px}th{font-size:.64rem}.tool-grid{gap:23px;grid-template-columns:1fr}.tool-grid h3{margin-top:14px}.tool-grid p{margin-bottom:5px}.release-row:first-of-type{margin-top:20px}.release-row{padding-block:17px}.release-row p{font-size:.74rem}.release-button{font-size:.73rem;white-space:nowrap;padding:9px 12px}.paper-section{margin-top:35px}.explorer:fullscreen{display:flex}.explorer:fullscreen .viewer-main{height:65vh}.explorer:fullscreen .viewport{min-height:150px}.explorer:fullscreen .hierarchy-panel{height:35vh;min-height:200px}.explorer:fullscreen .view-hint{font-size:.65rem}}
@media(max-width:400px){.container,.text-container{width:calc(100% - 28px)}.resource-links{gap:15px}.project-title{font-size:1.4rem}.scene-tab strong{font-size:.65rem}.scene-tab small{font-size:.57rem}.viewport{height:310px;min-height:310px}.viewer-options{gap:8px;font-size:.65rem}.viewer-options button{font-size:.65rem}.view-hint{font-size:.65rem}.hierarchy-heading>span{font-size:.68rem}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep the annotation controls readable at normal browser zoom. */
.load-error-details{max-width:100%;font-size:.75rem;text-align:left}.load-error-details summary{cursor:pointer}.load-error-details pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto}
.scene-tab>span{min-width:0}.scene-tab small{white-space:normal;line-height:1.4}
.node-button{font-size:.875rem}.range-control>span:first-child,.mode-switch button{font-size:.875rem}.tree-toolbar button{font-size:.75rem}.viewer-options,.viewer-options button{font-size:.8125rem}.resource-sub{font-size:.8125rem}.scene-tab small{font-size:.75rem}.tree-row{min-height:32px}
@media(max-width:1000px){.tree-toolbar{gap:8px}.tree-toolbar button{font-size:.6875rem}.node-button{font-size:.8125rem}}
@media(max-width:720px){.resource-sub{font-size:.75rem}.resource-links{gap:18px}.scene-tab small{font-size:.6875rem}.viewer-options,.viewer-options button{font-size:.75rem}.node-button{font-size:.8125rem}}
@media(max-width:400px){.scene-tab small{font-size:.625rem}.resource-links{gap:12px}.viewer-options,.viewer-options button{font-size:.6875rem}}

/* The evaluation example uses actual nested annotation masks. */
.granularity-example{margin:28px 0 24px}
.granularity-path{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:10px}
.granularity-step{text-align:center;min-width:0}
.granularity-step img{display:block;width:100%;height:auto;margin-bottom:6px}
.granularity-step>span{display:block;font-size:.76rem;color:var(--accent);margin-bottom:7px}
.granularity-step>strong{display:block;font-size:1.06rem;font-weight:500}
.granularity-step>p{margin:7px 0 0;font-size:.8rem;color:var(--muted)}
.granularity-arrow{color:#8b929b;font-size:1.4rem;align-self:center;margin-top:-65px}
.granularity-example figcaption{text-align:center;font-size:.8rem;line-height:1.8;color:var(--muted);margin-top:24px}
.query-key{display:inline-block;width:9px;height:9px;border-radius:50%;background:#e9a231;border:1px solid #805113;margin-right:4px}
.protocol-details{border-block:1px solid var(--line);padding:15px 0;font-size:.86rem;line-height:1.75}
.protocol-details summary{cursor:pointer;color:var(--accent);font-size:.9rem}
.protocol-details summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.protocol-details p{margin:15px 0 0;color:#505862}
.protocol-details code{font-family:inherit;white-space:nowrap}
@media(max-width:600px){
  .granularity-path{grid-template-columns:minmax(0,1fr);gap:14px}
  .granularity-step{display:grid;grid-template-columns:44% 1fr;grid-template-rows:1fr auto 1fr;column-gap:20px;text-align:left;align-items:center}
  .granularity-step img{grid-column:1;grid-row:1/4;margin:0}
  .granularity-step>span{align-self:end;margin-bottom:8px}
  .granularity-step>strong{font-size:1.05rem}
  .granularity-step>p{align-self:start;line-height:1.5}
  .granularity-arrow{display:none}
  .granularity-example figcaption{text-align:left;font-size:.76rem;margin-top:20px}
}
.release-button[href]{color:var(--accent);background:var(--accent-soft);border-color:var(--line)}
.project-header h1{color:var(--accent)}
.scene-tab.active small{color:#fff}
.scene-tab.active:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.release-button[href]:hover{color:var(--accent-dark);background:var(--accent-hover)}
