/* Six short sections: task, motivation, approach, method, cases, revision. */
.paper-cite,.section-source{font-size:11px;color:#337d71;text-decoration:none}.paper-cite{white-space:nowrap}.section-source{display:inline-block;margin-top:20px}.paper-cite:hover,.section-source:hover{text-decoration:underline}
.story-section{padding-block:36px;border-top:1px solid var(--line)}.story-heading{margin-bottom:22px;max-width:1000px}.story-heading h2,.numbered-section .section-top h2{font-size:29px;line-height:1.3;letter-spacing:-.65px;font-weight:600;margin:0 0 12px;max-width:none}.story-heading p{font-size:16px;line-height:1.7;color:var(--muted);margin:0;max-width:900px}.section-number{color:#337d71;margin-right:8px;font-variant-numeric:tabular-nums;font-weight:500}
.narrative-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:70px;padding-block:40px;text-align:left}.narrative-hero .title-grep{font-size:50px;margin-bottom:13px;letter-spacing:-2px}.narrative-hero .title-expansion{font-size:31px;line-height:1.25}.narrative-hero .hero-description{font-size:15px;margin:19px 0 20px;max-width:590px;text-wrap:pretty;line-height:1.65}.hero-description strong{display:block;color:var(--ink);font-weight:550;margin-bottom:5px}.narrative-hero .research-links{justify-content:flex-start;margin:0;gap:8px}.narrative-hero .research-links a{font-size:12px;padding:8px 13px;min-height:38px}
.hero-teaser{min-width:0;margin:0}.hero-teaser>a{display:block;cursor:zoom-in}.hero-teaser img{display:block;width:auto;height:auto;max-width:100%;max-height:655px;margin:auto}.hero-teaser figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-top:10px}.hero-teaser figcaption a{color:#337d71}
.leaderboard-preview{padding:19px 20px 16px;border:1px solid var(--line);border-radius:6px;min-width:0;margin-top:25px;max-width:570px;background:#fcfdfc}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.preview-heading h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.2px}.preview-heading h2>span{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.preview-scope{display:flex;gap:3px;padding:3px;background:#eef3f1;border-radius:5px;margin-bottom:11px}.preview-scope button{flex:1;min-height:32px;padding:5px 8px;border:0;background:none;border-radius:3px;font-size:11px;color:#63726a;line-height:1.4}.preview-scope button[aria-pressed=true]{background:white;color:#245d4d;box-shadow:0 1px 3px #152e1812;font-weight:600}
.leaderboard-preview table{width:100%;border-collapse:collapse;font-size:12px}.leaderboard-preview caption{text-align:left;font-size:10px;color:var(--muted);padding-bottom:9px}.leaderboard-preview th,.leaderboard-preview td{padding:7px 5px;border-bottom:1px solid #e9eeeb;text-align:left;line-height:1.5}.leaderboard-preview thead th{font-size:10px;font-weight:500;color:#687577;padding-top:0}.leaderboard-preview tbody th{font-weight:500}.leaderboard-preview .preview-rank{color:#687577;width:34px}.leaderboard-preview .preview-score,.leaderboard-preview th:last-child{text-align:right;font-variant-numeric:tabular-nums}.leaderboard-preview .preview-score{font-weight:600;color:#315c4c}.preview-full-link{display:inline-block;margin-top:12px;font-size:11px;color:#267b72}
.task-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:5px}.task-flow li{position:relative;display:flex;flex-direction:column;gap:6px;padding:19px 26px}.task-flow li:not(:last-child)::after{content:'→';position:absolute;right:-8px;top:50%;transform:translateY(-50%);color:#8aa69b;font-size:21px;z-index:1}.task-flow strong{font-size:16px;font-weight:600;line-height:1.4}.task-flow li>span{font-size:12px;line-height:1.6;color:var(--muted)}.task-flow .flow-grep{background:#f2f7f5;border-radius:0 5px 5px 0}.task-flow .flow-grep strong{color:#267b72}
.motivation-grid,.approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px}.motivation-grid h3,.approach-grid h3{font-size:19px;line-height:1.4;letter-spacing:-.3px;font-weight:600;margin:0 0 10px}.motivation-grid p,.approach-grid p{font-size:15px;line-height:1.75;color:var(--muted);margin:0;max-width:550px}.motivation-need{border-left:2px solid #5b9f91;padding-left:27px}.motivation-need h3{color:#267b72}
.approach-grid article{padding:21px 24px;background:#f6f8f7;border-top:2px solid #75a99b;border-radius:0 0 5px 5px}.approach-label{display:block;font-size:11px;color:#337d71;margin-bottom:10px;font-weight:500}.approach-grid .approach-example{border-top:1px solid #dce6e1;padding-top:13px;margin-top:16px;font-size:13px;color:#496558}
.principle-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 26px}.principle-summary article{padding:17px 0;border-top:2px solid var(--category)}.principle-summary h3{display:flex;align-items:center;gap:9px;margin:0 0 10px;font-size:16px;font-weight:600;color:var(--metric-ink)}.principle-letter{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;font-size:11px;background:var(--category);color:#fff}.principle-summary p{font-size:13px;line-height:1.65;color:#56685e;margin:0 0 9px}.principle-summary small{font-size:11px;line-height:1.5;color:var(--muted)}
.method .paper-framework{max-width:1060px;margin-inline:auto}.method-boundary{font-size:12px;line-height:1.7;color:var(--muted);margin:19px 0 0}.human-study{display:flex;align-items:center;gap:22px;padding-top:22px;margin-top:22px;border-top:1px solid var(--line);max-width:820px}.human-study>strong{font-size:26px;line-height:1.2;color:#267b72;font-weight:600;white-space:nowrap;letter-spacing:-.6px}.human-study>span{font-size:13px;line-height:1.6;color:#53655b}.human-study small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.numbered-section.demo-section{border-top:1px solid var(--line);padding-top:36px;padding-bottom:38px}.numbered-section .section-lead{font-size:15px;max-width:900px;margin-top:0}.numbered-section .demo-badge{margin-top:9px}
.more-examples{margin-top:30px}.more-examples>h3{font-size:18px;font-weight:600;letter-spacing:-.2px;margin:0 0 18px}.more-examples .benchmark-grid{gap:24px}.more-examples .benchmark-grid article{display:grid;grid-template-columns:160px 1fr;gap:20px;align-items:center;border:1px solid var(--line);border-radius:5px;padding:14px}.more-examples .benchmark-preview{aspect-ratio:16/10}.more-examples .benchmark-card-copy{padding:0}.more-examples .benchmark-card-copy h3{font-size:17px;margin:0 0 10px}.more-examples .benchmark-links{display:flex;flex-wrap:wrap;font-size:12px;gap:10px 22px;margin:0;color:#337d71}
.revision-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;align-items:start}.revision-copy p{font-size:16px;line-height:1.8;color:var(--muted);margin:0 0 19px;max-width:520px}.revision-copy>a{font-size:13px;color:#337d71}.revision-result{background:#f4f8f6;padding:21px 25px;border-radius:5px}.revision-result h3{font-size:14px;font-weight:500;margin:0 0 18px;color:#53655b}.revision-counts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.revision-counts strong{display:block;font-size:32px;letter-spacing:-.8px;font-weight:600;color:#267b72}.revision-counts>div+div strong{color:#7a8880;font-weight:400}.revision-counts span{display:block;font-size:12px;color:#586b5f;margin-top:5px}.revision-result>p{font-size:10px;color:var(--muted);margin:18px 0 0;line-height:1.6}
.more-examples .benchmark-preview{height:auto}
.mobile-workflow{display:none}
@media(max-width:600px){
 .mobile-workflow{display:grid;gap:13px;list-style:none;counter-reset:stages;padding:0;margin:22px 0}
 .mobile-workflow li{position:relative;padding-left:32px;counter-increment:stages}
 .mobile-workflow li::before{content:counter(stages);position:absolute;left:0;top:1px;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#eaf3f1;color:#267b72;font-size:10px}
 .mobile-workflow strong{font-size:13px;font-weight:600;display:block}.mobile-workflow span{display:block;font-size:11px;color:var(--muted);margin-top:4px}
}
@media(min-width:1600px){
 .narrative-hero{gap:90px;padding-block:46px}.narrative-hero .title-grep{font-size:56px}.narrative-hero .title-expansion{font-size:35px}.narrative-hero .hero-description{font-size:16px}.hero-teaser img{max-height:700px}.story-heading h2,.numbered-section .section-top h2{font-size:32px}.story-heading p{font-size:17px}
}
@media(max-width:1100px){
 .narrative-hero{gap:32px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}.narrative-hero .title-grep{font-size:44px}.narrative-hero .title-expansion{font-size:27px}.narrative-hero .hero-description{font-size:14px}.narrative-hero .research-links a{font-size:11px;padding:8px 10px}.hero-teaser img{max-height:600px}.more-examples .benchmark-grid article{grid-template-columns:115px 1fr;gap:14px}.more-examples .benchmark-card-copy h3{font-size:15px}.principle-summary{gap:16px}.principle-summary h3{font-size:14px}.revision-grid{gap:35px}
}
@media(max-width:800px){
 .narrative-hero{column-gap:25px}.narrative-hero .title-grep{font-size:40px}.narrative-hero .title-expansion{font-size:24px}.narrative-hero .research-links{display:grid;grid-template-columns:1fr 1fr}.leaderboard-preview{padding:15px 13px}.preview-heading h2{font-size:15px}.preview-heading{gap:8px}.preview-heading .paper-cite{font-size:9px}.hero-teaser figcaption{display:block;line-height:1.7}.hero-teaser figcaption span{display:block}.preview-scope button{font-size:10px}.task-flow li{padding:16px}.task-flow strong{font-size:14px}.motivation-grid,.approach-grid{gap:25px}.motivation-grid h3,.approach-grid h3{font-size:18px}.motivation-grid p,.approach-grid p{font-size:14px}.approach-grid article{padding:18px}.more-examples .benchmark-grid article{grid-template-columns:1fr}.more-examples .benchmark-preview{aspect-ratio:16/8}
}
@media(max-width:600px){
 .story-section{padding-block:28px}.story-heading{margin-bottom:20px}.story-heading h2,.numbered-section .section-top h2{font-size:23px;letter-spacing:-.4px}.story-heading p{font-size:14px}.section-number{margin-right:4px}.narrative-hero{grid-template-columns:1fr;gap:28px;text-align:center;padding-block:28px}.narrative-hero .title-grep{font-size:42px;margin-bottom:12px}.narrative-hero .title-expansion{font-size:25px}.narrative-hero .hero-description{margin:16px auto 19px;max-width:370px}.narrative-hero .research-links{display:flex;justify-content:center;margin:auto;max-width:340px;gap:7px}.narrative-hero .research-links a{font-size:11px;min-height:38px;padding-inline:11px}.hero-teaser img{max-height:450px}.hero-teaser figcaption{display:flex;justify-content:center;gap:12px;font-size:9px}.hero-teaser figcaption span{display:inline}.leaderboard-preview{margin:24px auto 0;text-align:left;padding:16px}.preview-heading h2{font-size:16px}.preview-scope button{font-size:11px;min-height:36px}.leaderboard-preview table{font-size:12px}
 .task-flow{grid-template-columns:1fr}.task-flow li{padding:15px 19px}.task-flow li:not(:last-child)::after{content:'↓';right:20px;top:auto;bottom:-11px;transform:none;font-size:18px}.task-flow strong{font-size:15px}.task-flow li>span{font-size:12px}.task-flow .flow-grep{border-radius:0 0 5px 5px}
 .motivation-grid,.approach-grid{grid-template-columns:1fr;gap:21px}.motivation-need{padding-left:18px}.motivation-grid h3,.approach-grid h3{font-size:18px}.approach-grid .approach-example{font-size:12px}.section-source{font-size:11px;margin-top:18px}.principle-summary{grid-template-columns:1fr;gap:5px;margin-bottom:20px}.principle-summary article{padding:14px 0}.principle-summary h3{font-size:16px;margin-bottom:8px}.principle-summary p{font-size:13px;margin-bottom:5px}.principle-summary small{font-size:11px}.method-footer{font-size:11px}.method-boundary{font-size:11px}.human-study{gap:16px;margin-top:17px;padding-top:17px}.human-study>strong{font-size:23px}.human-study>span{font-size:12px}.human-study small{font-size:10px}
 .numbered-section.demo-section{padding-top:28px;padding-bottom:28px}.numbered-section .section-lead{font-size:13px}.more-examples .benchmark-grid{grid-template-columns:1fr;gap:14px}.more-examples .benchmark-grid article{grid-template-columns:100px 1fr;padding:12px;gap:13px}.more-examples .benchmark-preview{aspect-ratio:1}.more-examples .benchmark-card-copy h3{font-size:15px}.more-examples .benchmark-links{font-size:11px;gap:7px 15px}.revision-grid{grid-template-columns:1fr;gap:23px}.revision-copy p{font-size:14px;margin-bottom:13px}.revision-copy>a{font-size:12px}.revision-result{padding:18px 20px}.revision-counts strong{font-size:29px}
}
@media(min-width:721px) and (max-width:1000px){
 .demo-shell{display:block}.scene-column .scene-stage{flex:none;height:450px;min-height:450px}.finding-panel{border-left:0;border-top:1px solid var(--line);padding:22px}.finding-panel .check-inspection{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:22px;align-items:start}.check-inspection>.check-step,.check-inspection>#check-evidence,.check-inspection>.evidence-operations{grid-column:1/-1}.check-inspection>.evidence-image{grid-column:1;grid-row:4/8;height:auto;aspect-ratio:4/3}.check-inspection>.evidence-image canvas{position:absolute;inset:0}.check-inspection>.evidence-actions{grid-column:2;grid-row:4;padding-top:0}.check-inspection>.illustration-note{grid-column:2;grid-row:5}.check-inspection>.door-result{grid-column:2;grid-row:6}.check-inspection>.evidence-detail{grid-column:2;grid-row:7}.finding-panel .revision-action{max-width:380px}
}
