.image-stitching{background:var(--bg-solid)}.image-stitching .gif-editor-upload>div{min-width:0}.image-stitching-upload-actions{display:flex;flex-wrap:wrap;gap:10px}.image-stitching-examples{width:100%}.image-stitching-layout{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:start;gap:24px;margin-top:24px}.image-stitching-layout>*,.image-stitching-sources>li,.image-stitching-source-info{min-width:0}.image-stitching-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}.image-stitching-sources>li{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border-primary);border-radius:10px;background:var(--bg-card)}.image-stitching-sources img{width:72px;height:72px;object-fit:cover;border-radius:6px;flex-shrink:0}.image-stitching-source-info{flex:1}.image-stitching-source-info strong,.image-stitching-order li{overflow-wrap:anywhere}.image-stitching-source-info p{margin:4px 0 0;font-variant-numeric:tabular-nums}.image-stitching-sources button{flex-shrink:0}.image-stitching .image-stitching-flagged{border-color:var(--red-500)}.image-stitching .image-stitching-check{color:var(--red-500);font-weight:600}.image-stitching .image-stitching-error{border-color:var(--red-500)}.image-stitching-error p:last-child{margin-bottom:0}.image-stitching-affected{display:block;margin-top:4px}.image-stitching .image-stitching-checkbox{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.image-stitching .image-stitching-checkbox input{width:20px;height:20px;min-height:20px;flex:0 0 20px;padding:0;accent-color:var(--accent-primary)}.image-stitching-guidance{padding:20px}.image-stitching-guidance ul{list-style:disc;padding-left:20px;color:var(--text-secondary)}.image-stitching-guidance li{margin-bottom:12px;line-height:1.65}.image-stitching-privacy{padding-top:14px;border-top:1px solid var(--border-primary)}.image-stitching-result-stage{display:grid;place-items:center;min-height:180px;margin-top:16px;padding:12px;border:1px solid var(--border-primary);border-radius:8px;background:conic-gradient(var(--border-primary) 25%,var(--bg-card) 0 50%,var(--border-primary) 0 75%,var(--bg-card) 0) 0 0 / 20px 20px}.image-stitching-result-stage img{display:block;max-width:100%;max-height:540px;object-fit:contain}.image-stitching-order{list-style:decimal;padding-left:24px;margin:0 0 20px;color:var(--text-secondary)}.image-stitching-order li{margin-bottom:4px}.stitching-review-tabs{display:flex;gap:8px;margin-top:16px}.stitching-review-tabs button{flex:1;min-width:0}.gif-editor .stitching-review-tabs [aria-selected=true],.gif-editor .stitching-placement-photos [aria-pressed=true]{border-color:var(--accent-primary);color:var(--accent-primary);font-weight:700;background:var(--bg-solid);box-shadow:inset 0 -3px var(--accent-primary)}.stitching-review [role=tabpanel]:focus-visible,.stitching-review button:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}.stitching-placement-map{display:block;width:100%;max-height:540px;overflow:hidden}.stitching-placement-map polygon{fill:none;stroke:var(--bg-solid);stroke-width:2px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke;paint-order:stroke}.stitching-placement-map polygon.is-selected{fill:var(--accent-primary);fill-opacity:.2;stroke:var(--accent-primary);stroke-width:3px;stroke-dasharray:none}.stitching-placement-map circle{fill:var(--bg-solid);stroke:var(--text-primary);stroke-width:1px;vector-effect:non-scaling-stroke}.stitching-placement-map text{fill:var(--text-primary);font-weight:700}.stitching-placement-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.gif-editor .stitching-placement-photos button{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;text-align:left}.stitching-placement-photos img{width:48px;height:36px;object-fit:cover;border-radius:4px;flex-shrink:0}.stitching-placement-photos span{min-width:0;overflow-wrap:anywhere}@media (max-width: 767px){.image-stitching-layout,.image-stitching-sources{grid-template-columns:minmax(0,1fr)}.image-stitching-layout{gap:12px}.image-stitching-guidance{padding:16px}.image-stitching-sources>li{gap:8px;padding:10px}.image-stitching-sources img{width:48px;height:60px}.image-stitching-sources button{padding:10px}}
