:root{--ink:#1c2f39;--workspace:#eef4f6;--sky:#b9e0f2;--paper:#fff;--marker:#b63e2d;--action:#145d80;--line:#cad8df;--muted:#526773;--soft:#e2edf2;color-scheme:light}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--workspace);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--marker);outline-offset:4px}a{color:var(--action);text-underline-offset:3px}button{border:0}button,summary{min-height:44px}button{border-radius:6px;padding:10px 18px;font-weight:650}.primary{color:#fff;background:var(--action)}.primary:hover:not(:disabled){background:#104e6c}.secondary{background:var(--paper);color:var(--action);border:1px solid #97b5c5}.secondary:hover{background:#f6fbfd}.text-button,.quiet{background:transparent;color:var(--action)}.text-button{padding:7px 0;font-size:14px;text-decoration:underline;text-underline-offset:3px}.quiet{padding:6px 10px;border:1px solid var(--line)}[hidden]{display:none!important}.topbar{max-width:1320px;margin:auto;padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font:700 21px/1.25 "Trebuchet MS",sans-serif}.brand svg{width:30px;height:34px;fill:none;stroke:var(--action);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.brand small{display:block;font:400 12px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--muted);letter-spacing:.15px}nav{display:flex;align-items:center;gap:24px;font-size:14px}nav a{text-decoration:none}main{max-width:1240px;margin:0 auto;padding:10px 0 44px}.intro{display:flex;gap:50px;align-items:center;justify-content:space-between;padding:20px 0 24px}h1{font:700 clamp(28px,3.6vw,46px)/1.12 "Trebuchet MS",sans-serif;letter-spacing:-1.3px;margin:0 0 12px}.intro p{margin:0;max-width:620px;font-size:17px;color:var(--muted)}.local-note{display:flex;gap:10px;flex-shrink:0;font-size:13px;line-height:1.7}.local-dot{height:8px;width:8px;border:2px solid var(--action);border-radius:50%;margin-top:8px;background:var(--sky)}.inputbar{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px dashed #8eabb9;border-radius:9px;padding:16px 20px;background:#e5f0f5}.inputbar.dragging{outline:3px solid var(--action);background:#d1e7f1}.input-actions{display:flex;gap:12px}.inputbar p{font-size:13px;color:var(--muted);margin:0}#status{min-height:24px;margin:17px 0 12px;font-size:14px;color:var(--muted)}#status.error{color:var(--marker);font-weight:600}.bench{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);border:1px solid #9db7c4;border-radius:10px;overflow:hidden;background:var(--paper)}.picture-panel{min-width:0;border-right:1px solid #9db7c4;display:flex;flex-direction:column}.data-panel{background:#e2eff5;min-width:0;display:flex;flex-direction:column}.panel-title{min-height:58px;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}h2{font:700 18px/1.4 "Trebuchet MS",sans-serif;margin:0}.panel-title span{font-size:12px;color:var(--muted)}.count{background:#fff8;padding:3px 8px;border-radius:4px}.preview{min-height:330px;display:flex;align-items:center;justify-content:center;background-color:#f8fbfc;background-image:linear-gradient(45deg,#e9f0f3 25%,transparent 25%),linear-gradient(-45deg,#e9f0f3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9f0f3 75%),linear-gradient(-45deg,transparent 75%,#e9f0f3 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;padding:26px;flex:1}.preview img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;filter:drop-shadow(0 3px 8px #1c2f3914)}.empty{text-align:center;color:var(--muted);font-size:14px}.png-sheet{margin:auto;width:92px;height:115px;background:#fff;border:2px solid #8caeba;box-shadow:5px 5px 0 #cfe1e8;transform:rotate(-5deg);padding:26px 12px 12px}.png-sheet span{font:700 21px "Trebuchet MS",sans-serif;color:var(--action)}.png-sheet i{display:block;height:4px;background:var(--sky);margin:10px 0}.png-sheet i:last-child{width:60%}.empty p{margin-top:23px}.preview-footer{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 22px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}#filename{overflow-wrap:anywhere}.pixel-note{margin:0;padding:12px 22px 18px;color:var(--muted);font-size:12px;border-top:1px solid #e2e9ed}.tabs{display:flex;margin:16px 22px 0;border:1px solid #8eafbf;border-radius:6px;overflow:hidden}.tabs button{flex:1;border-radius:0;background:transparent;font-size:13px;color:var(--ink);padding:8px}.tabs button[aria-pressed=true]{background:var(--action);color:#fff}.findings{padding:19px 22px;min-height:245px;flex:1;overflow-wrap:anywhere}.placeholder{color:var(--muted);margin:0;max-width:38ch}.finding-heading{display:flex;align-items:center;gap:8px;font:700 18px/1.35 "Trebuchet MS",sans-serif;margin:0 0 8px}.indicator{width:10px;height:10px;background:var(--marker);border-radius:2px;flex-shrink:0}.indicator.clear{background:var(--action)}.finding-note{font-size:13px;margin:0 0 15px;color:var(--muted)}.scene-text{border-left:3px solid var(--marker);background:#fff;padding:12px 14px;margin:10px 0 14px}.scene-text h3{font-size:12px;margin:0 0 6px;color:var(--muted);font-weight:500}.scene-text ul{list-style:none;padding:0;margin:0}.scene-text li{white-space:pre-wrap;font-size:14px;line-height:1.5;padding:6px 0;border-top:1px solid #e8eef1}.scene-text li:first-child{border-top:0}.metadata-detail{font-size:12px;margin:10px 0}.metadata-detail summary{min-height:30px;cursor:pointer;color:var(--action)}.metadata-detail pre{white-space:pre-wrap;word-break:break-word;font-size:12px;max-height:190px;overflow:auto;background:#fff;padding:12px;border:1px solid var(--line)}.warning{color:#843728;background:#fff5ed;border-left:3px solid #b66b35;padding:9px 12px;font-size:12px;margin:10px 0}.actions{padding:16px 22px 18px;border-top:1px solid #b8d0dc;display:flex;flex-direction:column;align-items:stretch;gap:6px}.actions p{margin:5px 0 0;font-size:12px;color:var(--muted);line-height:1.5}.proof,.explanation{margin-top:18px;border:1px solid var(--line);border-radius:7px;background:#f7fafb;padding:0 20px}.proof>summary,.explanation>summary{cursor:pointer;display:list-item;padding:12px 0;font-size:14px;font-weight:600}.proof>div,.explanation>div{padding-bottom:16px;font-size:13px;max-width:90ch}.explanation p{max-width:80ch;margin-top:0;color:var(--muted)}.proof dl{display:grid;grid-template-columns:140px 1fr;gap:8px 16px;margin:8px 0}.proof dt{color:var(--muted)}.proof dd{margin:0;overflow-wrap:anywhere}.proof code{font-size:11px;word-break:break-all}.proof .match{color:var(--action);font-weight:650}footer{max-width:1240px;margin:auto;border-top:1px solid var(--line);padding:20px 0 32px;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:12px}
@media(max-width:1320px){main,footer{margin-left:40px;margin-right:40px}}@media(max-width:900px){.intro{gap:25px}.local-note{max-width:160px}.inputbar{flex-direction:column;align-items:flex-start}.preview{min-height:300px;padding:14px}.panel-title,.findings{padding-left:16px;padding-right:16px}.tabs{margin-left:16px;margin-right:16px}.actions{padding-left:16px;padding-right:16px}}
@media(max-width:650px){.topbar{padding:20px}.brand{font-size:18px}.brand svg{width:25px;height:30px}nav{gap:12px;font-size:12px}.quiet{font-size:12px;padding:6px 8px}main,footer{margin-left:20px;margin-right:20px}.intro{padding-top:12px;padding-bottom:20px;display:block}h1{font-size:34px;letter-spacing:-1px}.intro p{font-size:15px}.local-note{margin-top:14px;max-width:none;font-size:12px}.local-note br{display:none}.inputbar{padding:14px;gap:12px}.input-actions{gap:8px;width:100%;flex-wrap:wrap}.input-actions button{font-size:13px;padding:10px 12px}.inputbar p{font-size:11px}.bench{grid-template-columns:minmax(0,1fr)}.picture-panel{border-right:0;border-bottom:1px solid #9db7c4}.preview{min-height:200px;padding:18px}.preview img{max-height:300px}.empty .png-sheet{width:65px;height:85px;padding:18px 8px}.png-sheet span{font-size:15px}.empty p{margin:17px 0 8px}.panel-title{min-height:50px;padding:11px 16px}h2{font-size:16px}.findings{min-height:150px}.pixel-note{font-size:11px;padding:10px 16px 13px}.preview-footer{padding:3px 16px}.proof,.explanation{padding:0 14px}.proof dl{grid-template-columns:1fr;gap:3px}.proof dd{margin-bottom:8px}footer{flex-direction:column;padding-top:16px}#status{font-size:12px}}
.exif-options{padding:11px 12px;margin-bottom:5px;background:#ffffffa8;border:1px solid #a8c3d1;border-radius:5px}.exif-options label{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-size:14px;font-weight:600;min-height:30px}.exif-options input{width:17px;height:17px;margin:3px 0 0;accent-color:var(--action);flex-shrink:0}.exif-options input:focus-visible{outline:3px solid var(--marker);outline-offset:3px}.actions .exif-options p{font-size:12px;margin:4px 0 0}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .12s ease}.data-panel{transition:background-color .15s ease}}
