@font-face{font-family:Vazir;src:url('./vendor/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Vazir,Tahoma,Arial,sans-serif;color:#252c29;background:#f7f8f5;font-synthesis:none;--green:#287a50;--line:#e1e5df;--muted:#7e8780}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.35}button:not(:disabled):hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,.image-frame:focus-visible{outline:3px solid #8ab5e5;outline-offset:4px}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5.5%;direction:ltr}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#26352d;font-family:Arial,sans-serif;font-size:25px;font-weight:700;letter-spacing:-1.2px}.brand-light{font-weight:400}.brand-dot{color:var(--green)}.brand-icon{width:24px;height:24px;position:relative;display:block}.brand-icon i{position:absolute;width:9px;height:9px;border:2px solid #337351}.brand-icon i:nth-child(1){left:0;top:0;border-right:0;border-bottom:0}.brand-icon i:nth-child(2){right:0;top:0;border-left:0;border-bottom:0}.brand-icon i:nth-child(3){left:0;bottom:0;border-right:0;border-top:0}.brand-icon i:nth-child(4){right:0;bottom:0;background:#337351;border:0;width:10px;height:10px}.top-actions{display:flex;align-items:center;gap:26px;direction:rtl}.local-note{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);order:1}.small-dot{width:5px;height:5px;border-radius:100%;background:#6d9b7e}.button{border:1px solid transparent;border-radius:8px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;white-space:nowrap;transition:background .15s,opacity .15s}.dark{background:#293a30;color:#fff}.light{border-color:#d3dfd4;background:#eaf0e8;color:#315b3e}.subtle{background:transparent;color:#666f68}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;color:#6b746d;border-radius:6px}main{width:min(1180px,89%);margin:0 auto}.intro{display:flex;align-items:flex-end;justify-content:space-between;padding:30px 0 22px}.eyebrow{font-size:11px;letter-spacing:.2px;color:#6c7b70;margin:0 0 8px}h1{font-size:30px;font-weight:600;letter-spacing:-1px;margin:0}.intro-help{font-size:12px;line-height:1.9;color:#8a928c;margin:0 0 2px}.workspace{border:1px solid #dce1da;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 6px 30px #263a2b03}.canvas-header{height:43px;padding:0 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0eb;color:#929a94;font-size:10px}.canvas-header #file-name{max-width:70%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-info{font-family:Arial,sans-serif;font-size:10px;letter-spacing:.5px}.stage{height:clamp(250px,calc(100dvh - 400px),650px);min-height:250px;position:relative;display:flex;align-items:center;justify-content:center;padding:22px;background-color:#fafbf9;background-image:radial-gradient(#dbe1d7 .7px,transparent .7px);background-size:18px 18px;overflow:hidden}.empty-state{display:grid;place-items:center;width:100%;height:100%}.drop-zone{background:none;border:0;display:flex;align-items:center;flex-direction:column;padding:25px;color:#9ba39c;width:100%;height:100%;justify-content:center;max-width:600px}.drop-zone strong{font-size:19px;font-weight:500;color:#4b5e50;margin:24px 0 10px}.drop-zone>span:not(.empty-illustration){font-size:12px}.drop-zone .file-types{font-family:Arial,sans-serif;font-size:9px!important;letter-spacing:2px;color:#acb3ac;margin-top:17px}.empty-illustration{height:93px;width:114px;position:relative}.picture-card{position:absolute;left:12px;top:9px;width:85px;height:76px;background:#f2f5ef;border:1px solid #d6dfd2;border-radius:9px;transform:rotate(-7deg);display:grid;place-items:center;box-shadow:0 7px 15px #47614309}.picture-card svg{width:38px;height:38px;stroke:#aabca3;stroke-width:1}.cursor-card{position:absolute;bottom:-2px;right:0;display:grid;place-items:center;background:#fff;width:37px;height:37px;border:1px solid #dfe6da;border-radius:10px;transform:rotate(9deg);color:#528260;box-shadow:0 3px 9px #263a2b07}.cursor-card svg{width:21px;height:21px;fill:#e4eedf}.accent-pixel{position:absolute;width:9px;height:9px;border-radius:2px;background:#92af85;left:0;top:0}.canvas-footer{height:45px;display:flex;justify-content:space-between;align-items:center;padding:0 18px;border-top:1px solid #e9ede6;font-size:10px;color:#929a93}#status{display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;background:#a5afa3;border-radius:50%;flex:none}.status-dot.ready{background:#489261}.status-dot.working{background:#d3a449;animation:pulse 1s infinite}.status-dot.error{background:#cc6c57}.selection-count{color:#7f8d80}.below-workspace{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:15px;min-height:40px}.legend{display:flex;gap:22px;align-items:center;font-size:10px;color:#8b948d}.legend>span{display:flex;align-items:center;gap:6px}.swatch{width:8px;height:8px;display:block;border-radius:2px}.blue{background:#6399df}.green{background:#55aa74}.tools{display:flex;align-items:center;gap:3px}.tools .button{padding:8px 10px;font-size:10px}.tools svg{width:14px;height:14px}.divider{height:15px;width:1px;background:var(--line);margin:0 8px}.bottom-note{margin:20px 0;text-align:center;font-size:10px;color:#9da69d}.bottom-note span{color:#b0b8ae}.image-frame{position:relative;line-height:0;touch-action:manipulation;max-width:100%;max-height:100%;cursor:crosshair;flex-shrink:0}.image-frame img{display:block;width:100%;height:100%;user-select:none}.image-frame canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.pointer{position:absolute;width:14px;height:14px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 0 1px #3e78be;background:#72aaff45;transform:translate(-50%,-50%);pointer-events:none}.busy-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f8faf6dc;backdrop-filter:blur(3px);font-size:13px;gap:16px;z-index:2;color:#57715d}.busy-detail{font-size:10px;color:#98a393}.spinner{width:25px;height:25px;border:2px solid #d7e2d2;border-top-color:#508564;border-radius:50%;animation:spin .8s linear infinite}.drag-overlay{position:absolute;inset:10px;background:#edf5e9ef;border:2px dashed #8eb281;border-radius:8px;display:grid;place-items:center;font-size:20px;color:#54804f;z-index:4}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:9px;background:#283b30;color:#fff;font-size:12px;box-shadow:0 4px 25px #1b30232b;z-index:10;max-width:90%;text-align:center}.key-hint{color:#a0a89f;font-size:9px}kbd{font:9px Arial,sans-serif;border:1px solid #dbe1d8;border-radius:3px;padding:2px 4px;color:#8e998a}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.4}}@media(min-width:1500px){main{width:min(1380px,87%)}.intro{padding-top:50px}}@media(max-width:700px){.topbar{height:74px;padding:0 6%}.brand{font-size:22px}.top-actions{gap:0}.local-note{display:none}.button{font-size:11px;padding:9px 12px}main{width:90%}.intro{padding-top:28px}.intro-help{display:none}h1{font-size:25px}.eyebrow{font-size:10px}.stage{padding:12px;height:50vh}.below-workspace{align-items:flex-start;flex-direction:column;gap:13px}.legend{font-size:9px;gap:20px}.tools{width:100%;justify-content:flex-end}.tools .button{padding:8px}.canvas-footer{font-size:9px;padding:0 12px}.bottom-note{font-size:9px;margin-top:25px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
