.latest-case-section{padding-top:72px}.study-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}.study-heading h2{margin:10px 0 0;font-size:clamp(34px,4vw,54px);letter-spacing:-.035em}.study-atlas-link{font-size:17px;white-space:nowrap;color:var(--ink,#203642)}.study-intro{color:#617278;margin:18px 0 28px;font-size:19px;max-width:780px}.study-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.study-filters button{border:1px solid #dfe5e5;background:#fff;border-radius:24px;padding:10px 19px;font:inherit;font-size:16px;color:#52656a;cursor:pointer}.study-filters button[aria-pressed=true]{background:#233e47;color:#fff;border-color:#233e47}.study-filters button:focus-visible,.study-open:focus-visible{outline:3px solid #8ca1ab;outline-offset:4px}.study-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.study-card{min-width:0;border:1px solid #dde4e3;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #203e4408}.study-card[hidden]{display:none}.study-open{display:block;width:100%;border:0;padding:0;text-align:left;font:inherit;color:#203642;background:none;cursor:pointer}.study-media{height:300px;display:flex;position:relative;align-items:center;justify-content:center;background:#edf1ed;overflow:hidden}.study-media img{height:100%;width:100%;min-width:0;object-fit:contain;transition:transform .3s}.study-pair img{width:50%;padding:5px}.study-card:hover .study-media>img{transform:scale(1.015)}.study-hover{position:absolute;inset:auto 0 0;padding:22px 20px 18px;background:linear-gradient(transparent,#10252de8);color:#fff;font-size:15px;line-height:1.5;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s;pointer-events:none}.study-open:hover .study-hover,.study-open:focus-visible .study-hover{opacity:1;transform:none}.study-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);background:#ffffffdf;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;color:#284750;box-shadow:0 4px 20px #10252d25}.study-card-body{padding:21px 24px 23px}.study-benchmark{font-size:14px;letter-spacing:.035em;color:#627b69;font-weight:600}.study-card h3{font-size:26px;line-height:1.2;margin:9px 0;letter-spacing:-.025em}.study-card p{font-size:17px;line-height:1.5;margin:0 0 16px;color:#566a72}.study-result{font-size:15px;display:flex;justify-content:space-between;color:#2c4d58}.study-scope{font-size:15px!important;line-height:1.6;color:#687b80;max-width:900px;margin:22px 0 0!important}.atlas-nav{display:flex;justify-content:space-between;padding-top:32px;padding-bottom:32px;font-size:17px}.atlas-heading{margin:55px 0 24px}.atlas-heading h1{font-size:clamp(36px,5vw,66px);line-height:1.08;letter-spacing:-.045em;max-width:800px;margin:14px 0 20px}.atlas-heading>p:last-child{font-size:21px;color:#617278}.atlas-note{max-width:920px;font-size:17px;line-height:1.65;color:#5c7177;margin:24px 0}.study-search{display:flex;gap:20px;align-items:center;font-size:17px;margin:35px 0 20px}.study-search input{font:inherit;padding:13px 17px;border:1px solid #d6dfdf;border-radius:12px;min-width:320px;background:#fff}.atlas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.atlas-grid .study-media{height:235px}.atlas-grid h3{font-size:23px}.atlas-grid .study-card-body{padding:18px}.atlas-grid .study-card p{font-size:16px}.case-atlas footer{margin-top:64px}.case-atlas #study-count{font-size:15px;color:#64777d}#study-dialog{width:min(1000px,calc(100vw - 40px));max-width:none;max-height:90vh;padding:30px;border:0;border-radius:20px;color:#203642;box-shadow:0 24px 100px #10252d44;background:#fff}#study-dialog::backdrop{background:#142c35aa;backdrop-filter:blur(5px)}#study-dialog form{display:flex;justify-content:end;position:sticky;top:0;z-index:2;pointer-events:none}.study-close{border:1px solid #d6dfdf;border-radius:24px;padding:9px 16px;font:inherit;font-size:15px;background:#fff;cursor:pointer;pointer-events:auto}#study-dialog h2{font-size:clamp(26px,3.5vw,40px);margin:6px 0 14px;letter-spacing:-.025em}#study-dialog h3{font-size:21px;margin:24px 0 12px}#study-dialog .study-question{font-size:19px;line-height:1.55;white-space:pre-line}#study-dialog .study-dialog-media{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;background:#f3f5f3;border-radius:12px;padding:12px}#study-dialog .study-dialog-media img{width:auto;max-width:calc(50% - 12px);max-height:380px;object-fit:contain}#study-dialog .study-dialog-media img:only-child{max-width:100%;max-height:500px}#study-dialog video{width:100%;max-height:500px;background:#162e38;border-radius:12px}#study-dialog .study-meta{font-size:16px;color:#596d73}#study-dialog .study-outcome{font-size:21px;font-weight:600;color:#254d58}#study-dialog .study-table-wrap{overflow-x:auto}#study-dialog table{border-collapse:collapse;width:100%;font-size:16px;table-layout:fixed}#study-dialog th,#study-dialog td{padding:11px 13px;text-align:left;border-bottom:1px solid #e0e6e6;vertical-align:top;overflow-wrap:anywhere}#study-dialog th:first-child,#study-dialog td:first-child{width:27%}#study-dialog tr:nth-child(even){background:#f4f6f5}#study-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;background:#f4f6f5;padding:15px;border-radius:8px}#study-dialog .study-protocol{font-size:15px;line-height:1.6;color:#607279}#study-dialog .study-budget-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;padding:0;list-style:none;font-size:16px}#study-dialog .study-budget-list li{display:flex;gap:10px;justify-content:space-between;border-bottom:1px solid #e0e6e6;padding:9px 0}.study-download{font-size:16px;display:inline-block;margin-top:16px}body.study-modal-open{overflow:hidden}@media(max-width:950px){.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.study-media{height:245px}}@media(max-width:640px){.study-heading{display:block}.study-atlas-link{display:inline-block;margin-top:20px}.study-grid,.atlas-grid{grid-template-columns:1fr}.study-media,.atlas-grid .study-media{height:265px}.study-card h3{font-size:25px}.study-filters{gap:7px}.study-filters button{font-size:14px;padding:9px 13px}.study-intro{font-size:17px}.study-search{display:block}.study-search input{display:block;min-width:0;width:100%;box-sizing:border-box;margin-top:10px}.atlas-nav{font-size:14px;gap:12px}.atlas-heading{margin-top:28px}#study-dialog{width:calc(100vw - 24px);box-sizing:border-box;padding:18px}#study-dialog .study-budget-list{grid-template-columns:1fr}#study-dialog .study-question{font-size:17px}#study-dialog table{font-size:14px}#study-dialog th,#study-dialog td{padding:9px 6px}.study-hover{display:none}}@media(prefers-reduced-motion:reduce){.study-media img,.study-hover{transition:none}}

.study-original-instruction { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.6; color: var(--muted, #60717a); }

.study-comparison-link { display: block; background: white; border: 1px solid #e0e6e6; border-radius: 12px; padding: 10px; overflow: auto; } .study-comparison-link img { display: block; width: 100%; min-width: 700px; height: auto; }

/* Case gallery: source imagery first, model comparisons in the same frame. */
.case-gallery{--gallery-border:#dce3e0;--gallery-soft:#f3f5f2;margin-top:28px}
.case-gallery button,.case-gallery input,.gallery-model-switcher button{font-family:inherit}
.study-grid[hidden],.case-gallery [hidden]{display:none!important}
.case-gallery:not(.is-ready){min-height:80px}
.gallery-track{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;border-radius:22px;padding:2px 2px 14px;scroll-padding-inline:2px}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-track:focus-visible{outline:3px solid #706c9f;outline-offset:5px}
.gallery-slot{flex:0 0 calc(100% - 42px);min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex;min-height:550px}
.gallery-slot:last-child{margin-right:42px}
.gallery-slide{width:100%;min-width:0;padding:26px 28px 20px;border:1px solid var(--gallery-border);border-radius:20px;background:linear-gradient(145deg,#fff 35%,#f5f7f3);box-sizing:border-box;box-shadow:0 5px 16px #20354205}
.gallery-loading{padding:30px;color:var(--muted)}
.gallery-slide-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.gallery-kicker{font-size:14px;font-weight:600;color:var(--sage);margin:0 0 5px;line-height:1.5}
.gallery-kicker span{margin:0 7px;color:#b4bdb6}
.gallery-slide h3{font-size:30px;letter-spacing:-.035em;line-height:1.18;margin:0;color:var(--ink);font-weight:600}
.gallery-detail-button{border:1px solid #d9e1dc;background:#fff;border-radius:24px;padding:10px 16px;white-space:nowrap;color:var(--ink);font-size:14px;cursor:pointer}
.gallery-detail-button span{margin-left:8px}
.gallery-detail-button:hover{background:#eaf0e9}
.gallery-task{font-size:17px;line-height:1.5;margin:12px 0 23px;max-width:900px;color:#566a71}
.gallery-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;align-items:stretch}
.gallery-scene{position:relative;border:1px solid #dce2dd;border-radius:12px;overflow:hidden;padding:0;background:#e8ece6;color:var(--ink);cursor:pointer;text-align:left;display:flex;flex-direction:column;justify-content:center;min-width:0}
.gallery-inputs{display:grid;place-items:center;width:100%;height:100%;min-height:280px;background:#e9ece6}
.gallery-inputs figure{margin:0;position:relative;width:100%;min-width:0;display:flex;justify-content:center;align-items:center}
.gallery-inputs img{display:block;width:100%;max-height:385px;object-fit:contain}
.gallery-inputs-pair{grid-template-columns:1fr;grid-auto-rows:1fr;gap:2px;max-height:385px;min-height:300px;overflow:hidden}
.gallery-inputs-pair img{max-height:190px}
.gallery-inputs figcaption{position:absolute;left:10px;top:9px;background:#203542bb;color:white;font-size:12px;line-height:1;padding:6px 9px;border-radius:5px}
.gallery-reference{display:block;padding:11px 16px;font-size:15px;font-weight:600;background:#e5eee5;border-top:1px solid #d3dfd2;text-align:center}
.gallery-enlarge{position:absolute;right:12px;bottom:12px;font-size:13px;padding:7px 12px;border-radius:20px;background:#fffef8;opacity:0;transform:translateY(3px);transition:opacity .15s,transform .15s;box-shadow:0 2px 10px #24382825}
.gallery-scene:hover .gallery-enlarge,.gallery-scene:focus-visible .gallery-enlarge{opacity:1;transform:none}
.gallery-panel-label{font-size:13px;letter-spacing:.045em;text-transform:uppercase;color:#6c7878;margin:0 0 10px;line-height:1.3;font-weight:600}
.gallery-model-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.gallery-model{display:block;min-width:0;text-align:left;padding:11px 13px 10px;border-radius:10px;border:1px solid #e0e5df;color:var(--ink);background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s;position:relative}
.gallery-model:hover{border-color:#819c94;box-shadow:0 2px 10px #1f444414}
.gallery-model:focus-visible,.gallery-detail-button:focus-visible,.gallery-scene:focus-visible,.gallery-navigation button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.gallery-model-name{font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:6px;line-height:1.4;white-space:nowrap}
.gallery-model-name>span{color:#91a096;font-size:15px}
.gallery-model-value{display:block;font-size:23px;line-height:1.15;font-weight:600;letter-spacing:-.025em;margin-top:7px;font-variant-numeric:tabular-nums}
.gallery-model-caption{display:block;color:#697775;font-size:12px;line-height:1.35;margin-top:5px}
.gallery-model.correct{background:#edf4eb;border-color:#d6e4d2}
.gallery-model.correct .gallery-model-value,.gallery-detail-metric.correct strong{color:#436440}
.gallery-model.incorrect .gallery-model-caption{color:#ab5c5e}
.gallery-model.uncertain{background:#fff7e9;border-color:#e9dbc0}
.gallery-visual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery-model-visual{padding:10px 10px 9px;background:#fff}
.gallery-model-visual svg{display:block;width:100%;height:134px;object-fit:contain;background:#e7ece8;border-radius:6px;margin-top:8px}
.gallery-model-visual .gallery-model-value{font-size:19px;display:inline-block;margin-right:7px}
.gallery-model-visual .gallery-model-caption{display:inline;font-size:11px}
.gallery-evidence-note{font-size:13px;line-height:1.6;color:#667871;margin:12px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.gallery-ref-line,.gallery-pred-line{width:22px;height:0;border-top:3px dashed #43aa80;display:inline-block}
.gallery-pred-line{border-top:3px solid #ad5a60;margin-left:10px}
.gallery-film{position:relative;width:100%;height:100%;min-height:320px;display:flex;justify-content:center;align-items:center;background:#e8ece6}
.gallery-film video,.gallery-film img{width:100%;max-height:405px;object-fit:contain;display:block}
.gallery-film-label{position:absolute;bottom:12px;left:12px;right:12px;border-radius:8px;background:#183438d9;backdrop-filter:blur(6px);color:white;padding:9px 12px;line-height:1.4;font-size:13px}
.gallery-terminal{min-height:80px}
.gallery-terminal .gallery-model-value{font-size:16px;line-height:1.3;letter-spacing:0}
.gallery-run-facts{font-size:22px;line-height:1.8;color:#5f766b;margin:30px 0}
.gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 16px}
.gallery-help{font-size:14px;color:#6d7b79;margin:0}
.gallery-help>span{font-size:21px;margin-right:7px}
.gallery-position{display:flex;gap:9px;align-items:center}
.gallery-position output{font-size:14px;min-width:64px;font-variant-numeric:tabular-nums;margin-right:10px;color:#61736d}
.gallery-position button{height:42px;width:42px;border-radius:50%;border:1px solid #d4ddd5;background:#fff;color:#234036;font-size:23px;line-height:1;cursor:pointer}
.gallery-position button:hover:enabled{background:#e8eee6}
.gallery-position button:disabled{opacity:.32;cursor:default}
.gallery-scrubber{width:calc(100% - 2px);margin:0;accent-color:#69876d;height:16px;cursor:pointer;display:block}
.gallery-empty{padding:36px;background:#f2f5ef;border-radius:14px;color:#627366}
.gallery-model-switcher{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}
.gallery-model-switcher button{font-size:14px;color:#4e6665;border:1px solid #dce4de;background:white;border-radius:20px;padding:8px 14px;cursor:pointer}
.gallery-model-switcher button[aria-pressed=true]{background:#24443b;color:#fff;border-color:#24443b}
.gallery-model-switcher button:focus-visible{outline:3px solid #706c9f;outline-offset:2px}
#study-dialog{width:min(1080px,calc(100vw - 40px));box-sizing:border-box}
#study-dialog form{z-index:5}
.gallery-detail-comparison{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:start}
.gallery-detail-comparison svg{display:block;width:100%;height:auto;border-radius:10px;background:#eef2ed}
.gallery-detail-comparison pre{max-height:220px;overflow:auto}
.gallery-detail-comparison .gallery-inputs{border-radius:12px;overflow:hidden}
.gallery-detail-comparison .gallery-inputs-pair{max-height:none}
#study-dialog .gallery-detail-comparison .gallery-inputs img{max-height:350px}
#study-dialog .gallery-detail-comparison h4{font-size:15px;margin:16px 0 0}
.gallery-detail-metric{font-size:15px;color:#5d736b;margin:0}
.gallery-detail-metric strong{display:block;font-size:34px;color:var(--ink);line-height:1.4}
.gallery-record-only{background:#f1f4ee;border:1px solid #dde5d8;border-radius:14px;padding:24px;display:flex;align-items:center;gap:24px;font-size:17px}
.gallery-record-only>span{font-size:46px;color:#6c8873}
.case-atlas .case-gallery{margin-bottom:40px}
@media(min-width:1500px){.latest-case-section{width:min(1320px,calc(100% - 96px))}.gallery-slot{min-height:590px}.gallery-model-visual svg{height:155px}.gallery-comparison{gap:32px}.gallery-model{padding:13px 15px}.gallery-model-name{font-size:15px}.gallery-inputs-pair,.gallery-film video,.gallery-film img{max-height:425px}.gallery-inputs-pair img{max-height:209px}}
@media(max-width:1000px){.gallery-slide{padding:22px 20px}.gallery-slot{flex-basis:calc(100% - 24px)}.gallery-slot:last-child{margin-right:24px}.gallery-comparison{gap:16px}.gallery-model-name{font-size:12px}.gallery-model{padding:9px 10px}.gallery-model-value{font-size:20px}.gallery-model-visual svg{height:114px}.gallery-film{min-height:285px}.gallery-task{font-size:16px}}
@media(max-width:760px){.gallery-slot{min-height:0;flex-basis:100%}.gallery-slot:last-child{margin-right:0}.gallery-track{gap:14px}.gallery-slide{padding:20px 16px}.gallery-slide h3{font-size:25px}.gallery-kicker{font-size:12px}.gallery-slide-top{align-items:start;gap:12px}.gallery-detail-button{font-size:0;border-radius:50%;padding:8px 12px}.gallery-detail-button span{font-size:20px;margin:0}.gallery-comparison{grid-template-columns:1fr}.gallery-inputs{min-height:220px}.gallery-inputs-pair{grid-template-columns:1fr 1fr;min-height:0;max-height:240px;gap:3px}.gallery-inputs-pair img{max-height:240px}.gallery-inputs img{max-height:260px}.gallery-model-name{font-size:14px}.gallery-model-value{font-size:22px}.gallery-model-grid{gap:8px}.gallery-model{padding:10px 12px}.gallery-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-model-visual svg{height:135px}.gallery-model-visual .gallery-model-caption{display:block;margin-top:3px;font-size:11px}.gallery-model-visual .gallery-model-value{font-size:18px}.gallery-help{font-size:0}.gallery-help:after{content:'Swipe to Explore';font-size:13px}.gallery-help>span{font-size:18px}.gallery-position output{min-width:45px;font-size:13px;margin:0}.gallery-position button{width:36px;height:36px}.gallery-navigation{gap:6px}.gallery-film{min-height:260px}.gallery-film video,.gallery-film img{max-height:300px}.gallery-detail-comparison{grid-template-columns:1fr}.gallery-model-switcher button{font-size:12px;padding:7px 10px}.study-heading h2{font-size:34px}.study-intro{font-size:17px}.gallery-evidence-note{font-size:12px}.gallery-terminal .gallery-model-value{font-size:15px}}
@media(prefers-reduced-motion:reduce){.gallery-model,.gallery-enlarge{transition:none}}
/* The shared page limits paragraph width in em; reset it for gallery controls. */
.case-gallery .gallery-help{max-width:none;flex:1;white-space:nowrap}
.case-gallery .gallery-navigation{gap:12px}
.gallery-model-visual{border-top:3px solid var(--model-colour)}
.gallery-representations{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 18px}
.gallery-representations button{font:inherit;font-size:14px;border:1px solid #d9e2db;border-radius:999px;padding:8px 15px;background:#fff;color:#405653;cursor:pointer}
.gallery-representations button[aria-pressed="true"]{background:#294e44;border-color:#294e44;color:#fff}
.gallery-representations button:focus-visible{outline:3px solid #77ac95;outline-offset:3px}
.gallery-representations>span{font-size:14px;color:#697c73;margin-left:6px}
.gallery-mask-swatch{display:inline-block;width:18px;height:12px;background:rgba(70,164,123,.57);border:1px solid #46a47b;border-radius:2px}
.gallery-detail-comparison details{margin-top:22px;border-top:1px solid #dce5df;padding-top:14px}
.gallery-detail-comparison summary{cursor:pointer;font-weight:600}
.gallery-slot{align-self:flex-start}
.gallery-track{align-items:flex-start}
@media(max-width:760px){.case-gallery .gallery-help{min-width:110px;font-size:0;line-height:22px}.gallery-help>span{display:none}.gallery-help:after{font-size:13px}.gallery-slot{min-height:0}}
.latest-case-section .study-heading h2{font-size:clamp(32px,3.4vw,46px);margin:6px 0 0}
.latest-case-section .study-heading .eyebrow{margin:0 0 9px}
.latest-case-section .study-intro{margin:14px 0 20px;font-size:17px}
.latest-case-section .study-filters{margin:18px 0}
.gallery-task{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.latest-case-section .study-heading h2{line-height:1.15}
/* Eight independently recorded models. Instructions appear on hover/focus. */
.gallery-run-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.gallery-run-grid[data-recordings="1"]{grid-template-columns:minmax(0,560px);justify-content:center}
.gallery-run-grid[data-recordings="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-run-grid[data-recordings="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery-record-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.gallery-record-strip button{display:flex;flex-direction:column;gap:4px;text-align:left;border:1px solid #e0e6df;border-radius:9px;padding:11px 13px;background:#f8faf6;color:var(--ink);font:inherit;cursor:pointer;font-size:13px}
.gallery-record-strip small{font-size:11px;color:#7e8c82}.gallery-record-strip button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.gallery-run{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;border:1px solid #dce4df;border-radius:12px;background:#fff;text-align:left;color:var(--ink);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.gallery-run:hover{border-color:#859b8d;box-shadow:0 4px 20px #23403616}
.gallery-run:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.gallery-run-header{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;font-size:14px;font-weight:600;line-height:1.4}
.gallery-run-header>span{color:#809287;font-size:18px}
.gallery-run-media{display:block;position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;background:#e9ede8}
.gallery-run-media video,.gallery-run-media img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-run-kind{position:absolute;left:7px;bottom:7px;max-width:calc(100% - 14px);font-size:10px;line-height:1.3;padding:4px 6px;border-radius:5px;background:#132b31c9;color:white;box-sizing:border-box;pointer-events:none}
.gallery-run-hover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:7px;background:#152f36ee;color:white;padding:15px;box-sizing:border-box;font-size:13px;line-height:1.45;opacity:0;transition:opacity .16s;overflow:hidden;pointer-events:none}
.gallery-run-hover strong{font-size:15px;font-weight:600}
.gallery-run:hover .gallery-run-hover,.gallery-run:focus-visible .gallery-run-hover{opacity:1}
.gallery-run-footer{display:flex;flex-direction:column;gap:5px;padding:10px 12px 12px;min-height:58px;box-sizing:border-box}
.gallery-run-task{font-size:12px;line-height:1.35;color:#677970;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gallery-run-outcome{font-size:13px;line-height:1.35;font-weight:600}
.gallery-run-outcome.success{color:#567650}
.gallery-run-outcome.pending{color:#8b5b24}
.gallery-run.demo{border-color:#d9c99f}.gallery-run.demo .gallery-run-outcome{color:#8a6a32}
.gallery-run.uncertain .gallery-run-outcome{color:#896633}
.gallery-no-recording{display:flex;align-items:center;justify-content:center;height:100%;font-size:13px;color:#7b8a81;padding:20px;text-align:center;box-sizing:border-box}
.gallery-api-failure{padding:22px;border:1px solid #dfdbd2;border-radius:12px;background:#faf8f3}
#study-dialog .gallery-api-failure h4{font-size:22px;margin:0 0 12px;color:var(--ink)}
#study-dialog .gallery-api-failure p{margin:0 0 18px;font-size:16px;line-height:1.6;max-width:60ch}
.gallery-api-facts{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;margin-bottom:18px;font-size:15px}
.gallery-api-facts>*{white-space:nowrap}.gallery-api-facts a{margin-left:auto}
@media(max-width:480px){.gallery-api-facts a{margin-left:0}.gallery-api-failure{padding:16px}}
.gallery-run-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}
.gallery-run-controls p{font-size:13px;line-height:1.4;margin:0;color:#687d73;max-width:none}
.gallery-run-controls button{flex-shrink:0;border:1px solid #d6e0d8;border-radius:20px;background:#fff;color:#355949;padding:8px 13px;font:inherit;font-size:12px;cursor:pointer}
.gallery-run-controls button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.gallery-detail-run-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 12px}
#study-dialog .gallery-detail-run-heading h3{margin:0}.gallery-detail-run-heading .study-outcome{font-size:16px}
.gallery-detail-film{border-radius:12px;overflow:hidden;background:#edf1ec;display:grid;place-items:center;min-height:200px}
.gallery-detail-film img{display:block;max-width:100%;max-height:500px;object-fit:contain}
#study-dialog .gallery-detail-film video{max-height:480px;object-fit:contain;display:block;border-radius:0;background:#edf1ec}
.gallery-process{display:flex;gap:10px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity}
.gallery-process figure{flex:0 0 180px;margin:0;scroll-snap-align:start;background:#f1f4ef;border:1px solid #e1e7df;border-radius:8px;overflow:hidden}
.gallery-process img{width:100%;height:135px;object-fit:contain;display:block}
.gallery-process figcaption{padding:6px 10px;font-size:12px;color:#66766c}
.gallery-process-log{padding:14px;box-sizing:border-box;font-size:14px}.gallery-process-log p{font-size:13px;line-height:1.5}
#study-dialog .study-meta{overflow-wrap:anywhere}#study-dialog .study-meta code{font-size:12px}
@media(max-width:1000px){.gallery-run-grid{gap:9px}.gallery-run-header{font-size:12px;padding:8px}.gallery-run-footer{padding:8px}.gallery-run-hover{font-size:12px;padding:10px}.gallery-run-hover strong{font-size:13px}.gallery-run-outcome{font-size:12px}}
@media(max-width:760px){.gallery-run-grid,.gallery-run-grid[data-recordings="3"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-record-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-run-header{font-size:13px}.gallery-run-kind{font-size:9px}.gallery-run-controls{align-items:flex-start}.gallery-run-controls p{font-size:12px}.gallery-run-hover{display:none}.gallery-run-task{font-size:11px}.gallery-detail-run-heading{align-items:flex-start}.gallery-detail-run-heading .study-outcome{font-size:14px}}
@media(prefers-reduced-motion:reduce){.gallery-run,.gallery-run-hover{transition:none}}
@media(max-width:480px){.gallery-model-name{font-size:12px;white-space:normal;min-height:32px;align-items:start}.gallery-model-name>span{font-size:13px;flex-shrink:0}.gallery-model-visual svg{height:118px}.gallery-model-value{font-size:19px}.gallery-model-visual{padding:9px}.gallery-kicker{font-size:11px}.gallery-navigation .gallery-position{gap:5px}.latest-case-section .study-heading h2{font-size:30px}}

/* A fixed position for every model; missing films never hide their results. */
.gallery-run-grid.gallery-all-models{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery-all-models .gallery-run-media{aspect-ratio:16/9}
.gallery-all-models .gallery-run-footer{min-height:0;padding:9px 12px}
.gallery-log-preview{height:100%;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:16px 22px;box-sizing:border-box;background:linear-gradient(145deg,#f0f4f0,#e4ebe5)}
.gallery-log-label{font-size:13px;color:#63796b}
.gallery-log-metrics{display:flex;gap:24px}
.gallery-log-metrics>span{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#65776e}
.gallery-log-metrics strong{font-size:clamp(19px,2vw,28px);font-weight:600;color:var(--ink);line-height:1.1}
.gallery-log-link{font-size:12px;color:#416751}
.gallery-task-identity{font-size:13px;line-height:1.4;color:#64766c;margin:-12px 0 18px;overflow-wrap:anywhere}
.gallery-round-list details{border-bottom:1px solid #e1e7e2;padding:12px 0}
.gallery-round-list summary{cursor:pointer;font-size:15px}
#study-dialog code{overflow-wrap:anywhere}
@media(max-width:760px){.gallery-run-grid.gallery-all-models{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-log-preview{padding:12px;gap:8px}.gallery-log-metrics{gap:12px}.gallery-log-metrics strong{font-size:19px}.gallery-log-label,.gallery-log-link{font-size:11px}.gallery-all-models .gallery-run-media{aspect-ratio:4/3}}
@media(max-width:420px){.gallery-log-metrics{flex-wrap:wrap;gap:6px 12px}.gallery-log-metrics strong{font-size:16px}.gallery-log-link{font-size:10px}}

/* Ten models form two aligned rows; preserve model order across every case. */
@media(min-width:1100px){
 .gallery-run-grid.gallery-all-models,.gallery-visual-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
 .gallery-run-header,.gallery-model-name{font-size:13px;white-space:normal}
 .gallery-model-visual{padding:10px}
 .gallery-model-visual svg{height:auto;aspect-ratio:4/3}
 .gallery-run-outcome{font-size:12px}
 .gallery-run-kind{display:none}
}
@media(min-width:761px) and (max-width:1099px){.gallery-run-grid.gallery-all-models,.gallery-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.gallery-model-name{min-height:2.8em;align-items:center}
.gallery-all-models .gallery-run-header{min-height:4em;align-items:center}
.gallery-model-switcher{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.gallery-model-switcher button{border-radius:8px;padding:9px 5px;font-size:13px}
@media(max-width:760px){.gallery-model-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-model-name,.gallery-run-header{white-space:normal;overflow-wrap:anywhere}.gallery-model-visual{padding:8px}}

@media(min-width:1100px){.gallery-all-models .gallery-log-preview{padding:10px 12px;gap:7px}.gallery-all-models .gallery-log-label{font-size:11px}.gallery-all-models .gallery-log-metrics{gap:14px}.gallery-all-models .gallery-log-metrics strong{font-size:20px;white-space:nowrap}.gallery-all-models .gallery-log-metrics>span{font-size:11px;gap:3px}.gallery-all-models .gallery-log-link{display:none}}

.case-atlas .case-gallery[hidden]{display:none}

/* Case Atlas: the evidence is the entry point; detail stays one click away. */
.case-atlas [hidden],#study-dialog [hidden]{display:none!important}
.case-atlas .atlas-nav{padding-block:22px;font-size:16px}
.case-atlas .atlas-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:20px 0 24px}
.case-atlas .atlas-heading h1{font-size:clamp(36px,4vw,50px);margin:0 0 10px;max-width:none}
.case-atlas .atlas-heading p{font-size:19px;margin:0;color:var(--ink)}
.atlas-motion,.gallery-back{font:inherit;font-size:15px;border:1px solid #ced9d4;background:#fff;color:var(--ink);border-radius:24px;padding:10px 16px;cursor:pointer;white-space:nowrap}
.atlas-tools{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px}
.case-atlas .study-search{flex:1;min-width:250px;margin:0}
.case-atlas .study-search input{width:100%;min-width:0;padding:12px 16px;box-sizing:border-box;font-size:16px}
.case-atlas .study-filters{margin:0;gap:6px}
.case-atlas .study-filters button{font-size:15px;padding:10px 13px}
.case-atlas #study-count{margin:20px 0 16px;font-size:16px;color:#52635c;max-width:none}
.case-atlas .atlas-grid{gap:20px;align-items:stretch}
.case-atlas .study-card{border-radius:14px;box-shadow:none;transition:box-shadow .15s,border-color .15s}
.case-atlas .study-card:hover{border-color:#738d80;box-shadow:0 6px 22px #203e4410}
.case-atlas .study-media{height:auto;aspect-ratio:16/10;background:#14292e}
.case-atlas .study-media img,.case-atlas .study-media video{display:block;width:100%;height:100%;object-fit:contain}
.case-atlas .study-media.study-pair img{width:50%;padding:0}
.case-atlas .study-card-body{padding:15px 17px 18px}
.case-atlas .study-benchmark{display:flex;justify-content:space-between;gap:10px;font-size:14px;letter-spacing:0;color:#53695e}
.case-atlas .study-benchmark>span{font-size:20px;line-height:1}
.case-atlas .study-card h3{margin:9px 0 0;font-size:21px;line-height:1.3;font-weight:600;text-wrap:pretty}
.atlas-preview-label{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0c2025eb);padding:26px 12px 9px;color:#fff;font-size:14px;line-height:1.3;text-wrap:pretty}
.case-atlas .atlas-note{font-size:16px;margin:26px 0;max-width:75ch}
#atlas-empty{padding:38px 24px;background:#f2f5f1;border-radius:12px;font-size:20px}
.gallery-scene-only,.overview-context-label{position:absolute;top:8px;left:8px;z-index:1;border-radius:6px;background:#fffffff0;color:#233b35;padding:5px 8px;font-size:13px;line-height:1.25;font-weight:600}
.gallery-demo-label{position:absolute;top:8px;left:8px;background:#fff1cf;color:#65461b;font-size:13px;line-height:1.25;padding:5px 8px;border-radius:6px}
.gallery-run-log .gallery-run-media img{opacity:.78}
.gallery-result-preview{display:flex;position:relative;width:100%;height:100%;min-height:170px;align-items:center;justify-content:center;background:#e9eee8}
.gallery-result-facts{display:flex;justify-content:center;gap:20px;margin-top:22px}
.gallery-result-facts>span{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#52665b}
.gallery-result-facts strong{font-size:28px;color:#294638;font-weight:600;line-height:1.2}
.gallery-run-grid .gallery-run-header{min-height:3.4em;font-size:14px;padding:9px 11px;line-height:1.3;word-break:normal;overflow-wrap:normal}
.gallery-all-models .gallery-run-outcome{font-size:14px}
.gallery-run-grid .gallery-run-kind{display:none}
.gallery-run-controls p{font-size:15px}
.gallery-run-controls button{font-size:14px}
#study-dialog{width:min(1260px,calc(100vw - 40px));padding:28px}
#study-dialog h2{font-size:32px;margin-bottom:10px}
#study-dialog form{height:0;top:0;align-items:flex-start}
#study-dialog .study-close{min-height:40px}
#study-dialog-content{padding-top:6px}
#study-dialog h2{padding-right:90px}
@media(min-width:1100px){#study-dialog .gallery-run-header{min-height:0;padding:11px}}
#study-dialog .study-question{font-size:18px;margin:0 0 20px;max-width:85ch}
#study-dialog .eyebrow{margin:0 0 9px}
.gallery-comparison-hint{font-size:16px;color:#53695e;margin:0 0 16px}
.gallery-back{margin-bottom:15px}
.gallery-context-film{position:relative}
.gallery-method-note{margin-top:20px;border-top:1px solid #dce4de;padding-top:15px}
.gallery-method-note summary{font-size:16px;cursor:pointer;color:#3f5c50}
.gallery-model-switcher button{font-size:14px;overflow-wrap:normal;word-break:normal}
.case-media-error{display:grid;place-items:center;min-height:140px;padding:20px;background:#edf2ed;color:#274438;font-size:17px;line-height:1.5;text-align:center;box-sizing:border-box}
@media(max-width:760px){
 .case-atlas .atlas-heading{align-items:start;gap:12px;margin-top:10px}
 .case-atlas .atlas-heading p{font-size:17px;max-width:26ch}
 .case-atlas .atlas-tools{display:block}
 .case-atlas .study-search{margin-bottom:14px}
 .case-atlas .study-filters{gap:7px}
 .case-atlas .study-filters button{font-size:14px;padding:9px 13px}
 .case-atlas .atlas-motion{font-size:14px;padding:9px 12px}
 .case-atlas .atlas-grid{gap:16px}
 .case-atlas .study-card h3{font-size:22px}
 #study-dialog{padding:20px 16px;width:calc(100vw - 20px)}
 #study-dialog h2{font-size:27px}
 #study-dialog .gallery-run-grid{gap:10px}
 #study-dialog .gallery-run-header{font-size:14px}
 .gallery-all-models .gallery-run-media{aspect-ratio:4/3}
 .gallery-run-controls{flex-wrap:wrap}
}

/* Recording cameras are distinct from the shared task identity. */
.gallery-detail-film{position:relative}
.gallery-camera-label{position:absolute;top:8px;left:8px;z-index:1;background:rgba(255,255,255,.94);border-radius:5px;padding:5px 8px;font-size:13px;line-height:1.25;color:#203b35;white-space:nowrap}
.gallery-camera-note{font-size:16px;line-height:1.45;margin:12px 0;color:var(--ink)}
