:root{font-family:"Leelawadee UI","Tahoma",system-ui,sans-serif;color:#20342e;background:#f5f7f3;font-synthesis:none;--green:#186550;--muted:#6b7b73;--line:#e1e7df}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,label.button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,label:focus-within{outline:3px solid #8abf99;outline-offset:3px}a{color:inherit;text-decoration:none}.topbar{height:78px;padding:0 max(28px,calc((100% - 1220px)/2));border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fff}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;white-space:nowrap}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green);color:white;font-size:15px;letter-spacing:-1px}.brand-sub{font-size:10px;letter-spacing:1.4px;font-weight:500;color:var(--muted);margin-left:8px}.local-badge{font-size:12px;color:var(--green);background:#eff7ee;border:1px solid #dfead9;padding:8px 12px;border-radius:30px}.local-badge i,.counts i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#3e996c}main{max-width:1220px;margin:0 auto;padding:40px 28px 20px}.intro{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700;margin:0 0 12px}h1{font-size:32px;line-height:1.5;letter-spacing:-.8px;margin:0 0 7px}h1 span{font-weight:400}.subtitle{font-size:14px;color:var(--muted);margin:0;line-height:1.7}.step-note{display:flex;gap:14px;align-items:center;white-space:nowrap;padding-bottom:4px;font-size:12px}.step-note b{font-weight:500}.step-note span{color:#9aa79d}.workspace{border:1px solid var(--line);border-radius:19px;overflow:hidden;background:white;box-shadow:0 8px 28px #284d2810}.toolbar{display:flex;justify-content:space-between;gap:16px;padding:20px 22px 14px;align-items:center}.file-controls{display:flex;align-items:center;gap:13px;min-width:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:600;white-space:nowrap;border:1px solid transparent}.primary{background:var(--green);color:#fff;min-width:155px}.primary:hover:not(:disabled){background:#114c3c}.secondary{color:var(--green);background:#eff5ef;border-color:#dce8dc}.file-name{font-size:12px;color:var(--muted);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.samples{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 22px 20px;font-size:12px;color:var(--muted)}.samples button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:6px 11px;color:#50645a}.samples button:hover{border-color:#6e9f88;color:var(--green);background:#f5f9f3}.image-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.image-panel{background:#fff;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 20px}.panel-heading h2{font-size:13px;font-weight:600;margin:0}.panel-heading>span{font-size:9px;letter-spacing:1.6px;color:#91a096}.image-stage{height:350px;display:flex;align-items:center;justify-content:center;background-color:#f8faf7;background-image:radial-gradient(#dce5da .65px,transparent .65px);background-size:13px 13px;padding:14px}.image-stage canvas{max-width:100%;max-height:100%;object-fit:contain;border-radius:5px;box-shadow:0 2px 12px #20342e10}.empty{text-align:center;color:var(--muted);font-size:13px;padding:15px}.empty b{display:block;font-weight:500;color:#53675c}.empty p{font-size:12px;margin:8px 0}.empty-symbol{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 18px;font-size:30px;color:#93ad99;background:#edf2ea;border-radius:16px}.outline{font-size:42px;background:#f1f3ee}.result-bar{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;gap:15px}.counts{display:flex;align-items:center;gap:23px;font-size:13px}.counts b{font-size:17px;margin-left:9px;font-weight:600}.counts .cat-dot{background:#7765d6}.counts .dog-dot{background:#16a38a}.time-text{font-size:11px;color:var(--muted)}.download-button{background:none;border:none;color:var(--green);font-size:12px;padding:7px}.detections{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px}.detections:not(:empty){padding-bottom:17px}.detection-tag{font-size:12px;border-radius:7px;padding:6px 10px;background:#f0edf9;color:#5c4ba5}.detection-tag.dog{background:#e6f5ef;color:#14765b}.status-row{display:flex;align-items:center;gap:12px;margin:17px 2px 24px}.status{color:var(--muted);font-size:12px;line-height:1.8}.status:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#be9d55;margin-right:8px}.status.ready:before{background:#46946a}.status.error{color:#aa3b36}.status.error:before{background:#bd5353}#retryButton{font-size:12px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:7px 10px}.about{display:grid;grid-template-columns:1fr 1fr;gap:40px;border-top:1px solid var(--line);padding-top:23px}.about h3{font-size:13px;margin:0 0 7px;font-weight:600}.about p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:10px;color:#89968d;padding-top:28px;line-height:1.8}[hidden]{display:none!important}@media(max-width:900px){.brand-sub,.step-note{display:none}h1{font-size:27px}.image-stage{height:310px}.time-text{display:none}}@media(max-width:600px){.topbar{height:66px;padding:0 16px}.brand{font-size:17px;gap:8px}.brand-icon{height:34px;width:34px;font-size:12px}.local-badge{font-size:10px;padding:6px 8px}main{padding:26px 14px 18px}.intro{margin-bottom:20px}h1{font-size:25px}h1 span{display:block;font-size:22px}.subtitle{font-size:12px}.toolbar{padding:15px 13px 12px;flex-wrap:wrap}.file-controls{width:100%}.file-name{max-width:160px}.primary{width:100%}.samples{padding:0 13px 15px;gap:6px}.image-grid{grid-template-columns:1fr}.image-stage{height:300px}.panel-heading{padding:12px 15px}.result-bar{padding:13px;flex-wrap:wrap}.counts{gap:18px}.about{grid-template-columns:1fr;gap:18px}.detections{padding-left:13px;padding-right:13px}footer{font-size:10px}}
