/* Image Stitcher shares existing ToolPaxa upload, preview and field styling. */
.image-stitcher .stitch-frame{display:flex;justify-content:center;align-items:center;overflow:hidden;min-height:120px;background-color:#fafbfd;background-image:linear-gradient(45deg,#e4eaf3 25%,transparent 25%),linear-gradient(-45deg,#e4eaf3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e4eaf3 75%),linear-gradient(-45deg,transparent 75%,#e4eaf3 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.image-stitcher .stitch-frame[hidden]{display:none!important}
.image-stitcher #stitch-preview{display:block;max-width:100%;max-height:560px;width:auto;height:auto;object-fit:contain}
.image-stitcher .file-row{min-width:0}
.image-stitcher .file-actions{display:flex;flex-wrap:wrap;gap:4px}
.image-stitcher .file-name{overflow-wrap:anywhere;unicode-bidi:plaintext}
.image-stitcher #stitch-result[hidden]{display:none}
.image-stitcher #stitch-result{padding:1.5rem;border:1px solid var(--border,#d9e2f0);border-radius:16px;margin-top:24px}
.image-stitcher .stitch-note{color:var(--muted,#64748b)}
@media(max-width:680px){.image-stitcher .stitch-frame{min-height:80px}.image-stitcher .file-actions .icon-button{min-width:36px;min-height:36px}}
@media(prefers-reduced-motion:reduce){.image-stitcher *{scroll-behavior:auto!important;animation:none!important}}
