*{box-sizing:border-box}body{margin:0;background:#f7f4ee;color:#24241f;font:16px/1.6 system-ui,sans-serif}header,footer{display:flex;justify-content:space-between;padding:16px max(5%,calc((100% - 1120px)/2));background:white;gap:14px}a{color:#314a37}.brand{font-weight:850;font-size:1.3rem;text-decoration:none}main{width:min(90%,1120px);margin:38px auto}h1{font-size:clamp(2.7rem,8vw,5.7rem);letter-spacing:-.07em;line-height:1;margin:0}h2{margin:0 0 8px;line-height:1.25}small{font-size:.72em;font-weight:400}.upload{display:inline-grid;gap:5px;padding:12px 16px;border:1px dashed #817f73;border-radius:12px;background:white}.controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:14px 0}.controls label{display:grid;gap:4px;font-weight:650}button,select,input{font:inherit;color:inherit}button,select{background:white;border:1px solid #b6b3a8;border-radius:7px;padding:7px}.primary{background:#283d30;color:white}.previews{display:grid;grid-template-columns:1fr 1fr;gap:14px}.previews section,article{background:white;border:1px solid #e0dcd2;border-radius:16px;padding:15px;min-width:0}article{margin:18px 0;max-width:800px}.frame{min-height:230px;height:min(45vh,420px);display:flex;align-items:center;justify-content:center;background:#eeeae1;border-radius:9px;overflow:hidden}.frame img,.frame canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.frame canvas{touch-action:none;cursor:grab}[hidden]{display:none!important}button:not(:disabled){cursor:pointer}button:disabled{opacity:.55}#status{min-height:1.5em}input[type=file]{max-width:100%}@media(max-width:680px){.previews{grid-template-columns:1fr}.frame{height:260px}}
