.run-results,.run-results *{box-sizing:border-box}
.run-results[hidden],.run-results [hidden]{display:none!important}
.run-results{position:fixed;z-index:80;inset:0;isolation:isolate;overflow:hidden;background:#111113;color:#f2f0df;font:13px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:center;touch-action:pan-y}
.run-results-scene{position:absolute;inset:0;z-index:-1;image-rendering:pixelated;pointer-events:none}
.run-results-header{position:absolute;top:max(6.5%,env(safe-area-inset-top));left:0;width:100%;pointer-events:none}
.run-results h1{margin:0;line-height:1;font-size:clamp(30px,6vw,76px);letter-spacing:.08em;font-weight:bold}
.run-results h1:focus,.run-results h2:focus{outline:none}
.pixel-label{display:none;image-rendering:pixelated;max-width:100%;vertical-align:middle}
.pixel-ready>.pixel-label{display:inline-block}
.pixel-ready>.pixel-copy{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.run-results-subtitle{margin:20px 0 0;letter-spacing:.2em}
.run-results-empty{font-size:11px;margin:24px 15px;color:#d0cdb7}
.run-results-footer{position:absolute;bottom:0;left:0;width:100%;padding:14px 20px max(26px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#19191be8 38%)}
.run-results-actions{display:flex;justify-content:center;gap:24px;align-items:center}
.run-results button{color:inherit;font:inherit;background:#151517cc;border:2px solid #b3b4a8;cursor:pointer;touch-action:manipulation;border-radius:0;min-height:48px;padding:14px 24px;position:relative}
.run-results-actions button{width:280px;min-height:54px;box-shadow:3px 0 0 -1px #151517,-3px 0 0 -1px #151517}
.run-results-retry{border-color:#f2f0df!important}
.run-results-retry:before{content:'';display:inline-block;width:10px;height:10px;background:#d9e377;transform:rotate(45deg);margin-right:20px;box-shadow:0 0 12px #d9e344}
.run-results button:hover:not(:disabled){background:#33382c;border-color:#f2f0df}
.run-results button:focus-visible{outline:2px solid #e8e492;outline-offset:5px}
.run-results button:disabled{opacity:.3;cursor:default}
.run-results button:active:not(:disabled){transform:translateY(1px)}
.run-results button.run-results-menu{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));padding:10px;border:0;background:#11111370;min-height:44px;opacity:.8}
.run-results-menu .pixel-label{width:46px!important;height:14px!important}
.run-results-pages{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 12px;font-size:11px}
.run-results-pages .run-results-page{font-size:26px;padding:0 12px;min-width:44px;min-height:44px;border:0;background:#11111390}
.run-results-collection{position:absolute;z-index:2;inset:10% max(20px,calc((100% - 630px)/2)) 130px;padding:26px;overflow:auto;background:#111713f5;border:1px solid #667257;box-shadow:0 12px 60px #0009}
.run-results-collection h2{margin:0 0 14px;font-size:24px;font-weight:500}
.run-results-record{font-size:11px;color:#aebc9d;margin-bottom:22px}
.run-results-garden{display:grid;grid-template-columns:repeat(6,64px);gap:12px 16px;justify-content:center;list-style:none;padding:0;margin:12px 0 24px}
.run-results-plant canvas{width:64px;height:96px;image-rendering:pixelated}
.show-collection .run-results-header{visibility:hidden}
@media(orientation:portrait){
 .run-results-header{top:max(15%,env(safe-area-inset-top))}
 .run-results-subtitle{margin-top:16px}
 .run-results-footer{padding:14px 20px max(8vh,env(safe-area-inset-bottom))}
 .run-results-actions{flex-direction:column;gap:18px}
 .run-results-actions button{width:min(290px,80vw);min-height:50px;padding:12px 8px}
 .run-results-collection{inset:9% 16px 215px;padding:18px 10px}
 .run-results-garden{grid-template-columns:repeat(4,64px);gap:10px 6px}
}
@media(max-height:500px) and (orientation:landscape){
 .run-results-header{top:5%}.run-results-subtitle{margin-top:10px}
 .run-results-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .run-results-actions button{min-height:44px;padding:8px 16px;width:230px}
 .run-results-collection{inset:8px max(24px,calc((100% - 630px)/2)) 112px}
}
.run-results-actions button{clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px)}
@media(orientation:portrait){.run-results-header{top:max(11%,env(safe-area-inset-top))}.run-results-actions button{width:min(320px,80vw)}.run-results-footer{padding-bottom:max(11vh,env(safe-area-inset-bottom))}}

.run-results-header .run-results-inspect{pointer-events:auto;margin-top:14px;border:0;background:#101619b0;padding:6px 12px;min-height:36px;opacity:.8}
.run-results-inspect .pixel-label{max-width:170px}
.run-results-plant-id{display:block;font-size:10px;color:#a8bba9}
.run-results-archive{position:absolute;inset:max(46px,env(safe-area-inset-top)) max(16px,calc((100% - 750px)/2)) max(16px,env(safe-area-inset-bottom));z-index:2;overflow:auto;padding:24px;background:#10191bef;border:1px solid #536760;overscroll-behavior:contain}
.run-results-archive h2{margin:0;font-size:24px;font-weight:500}
.run-results-archive-info{max-width:400px;margin:10px auto 20px;color:#bdc9ba;font-size:12px}
.run-results-storage{color:#e6d99d;font-size:12px;padding:10px;border:1px solid #8a7c49}
.run-results-entries{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.run-results-entry{min-width:0}
.run-results button.run-results-open{width:100%;height:100%;padding:10px 8px;display:flex;flex-direction:column;align-items:center;border:1px solid #586b59;text-align:center}
.run-results-thumbnail{width:96px;height:96px;image-rendering:pixelated}
.run-results-entry-copy{display:flex;flex-direction:column;gap:4px;font-size:11px;max-width:100%;overflow-wrap:anywhere}
.run-results-entry-copy strong{font-size:13px;font-weight:500;color:#e4ebcc}
.run-results-entry-copy time,.run-results-bundle-count{font-size:10px;color:#a6b6b2}
.run-results-no-records{grid-column:1/-1;padding:40px 12px;color:#bdc9ba}
.run-results-archive .run-results-back{font-size:12px;min-height:44px;padding:10px 20px}
.run-results-sources{display:flex;justify-content:center;gap:8px;margin:0 0 18px}
.run-results-sources button{font-size:11px;min-height:40px;padding:10px 12px}
.run-results-sources button[aria-pressed=true]{border-color:#e1e8b0;background:#344733}
.run-results-sources .pixel-label{max-width:142px}
.run-results-publish{margin:0 auto 10px}
.run-results-publish button{font-size:11px;min-height:40px;padding:8px 16px}
.run-results-publish-status{font-size:11px;max-width:450px;margin:8px auto;color:#d6dfc7}
@media(max-width:480px){.run-results-archive{padding:18px 10px}.run-results-entries{gap:8px}.run-results button.run-results-open{padding:8px 5px}.run-results-entry-copy{font-size:10px}.run-results-header .run-results-inspect{margin-top:9px}}
@media(max-width:340px){.run-results-garden{grid-template-columns:repeat(3,64px)}.run-results-entries{grid-template-columns:1fr}.run-results button.run-results-open{flex-direction:row;gap:12px;text-align:left}}
