/* Controls specific to the screenshot stitcher. */
.stitch-page .workspace{grid-template-columns:320px minmax(0,1fr);align-items:start}
.stitch-page .controls{min-width:0}
.stitch-page .preview-panel{align-self:stretch;position:relative}
.stitch-page .stage{min-height:560px;flex:0 1 auto}
.stitch-page .preview-toolbar{position:relative}
.stitch-page .preview-footer{margin-top:auto}
.reorder-hint,.setting-hint{font-size:11px;color:var(--muted);line-height:1.65;margin:8px 0 12px}
.reorder-hint{margin-top:-3px}
.stitch-page .image-list{max-height:280px;gap:9px}
.stitch-page .image-item{cursor:grab;position:relative;min-width:0}
.stitch-page .image-item.dragging{opacity:.45}
.stitch-page .image-item.drop-before{border-top:3px solid #729541}
.stitch-page .image-item.drop-after{border-bottom:3px solid #729541}
.image-thumb{width:40px;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;border-radius:5px;background:#fff}
.stitch-page .image-thumb img{width:34px;height:34px;object-fit:contain;border:0;border-radius:0;pointer-events:none}
.stitch-page .image-actions{gap:1px;flex-shrink:0}
.stitch-page .image-actions button{width:26px;min-width:26px;height:32px;font-size:16px}
.presets{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.presets button{background:#f1f3ec;border:1px solid #e3e7dc;border-radius:6px;color:#50603d;padding:7px 8px;font-size:11px}
.presets button:hover{background:#e4ecd7}
.stitch-page .direction{margin-bottom:14px;gap:2px}
.stitch-page .direction span{white-space:nowrap;padding:9px 3px;font-size:12px}
.stitch-page .filename{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:13px}
.stitch-page .filename::placeholder{color:#969aa3}
.stitch-page .download{margin-top:22px}
.stitch-page .status{overflow-wrap:anywhere}
.render-error{font-size:14px;line-height:1.8;color:#bd3b3b;padding:16px}
.stitch-page .intro-copy{max-width:580px}
@media(min-width:721px){.stitch-page .preview-panel{position:sticky;top:16px;max-height:calc(100vh - 32px);min-height:520px}.stitch-page .workspace{overflow:visible}.stitch-page .stage{flex:1;min-height:0}.stitch-page .canvas-container canvas{max-height:calc(100vh - 230px)}.stitch-page .controls{border-right:1px solid var(--line)}.stitch-page .preview-toolbar{border-top-right-radius:16px}.stitch-page .preview-footer{border-bottom-right-radius:16px}}
@media(max-width:1000px) and (min-width:721px){.stitch-page .workspace{grid-template-columns:285px minmax(0,1fr)}.stitch-page .controls{padding:24px 18px}.stitch-page .image-actions button{min-width:23px;width:23px}.stitch-page .preview-toolbar{padding:0 16px}.stitch-page #dimensions{font-size:10px}}
@media(max-width:720px){.stitch-page .workspace{display:flex}.stitch-page .controls{width:100%}.stitch-page .stage{min-height:330px}.stitch-page .image-actions button{min-width:32px;width:32px;height:36px}.stitch-page .image-thumb{width:36px}.stitch-page .reorder-hint{font-size:11px}.stitch-page .presets{gap:8px}.stitch-page .presets button{flex:1;font-size:12px;padding:9px 3px}.stitch-page .direction span{font-size:13px}.stitch-page .preview-panel{min-height:430px}.stitch-page .setting-hint{font-size:12px}}
