.image-work{max-width:1050px;margin:0 0 60px;color:#321e14}.image-work *{box-sizing:border-box}.image-work p{line-height:1.6}.image-intro{font-size:18px;color:#52616b;max-width:760px}.image-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);gap:20px;align-items:start}.image-panel,.image-controls,.image-result{border:1px solid #d4d9d2;border-radius:18px;padding:22px;background:white;min-width:0}.image-drop{border:2px dashed #b9c4bb;border-radius:12px;padding:20px;background:#f5f3ee}.image-work label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}.image-work input:not([type=checkbox]),.image-work select{max-width:100%;width:100%;min-height:46px;border:1px solid #b9ada5;border-radius:9px;background:white;color:#2d1a12;padding:8px;font:16px Inter,sans-serif}.image-work input[type=file]{font-size:13px}.image-work input[type=file]::file-selector-button{min-height:38px;padding:7px 12px;background:#3a2418;color:white;border:0;border-radius:7px}.image-work input[type=color]{height:46px;padding:4px}.image-hint{font-size:13px;color:#52616b}.image-work button,.image-download{min-height:46px;border:1px solid #cdd3ce;border-radius:10px;padding:10px 14px;background:white;color:#7c2d12;font:600 14px Inter,sans-serif;cursor:pointer}.image-work button:disabled{opacity:.55;cursor:wait}.image-primary,.image-work button.image-primary,.image-download{background:#c2410c;color:white;border-color:#c2410c}.image-download{display:inline-flex;align-items:center;text-decoration:none;margin-top:12px}.image-work :is(input,select,button,a,canvas):focus-visible{outline:3px solid #3a2418;outline-offset:3px}.image-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.image-stage{margin-top:16px;background-color:#eee;background-image:linear-gradient(45deg,#ddd 25%,transparent 25%),linear-gradient(-45deg,#ddd 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ddd 75%),linear-gradient(-45deg,transparent 75%,#ddd 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;border-radius:10px;overflow:hidden;text-align:center}.image-stage canvas{display:block;max-width:100%;height:auto;margin:auto;touch-action:none}.image-stage[hidden],.image-controls[hidden],.image-result[hidden],.image-download[hidden]{display:none!important}.image-status{font-size:14px;min-height:22px;color:#7c2d12;overflow-wrap:anywhere}.image-result{margin-top:20px;background:#f5f3ee}.image-result img{display:block;max-width:100%;max-height:500px;object-fit:contain;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/20px 20px}.image-meta{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto;font:14px/1.6 Inter,sans-serif}.image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.image-work details{margin:15px 0}.image-work summary{cursor:pointer;font-weight:600}.image-work section.image-guide{max-width:850px;margin:32px 0;line-height:1.65}.image-status:empty{min-height:0}@media(max-width:700px){.image-layout{grid-template-columns:1fr}.image-panel,.image-controls,.image-result{padding:17px}.image-intro{font-size:16px}.image-actions>*{flex:1}.image-download{width:100%;justify-content:center}}
