.stitcher-page{padding:14px 0 48px}.stitcher-tool{display:grid;grid-template-columns:minmax(310px,400px) minmax(0,1fr);gap:18px;margin-top:12px}.stitcher-controls,.stitcher-preview{border:2px solid var(--line);background:rgba(255,250,242,.96);box-shadow:var(--shadow)}.stitcher-controls{padding:16px;display:grid;align-content:start;gap:11px}.stitcher-controls h1{font-size:clamp(2.1rem,4vw,3.45rem)}.stitcher-lede{margin:0;color:var(--muted);line-height:1.45}.stitch-dropzone{padding:14px;display:grid;gap:3px;border:1px dashed var(--line);background:#fff;text-align:center;cursor:pointer}.stitch-dropzone.is-over{background:var(--yellow);outline:3px solid var(--accent)}.stitch-dropzone span{color:var(--muted);font-size:.76rem}.stitcher-controls fieldset{min-width:0;margin:0;padding:10px;display:grid;gap:10px;border:1px solid rgba(21,21,21,.5)}.stitcher-controls legend{padding:0 6px;color:var(--green);font:900 .72rem/1.2 "Courier New",monospace;letter-spacing:.08em;text-transform:uppercase}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.switch-row>span{display:grid;gap:2px}.switch-row small,.control-help{color:var(--muted);font-size:.74rem;line-height:1.35}.switch-row input{width:20px;height:20px;accent-color:var(--accent)}.stitch-slider{display:grid;grid-template-columns:72px minmax(0,1fr) 40px;align-items:center;gap:8px;color:var(--muted);font-size:.82rem;font-weight:800}.stitch-slider input{width:100%;accent-color:var(--accent)}.stitch-slider output{text-align:right;color:var(--ink);font-family:"Courier New",monospace}.control-help{margin:0}.stitch-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.82rem;font-weight:800}.stitch-list-head button{border:0;background:transparent;color:var(--accent);font-weight:800;cursor:pointer}.stitch-list-head button:disabled{opacity:.4;cursor:default}.stitch-list{max-height:205px;margin:0;padding:0;display:grid;gap:6px;overflow:auto;list-style:none}.stitch-list li{min-width:0;padding:7px 8px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid rgba(21,21,21,.28);background:#fff}.stitch-list .empty-list{display:block;padding:12px;color:var(--muted);font-size:.8rem;line-height:1.4}.stitch-list img{width:38px;height:44px;object-fit:cover}.stitch-list .file-meta{min-width:0;display:grid}.stitch-list .file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-weight:800}.stitch-list small{color:var(--muted);font-size:.68rem}.stitch-item-actions{display:flex;gap:3px}.stitch-item-actions button{width:27px;height:27px;padding:0;border:1px solid var(--line);background:var(--paper);cursor:pointer;font-weight:900}.stitch-downloads{display:grid;grid-template-columns:1fr 1fr;gap:7px}.stitcher-preview{min-height:660px;padding:12px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px}.stitch-preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(21,21,21,.18)}.stitch-preview-head>div:first-child{display:grid;gap:3px}.stitch-preview-head span:not(.chip){color:var(--muted);font-size:.82rem}.overlap-report{min-height:38px;padding:9px 11px;border:1px solid rgba(21,21,21,.25);background:#fff;color:var(--muted);font-size:.76rem;line-height:1.4}.overlap-report strong{color:var(--green)}.overlap-report .join-warning{color:#9a3f22}.stitch-canvas-wrap{min-height:0;display:grid;place-items:start center;overflow:auto;background:repeating-conic-gradient(#e5ebe7 0 25%,#edf2ef 0 50%) 50%/22px 22px}.stitch-canvas-wrap canvas{display:block;max-width:calc(100% - 24px);width:auto;height:auto;margin:12px;background:#fff;box-shadow:0 12px 28px rgba(21,21,21,.14)}.stitcher-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.stitcher-content .content-panel,.stitcher-how,.stitcher-faq{padding:clamp(18px,3vw,32px)}.stitcher-content h2,.stitcher-how h2,.stitcher-faq h2{margin-top:8px}.stitcher-content p:not(.kicker),.stitcher-how li,.stitcher-faq p{color:var(--muted);line-height:1.65}.stitcher-how,.stitcher-faq{margin-top:18px}.stitcher-how ol{padding-left:22px;display:grid;gap:8px}.stitcher-how strong{color:var(--ink)}.stitcher-page .related-tools{margin-top:18px;padding:24px;display:grid;grid-template-columns:.7fr 1.3fr;gap:20px;border:2px solid var(--line);background:var(--yellow);box-shadow:var(--shadow)}.stitcher-page .related-tools h2{margin-top:7px}.stitcher-page .related-links{display:grid;gap:7px}.stitcher-page .related-links a{padding:11px 13px;display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);background:#fff;text-decoration:none;font-weight:800}.stitcher-page .related-links span{color:var(--muted);font-size:.8rem;font-weight:400}@media(max-width:920px){.stitcher-tool,.stitcher-content,.stitcher-page .related-tools{grid-template-columns:1fr}.stitcher-preview{min-height:520px}}@media(max-width:560px){.stitch-preview-head{align-items:flex-start;flex-direction:column}.stitch-downloads{grid-template-columns:1fr}.stitcher-page .related-links a{flex-direction:column}}
.stitch-add-actions{display:grid;grid-template-columns:1.25fr .75fr;gap:7px}
