.editor[data-astro-cid-6spnfw2o]{grid-template-columns:minmax(0,1fr) 20rem;align-items:start;gap:1.5rem;display:grid}.editor[data-astro-cid-6spnfw2o][hidden],.pages[data-astro-cid-6spnfw2o][hidden]{display:none}@media (width>=821px){.stage-col[data-astro-cid-6spnfw2o]{top:calc(var(--header-h,56px) + 1rem);position:sticky}}.stage-wrap[data-astro-cid-6spnfw2o]{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);justify-content:center;padding:22px;display:flex}.stage[data-astro-cid-6spnfw2o]{-webkit-user-select:none;user-select:none;box-shadow:0 0 0 1px var(--border-strong), 0 4px 16px #00000024;flex:none;position:relative}.stage[data-astro-cid-6spnfw2o]>canvas[data-astro-cid-6spnfw2o]:not(.loupe){background:#fff;width:100%;height:100%;display:block}.poly[data-astro-cid-6spnfw2o]{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.poly[data-astro-cid-6spnfw2o] polygon[data-astro-cid-6spnfw2o]{fill:#d3392a29;stroke:#fff;stroke-width:2.5px;paint-order:stroke;stroke-linejoin:round;filter:drop-shadow(0 0 1px #000000b3)}.corner[data-astro-cid-6spnfw2o]{touch-action:none;cursor:grab;place-items:center;width:44px;height:44px;margin:-22px 0 0 -22px;display:grid;position:absolute}.corner[data-astro-cid-6spnfw2o]:after{content:"";border:3px solid var(--accent);background:#fff;border-radius:50%;width:20px;height:20px;box-shadow:0 1px 4px #00000080}.corner[data-astro-cid-6spnfw2o]:focus-visible:after{outline:3px solid var(--accent-hover);outline-offset:3px}.loupe[data-astro-cid-6spnfw2o]{z-index:5;pointer-events:none;border:3px solid #fff;border-radius:50%;width:112px;height:112px;position:absolute;box-shadow:0 2px 10px #00000080}.loupe[data-astro-cid-6spnfw2o][hidden]{display:none}.out-wrap[data-astro-cid-6spnfw2o]{border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);justify-content:center;padding:14px;display:flex}.out-wrap[data-astro-cid-6spnfw2o] canvas[data-astro-cid-6spnfw2o]{width:auto;max-width:100%;height:auto;max-height:22rem;box-shadow:0 0 0 1px var(--border-strong), 0 3px 12px #0000001f;background:#fff;display:block}.side[data-astro-cid-6spnfw2o]{flex-direction:column;gap:1rem;min-width:0;display:flex}.result[data-astro-cid-6spnfw2o]{color:var(--muted);margin:0;font-size:.92rem}.group[data-astro-cid-6spnfw2o]{border:0;min-width:0;margin:0;padding:0}.group[data-astro-cid-6spnfw2o] legend[data-astro-cid-6spnfw2o]{margin-bottom:.4rem;padding:0;font-weight:600}.modes[data-astro-cid-6spnfw2o]{gap:.45rem;display:grid}.mode[data-astro-cid-6spnfw2o]{cursor:pointer;display:block}.mode[data-astro-cid-6spnfw2o] input[data-astro-cid-6spnfw2o]{opacity:0;pointer-events:none;position:absolute}.mode[data-astro-cid-6spnfw2o] span[data-astro-cid-6spnfw2o]{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:.1rem;min-height:44px;padding:.55rem .8rem;display:flex}.mode[data-astro-cid-6spnfw2o] small[data-astro-cid-6spnfw2o]{color:var(--muted);font-size:.82rem}.mode[data-astro-cid-6spnfw2o] input[data-astro-cid-6spnfw2o]:checked+span[data-astro-cid-6spnfw2o]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--accent-soft,var(--surface))}.mode[data-astro-cid-6spnfw2o] input[data-astro-cid-6spnfw2o]:focus-visible+span[data-astro-cid-6spnfw2o]{outline:3px solid var(--accent-hover);outline-offset:2px}.tools[data-astro-cid-6spnfw2o]{flex-wrap:wrap;gap:.5rem;display:flex}.actions[data-astro-cid-6spnfw2o]{gap:.5rem;display:grid}.pages[data-astro-cid-6spnfw2o]{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin:0 0 1.2rem;padding:1rem}.pages-title[data-astro-cid-6spnfw2o]{margin:0 0 .6rem;font-weight:600}.thumbs[data-astro-cid-6spnfw2o]{flex-wrap:wrap;gap:.6rem;margin:0 0 .9rem;padding:0;list-style:none;display:flex}.pages-actions[data-astro-cid-6spnfw2o]{flex-wrap:wrap;gap:.5rem;display:flex}.scan[data-astro-cid-6spnfw2o] .thumb{position:relative}.scan[data-astro-cid-6spnfw2o] .thumb img{border:1px solid var(--border-strong);background:#fff;border-radius:4px;width:auto;height:6.5rem;display:block}.scan[data-astro-cid-6spnfw2o] .thumb-x{cursor:pointer;background:0 0;border:0;place-items:center;width:44px;height:44px;font-size:0;display:grid;position:absolute;top:-10px;right:-10px}.scan[data-astro-cid-6spnfw2o] .thumb-x:after{content:"×";color:#fff;background:#333;border-radius:50%;place-items:center;width:24px;height:24px;font-size:1rem;line-height:1;display:grid}@media (width<=820px){.editor[data-astro-cid-6spnfw2o]{grid-template-columns:1fr}.stage-wrap[data-astro-cid-6spnfw2o]{padding:14px}}
