canvas.a9s-gl-canvas{height:100%;left:0;position:absolute;top:0;width:100%}canvas.a9s-gl-canvas.hidden{display:none}canvas.a9s-gl-canvas.hover{cursor:pointer!important}svg.svelte-g4ws1v.svelte-g4ws1v{pointer-events:none}svg.drawing.svelte-g4ws1v.svelte-g4ws1v,svg.editing.svelte-g4ws1v .svelte-g4ws1v{pointer-events:all}svg.hover.svelte-g4ws1v.svelte-g4ws1v{cursor:pointer}svg.svelte-g4ws1v .svelte-g4ws1v{pointer-events:all}text.svelte-1rehw2p{fill:#fff;font-family:Arial,Helvetica,sans-serif;font-weight:600}rect.svelte-1rehw2p{stroke-width:1.2;vector-effect:non-scaling-stroke}polygon.svelte-fgq4n0{stroke-width:1.2;vector-effect:non-scaling-stroke}rect.svelte-gze948{stroke-width:1.2;vector-effect:non-scaling-stroke}svg.svelte-1krwc4m{position:absolute;top:0;left:0;width:100%;height:100%;outline:none;pointer-events:none}svg.svelte-jwrce3{overflow:visible;position:absolute;top:0;left:0;width:100%;height:100%;outline:none;pointer-events:none}.a9s-osd-selectionlayer :is(rect,path,polygon,ellipse,line){fill:#3182ed40;stroke:#3182ed;stroke-width:1.5px;vector-effect:non-scaling-stroke}rect.a9s-union-fg.svelte-jwrce3{fill:#3182ed1f;stroke-width:1px}rect.a9s-union-bg.svelte-jwrce3{fill:transparent;stroke:#fff;stroke-width:2px}mask.a9s-rectangle-editor-mask.svelte-1bwhzbc rect.rect-mask-bg.svelte-1bwhzbc{fill:#fff}mask.a9s-rectangle-editor-mask.svelte-1bwhzbc polygon.rect-mask-fg.svelte-1bwhzbc{fill:#000}.a9s-rotation-handle-line-bg{stroke:#00000080;stroke-width:1.5px;vector-effect:non-scaling-stroke}.a9s-rotation-handle-line-fg{stroke:#fff;stroke-width:1px;stroke-dasharray:3 1;vector-effect:non-scaling-stroke}.a9s-edge-handle{fill:transparent;stroke:transparent;stroke-width:6px;vector-effect:non-scaling-stroke}[data-flipped=true] .a9s-handle.a9s-corner-handle-topleft,.a9s-handle.a9s-corner-handle-topright{cursor:ne-resize}[data-flipped=true] .a9s-handle.a9s-corner-handle-topright{cursor:nw-resize}[data-flipped=true] .a9s-handle.a9s-corner-handle-bottomright,.a9s-handle.a9s-corner-handle-bottomleft{cursor:sw-resize}[data-flipped=true] .a9s-handle.a9s-corner-handle-bottomleft{cursor:se-resize}circle.a9s-handle-buffer.svelte-qtyc7s:focus{outline:none}circle.a9s-handle-buffer.svelte-qtyc7s:focus-visible{stroke:#fffc;stroke-width:3px}.a9s-polygon-midpoint.svelte-12ykj76{cursor:crosshair}.a9s-polygon-midpoint-buffer.svelte-12ykj76{fill:transparent}.a9s-polygon-midpoint-outer.svelte-12ykj76{display:none;fill:transparent;pointer-events:none;stroke:#00000059;stroke-width:1.5px;vector-effect:non-scaling-stroke}.a9s-polygon-midpoint-inner.svelte-12ykj76{fill:#00000040;pointer-events:none;stroke:#fff;stroke-width:1px;vector-effect:non-scaling-stroke}mask.a9s-polygon-editor-mask.svelte-1h2slbm>rect.svelte-1h2slbm{fill:#fff}mask.a9s-polygon-editor-mask.svelte-1h2slbm>circle.svelte-1h2slbm,mask.a9s-polygon-editor-mask.svelte-1h2slbm>polygon.svelte-1h2slbm{fill:#000}mask.a9s-rectangle-editor-mask.svelte-1njczvj>rect.rect-mask-bg.svelte-1njczvj{fill:#fff}mask.a9s-rectangle-editor-mask.svelte-1njczvj>rect.rect-mask-fg.svelte-1njczvj{fill:#000}mask.a9s-multipolygon-editor-mask.svelte-1vxo6dc>rect.svelte-1vxo6dc{fill:#fff}mask.a9s-multipolygon-editor-mask.svelte-1vxo6dc>circle.svelte-1vxo6dc,mask.a9s-multipolygon-editor-mask.svelte-1vxo6dc>path.svelte-1vxo6dc{fill:#000}mask.a9s-rubberband-rectangle-mask.svelte-1a76qe7>rect.rect-mask-bg.svelte-1a76qe7{fill:#fff}mask.a9s-rubberband-rectangle-mask.svelte-1a76qe7>rect.rect-mask-fg.svelte-1a76qe7{fill:#000}mask.a9s-rubberband-polygon-mask.svelte-18wrg3t>rect.svelte-18wrg3t{fill:#fff}mask.a9s-rubberband-polygon-mask.svelte-18wrg3t>polygon.svelte-18wrg3t{fill:#000}circle.a9s-handle.svelte-18wrg3t.svelte-18wrg3t{fill:#fff;pointer-events:none;stroke:#00000059;stroke-width:1px;vector-effect:non-scaling-stroke}path.open.svelte-1w0132l{fill:transparent!important}.a9s-annotationlayer{box-sizing:border-box;height:100%;left:0;outline:none;position:absolute;top:0;touch-action:none;width:100%;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.a9s-annotationlayer.hover{cursor:pointer}.a9s-annotationlayer.hidden{display:none}.a9s-annotationlayer ellipse,.a9s-annotationlayer line,.a9s-annotationlayer path,.a9s-annotationlayer polygon,.a9s-annotationlayer rect{fill:transparent;shape-rendering:geometricPrecision;vector-effect:non-scaling-stroke;-webkit-tap-highlight-color:transparent}.a9s-touch-halo{fill:transparent;pointer-events:none;stroke-width:0;transition:fill .15s}.a9s-touch-halo.touched{fill:#fff6}.a9s-handle-buffer{fill:transparent}.a9s-handle [role=button]{cursor:inherit!important}.a9s-handle-dot{fill:#fff;pointer-events:none;stroke:#00000059;stroke-width:1px;vector-effect:non-scaling-stroke}.a9s-handle-dot.selected{fill:#1a1a1a;stroke:none}.a9s-handle-selected{animation:dash-rotate .35s linear infinite reverse;fill:#ffffff40;stroke:#000000e6;stroke-dasharray:2 2;stroke-width:1px;pointer-events:none;vector-effect:non-scaling-stroke}@keyframes dash-rotate{0%{stroke-dashoffset:0}to{stroke-dashoffset:4}}.a9s-edge-handle{fill:transparent;stroke:transparent;stroke-width:6px}.a9s-shape-handle,.a9s-handle{cursor:move}.a9s-handle.a9s-corner-handle{cursor:crosshair}.a9s-edge-handle-top{cursor:n-resize}.a9s-edge-handle-right{cursor:e-resize}.a9s-edge-handle-bottom{cursor:s-resize}.a9s-edge-handle-left{cursor:w-resize}.a9s-handle.a9s-corner-handle-topleft{cursor:nw-resize}.a9s-handle.a9s-corner-handle-topright{cursor:ne-resize}.a9s-handle.a9s-corner-handle-bottomright{cursor:se-resize}.a9s-handle.a9s-corner-handle-bottomleft{cursor:sw-resize}.a9s-annotationlayer .a9s-outer,div[data-theme=dark] .a9s-annotationlayer .a9s-outer{display:none}.a9s-annotationlayer .a9s-inner,div[data-theme=dark] .a9s-annotationlayer .a9s-inner{fill:#0000001f;stroke:#000;stroke-width:1px}rect.a9s-handle,div[data-theme=dark] rect.a9s-handle{fill:#000;rx:2px}rect.a9s-close-polygon-handle,div[data-theme=dark] rect.a9s-close-polygon-handle{fill:#000;rx:1px}.a9s-annotationlayer .a9s-outer,div[data-theme=light] .a9s-annotationlayer .a9s-outer{display:block;stroke:#00000059;stroke-width:3px}.a9s-annotationlayer .a9s-inner,div[data-theme=light] .a9s-annotationlayer .a9s-inner{fill:#ffffff26;stroke:#fff;stroke-width:1.5px}rect.a9s-handle,div[data-theme=light] rect.a9s-handle{fill:#fff;rx:1px;stroke:#00000073;stroke-width:1px}rect.a9s-close-polygon-handle,div[data-theme=light] rect.a9s-close-polygon-handle{fill:#fff;rx:1px;stroke:#00000073;stroke-width:1px}mask.a9s-ellipse-editor-mask.svelte-wdm5en>rect.svelte-wdm5en{fill:#fff}mask.a9s-ellipse-editor-mask.svelte-wdm5en>ellipse.svelte-wdm5en{fill:#000}mask.a9s-rubberband-ellipse-mask.svelte-1koqlb3>rect.svelte-1koqlb3{fill:#fff}mask.a9s-rubberband-ellipse-mask.svelte-1koqlb3>ellipse.svelte-1koqlb3{fill:#000}path.a9s-outer.svelte-1fo8cp4{stroke:#00000059;stroke-width:8px;vector-effect:non-scaling-stroke}path.a9s-inner.svelte-1fo8cp4{stroke:#fff;stroke-width:2px;vector-effect:non-scaling-stroke}.a9s-annotationlayer .a9s-annotation path.open.svelte-1fo8cp4{fill:transparent}circle.a9s-handle.svelte-1fo8cp4{fill:#fff;pointer-events:none;stroke:#00000059;stroke-width:1px;vector-effect:non-scaling-stroke}.a9s-bezier-handle.svelte-103tdqm .a9s-tangent-line.a9s-outer.svelte-103tdqm{stroke:#000c;stroke-width:2.5px;vector-effect:non-scaling-stroke}.a9s-bezier-handle.svelte-103tdqm .a9s-tangent-line.a9s-inner.svelte-103tdqm{stroke:#fff;stroke-dasharray:4 1;stroke-width:1.5px;vector-effect:non-scaling-stroke}circle.a9s-tangent-handle.svelte-103tdqm.svelte-103tdqm{fill:#000;cursor:crosshair;stroke:#fff;stroke-width:1px;vector-effect:non-scaling-stroke}circle.a9s-tangent-handle.pointer-none.svelte-103tdqm.svelte-103tdqm{pointer-events:none}circle.a9s-tangent-handle-buffer.svelte-103tdqm.svelte-103tdqm{fill:transparent;stroke-width:0;transition:fill .15s}circle.a9s-tangent-handle-buffer.touched.svelte-103tdqm.svelte-103tdqm{fill:#fff6}.a9s-annotationlayer .a9s-annotation path.polyline.open.svelte-sq8d4p.svelte-sq8d4p{fill:transparent!important}mask.a9s-polygon-editor-mask.svelte-sq8d4p>rect.svelte-sq8d4p{fill:#fff}mask.a9s-polygon-editor-mask.svelte-sq8d4p>circle.svelte-sq8d4p{fill:#000}.mask-buffer.svelte-sq8d4p.svelte-sq8d4p{fill:none}:root{color-scheme:light dark;--plum: #8c3177;--teal: #00a4c5;--desk: #f4eef3;--proof: #ffffff;--proof-tint: #f4eef3;--ink: #33303a;--ink-soft: #6b6473;--stamp: #8c3177;--stamp-pressed: #6e2660;--on-stamp: #ffffff;--proof-edge: #8f8292;--cue: #00687d;--redline: #b00020;--ink-faded: #6b6473;--on-faded: #ffffff;--teal-tab: var(--teal);--sheet-shadow: rgb(0 0 0 / .18);--dim: rgb(51 48 58 / .55);--font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--desk: #1a1519;--proof: #252026;--proof-tint: #33293a;--ink: #efe7ee;--ink-soft: #b9aeb8;--stamp: #e7a3d8;--stamp-pressed: #f1c3e6;--on-stamp: #2a1726;--proof-edge: #8e8090;--cue: #5ed3ea;--redline: #ff8e9e;--ink-faded: #5e5560;--on-faded: #efe7ee;--teal-tab: #4cc9e4;--sheet-shadow: rgb(0 0 0 / .5);--dim: rgb(0 0 0 / .65)}}:root[data-theme=dark]{color-scheme:dark;--desk: #1a1519;--proof: #252026;--proof-tint: #33293a;--ink: #efe7ee;--ink-soft: #b9aeb8;--stamp: #e7a3d8;--stamp-pressed: #f1c3e6;--on-stamp: #2a1726;--proof-edge: #8e8090;--cue: #5ed3ea;--redline: #ff8e9e;--ink-faded: #5e5560;--on-faded: #efe7ee;--teal-tab: #4cc9e4;--sheet-shadow: rgb(0 0 0 / .5);--dim: rgb(0 0 0 / .65)}:root[data-theme=light]{color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--desk);color:var(--ink);font:15px/1.55 var(--font)}h1:focus{outline:none}h1{margin:0 0 8px;color:var(--stamp);font-size:26px;line-height:1.25;font-weight:800}h2{margin:0 0 8px;font-size:17px;color:var(--stamp)}button,textarea,input,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--cue);outline-offset:2px}::placeholder{color:var(--ink-soft);opacity:1}.shell{max-width:1200px;margin:0 auto;padding:0 16px 120px}.topbar{display:flex;height:6px;margin:0 -16px}.topbar span:first-child{flex:7;background:var(--stamp)}.topbar span:last-child{flex:3;background:var(--teal-tab)}.header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:12px 0}.header-tools{display:flex;align-items:center;gap:8px}.theme{display:inline-flex;align-items:center;gap:6px;font-size:14px}.theme select{min-height:36px;padding:4px 8px;border:1px solid var(--proof-edge);border-radius:6px;background:var(--proof);color:var(--ink)}.brand{font-weight:700;color:var(--stamp);font-size:14px}.intro{background:var(--proof);border-radius:8px;border-left:4px solid var(--teal-tab);padding:16px 20px;margin-bottom:16px}.intro p{margin:0 0 6px}.meta{color:var(--ink-soft)}.layout{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"viewer sheet" "viewer decide";align-items:start}.viewer{grid-area:viewer;background:var(--proof);border-radius:8px;padding:12px}.sheet{grid-area:sheet;background:var(--proof);border-radius:8px;padding:16px}.decide{grid-area:decide;background:var(--proof);border-radius:8px;padding:16px}.sheet-toggle{display:none}.tabs{display:flex;gap:8px;overflow-x:auto;padding:6px 6px 8px}.tab{position:relative;flex:0 0 auto;width:64px;padding:4px;border:1px solid var(--proof-edge);border-radius:6px;background:var(--proof);cursor:pointer;text-align:center;font-size:13px}.tab img{display:block;width:100%;height:48px;object-fit:cover;border-radius:3px;background:var(--proof-tint)}.tab[aria-current=page]{border-color:var(--stamp);box-shadow:0 0 0 1px var(--stamp);font-weight:700}.tab .count{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:var(--stamp);color:var(--on-stamp);font-size:12px;line-height:22px;font-weight:700}.toolbar{display:flex;flex-wrap:wrap;gap:6px}.tool{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid var(--proof-edge);border-radius:6px;background:var(--proof);cursor:pointer}.tool[aria-pressed=true]{border-color:var(--stamp);box-shadow:0 0 0 1px var(--stamp);background:var(--stamp);color:var(--on-stamp)}.tool .icon{width:16px;height:14px;border:2px solid currentColor}.tool-ellipse .icon{border-radius:50%;width:18px;height:13px}.tool-polygon .icon{border:0;width:16px;height:16px;background:currentColor;clip-path:polygon(50% 0,100% 40%,80% 100%,20% 100%,0 40%)}.tool-freehand .icon{width:17px;height:13px;border-radius:55% 45% 60% 40%/60% 50% 50% 40%;border-right-color:transparent;transform:rotate(-35deg)}.tool-select .icon{border:0;width:14px;height:16px;background:currentColor;clip-path:polygon(0 0,100% 65%,55% 70%,75% 100%,60% 100%,40% 72%,0 100%)}.hint{margin:6px 0;color:var(--ink-soft);font-size:13px}.stage{position:relative;min-height:200px}.canvas{position:relative;line-height:0;width:fit-content;max-width:100%;margin:0 auto}.canvas img{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;user-select:none;-webkit-user-select:none}.canvas.drawing,.canvas.drawing .a9s-annotationlayer{touch-action:none}.canvas:not(.drawing) .a9s-annotationlayer:not(.editing){touch-action:pan-x pan-y pinch-zoom}.freehand{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:1;touch-action:none;cursor:crosshair}.canvas .a9s-annotationlayer .a9s-annotation .a9s-outer,.canvas .freehand .a9s-outer{display:block;fill:none;stroke:#fffffff2;stroke-width:6px;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.canvas .a9s-annotationlayer .a9s-annotation .a9s-inner,.canvas .freehand .a9s-inner{fill:#8c31771f;stroke:var(--plum);stroke-width:3px;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.canvas .freehand .a9s-inner{fill:none;stroke-dasharray:7 5}.canvas .a9s-annotationlayer .a9s-annotation.a9s-rubberband .a9s-inner{stroke-dasharray:7 5}.canvas .a9s-annotationlayer .a9s-annotation.selected .a9s-inner{stroke:#00687d!important;stroke-width:3.5px;fill:#00687d24!important}.canvas .a9s-annotationlayer .a9s-annotation.selected .a9s-outer{stroke-width:8px}.canvas .a9s-annotationlayer .a9s-handle{fill:#fff;stroke:#00687d;stroke-width:1.5px}.badge{position:absolute;z-index:2;transform:translate(-50%,-50%);min-width:28px;height:28px;padding:0 6px;border-radius:14px;border:2px solid #fff;background:var(--plum);color:#fff;font:700 14px/24px var(--font);text-align:center;pointer-events:none;box-shadow:0 0 0 1px #00000059,0 1px 3px #00000059}.loading{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;display:grid;place-items:center;background:var(--proof-tint);color:var(--ink-soft);z-index:3}.img-error{padding:24px;border:1px dashed var(--proof-edge);border-radius:8px;text-align:center}.img-error p{margin:0 0 8px}.marks{list-style:none;margin:0;padding:0;display:grid;gap:10px}.mark{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start}.mark .num{width:32px;height:32px;border-radius:16px;border:0;background:var(--stamp);color:var(--on-stamp);font-weight:700;cursor:pointer}.mark textarea,.decide textarea{width:100%;padding:8px;border:1px solid var(--proof-edge);border-radius:6px;background:var(--proof);resize:vertical}.mark.invalid textarea{border-color:var(--redline);box-shadow:0 0 0 1px var(--redline)}.mark textarea:focus-visible,.decide textarea:focus-visible{outline:none;border-color:var(--cue);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cue) 35%,transparent)}.small{display:block;font-size:12px;color:var(--ink-soft);line-height:1.4}.field-error,.error{color:var(--redline);font-weight:600;margin:4px 0}.error:before,.field-error:before{content:"⚠ "}.empty{color:var(--ink-soft);margin:0}.label{display:block;font-weight:700}.choice{border:0;padding:0;margin:14px 0 8px;display:grid;gap:8px}.option{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--proof-edge);border-radius:6px;cursor:pointer}.option.checked{border-color:var(--stamp);box-shadow:0 0 0 1px var(--stamp);background:var(--proof-tint)}.option input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--stamp)}.option small{color:var(--ink-soft)}.btn{min-height:44px;padding:10px 20px;border-radius:6px;font-weight:700;cursor:pointer}.btn.primary{width:100%;border:0;background:var(--stamp);color:var(--on-stamp)}.btn.primary:hover:not(:disabled){background:var(--stamp-pressed)}.btn.primary:disabled{background:var(--ink-faded);color:var(--on-faded);cursor:not-allowed}.btn.secondary{border:2px solid var(--stamp);background:var(--proof);color:var(--stamp)}.btn.link{min-height:44px;padding:6px 8px;border:0;background:none;color:var(--stamp);text-decoration:underline}.cancel-send{width:100%;margin-top:8px}.confirm{border:0;border-radius:8px;padding:20px;max-width:min(420px,calc(100vw - 32px));background:var(--proof);color:var(--ink)}.confirm::backdrop{background:var(--dim)}.confirm .row{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.confirm .btn.primary{width:auto}.notice{background:var(--proof);border-radius:8px;border-left:4px solid var(--teal-tab);padding:24px;margin-top:8px}.notice.ok h1:before{content:"✓ "}.notice p:last-of-type{margin-bottom:0}.notice .actions{margin-top:20px}.notice .actions .error{margin-top:12px}.notice .sent{margin:0;padding:12px 16px;border-radius:6px;background:var(--proof-tint);font-weight:600}.notice .progress{display:block;height:3px;margin-top:20px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--teal-tab),transparent) 0 0 / 40% 100% no-repeat var(--proof-tint);animation:sweep 1.4s ease-in-out infinite}@keyframes sweep{0%{background-position:-40% 0}to{background-position:140% 0}}@media(prefers-reduced-motion:reduce){.notice .progress{animation:none;background:var(--teal-tab);opacity:.5}}@media(max-width:860px){.layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"viewer" "decide"}.viewer{padding:8px}.sheet{position:fixed;z-index:10;left:0;right:0;bottom:0;padding:0 16px 12px;border-radius:12px 12px 0 0;box-shadow:0 -4px 16px var(--sheet-shadow);max-height:60vh;overflow-y:auto}.sheet-toggle{display:block;position:sticky;top:0;width:calc(100% + 32px);margin:0 -16px 8px;min-height:48px;border:0;border-radius:12px 12px 0 0;background:var(--stamp);color:var(--on-stamp);font-weight:700;cursor:pointer}.sheet h2,.sheet #marks-list{display:none}.sheet.open h2,.sheet.open #marks-list{display:block}.sheet:not(.open){padding-bottom:0}}
