:root{font:16px system-ui,sans-serif;color:#19251f;background:#eef1e9}
*{box-sizing:border-box}body{margin:0}main{max-width:36rem;margin:auto;padding:1rem 1rem 2rem}
header,section{margin-block-end:.8rem}header{padding:.6rem .15rem}
h1{margin:0;font-size:1.9rem}h2{margin:0 0 .8rem;font-size:1.15rem}
p{margin:.55rem 0;overflow-wrap:anywhere}section{background:#fff;border:1px solid #ced8cd;border-radius:12px;padding:1rem}
.actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.6rem}
button,.pick,select{font:inherit;min-height:44px;padding:.55rem .75rem;border:1px solid #9bac9f;border-radius:8px;background:#f1f5ef;color:#19251f}
button,.pick{cursor:pointer}.pick{display:inline-flex;align-items:center;position:relative;overflow:hidden}.pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.pick:focus-within{outline:2px solid #225b41}.pick:has(input:disabled){opacity:.5}
button:disabled{opacity:.5;cursor:default}#send{width:100%;background:#225b41;color:#fff;border-color:#225b41}
canvas{display:block;width:100%;height:auto;image-rendering:pixelated;border:1px solid #9bac9f;margin-top:.8rem;background:white}
progress{display:block;width:100%;margin:.35rem 0 .8rem;accent-color:#225b41}
pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:14rem;overflow:auto}summary{cursor:pointer}
