.study{margin:2.4rem 0;border-top:1px solid #cbd4c9;padding-top:1.6rem}.study-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.study-grid figure{margin:0;background:#f8f5ec;border:1px solid #d9d9ce;border-radius:12px;overflow:hidden}.study-grid img{display:block;width:100%;height:auto;image-rendering:pixelated}.study-grid figcaption{padding:.8rem 1rem;font-size:.93rem;line-height:1.5}.study-table{overflow-x:auto;margin:1.5rem 0}.study-table table{width:100%;border-collapse:collapse;min-width:460px}.study-table caption{text-align:left;font-weight:700;padding:.5rem 0}.study-table th,.study-table td{padding:.7rem;border-bottom:1px solid #d9d9ce;text-align:left}.study-table thead{background:#eef2eb}.study-note{font-size:.93rem;line-height:1.65}.study-downloads li{margin:.8rem 0}.study-feature{display:grid;grid-template-columns:minmax(160px,260px) 1fr;gap:2rem;align-items:center}.study-feature img{width:100%;height:auto;border-radius:14px;image-rendering:pixelated}.study-feature p{max-width:58ch}@media(max-width:580px){.study-grid{grid-template-columns:1fr}.study-feature{grid-template-columns:1fr;gap:1rem}.study-feature img{max-width:260px}.study-table th,.study-table td{padding:.55rem}}

.stitch-compare {margin:2rem 0; scroll-margin-top:1rem}
.stitch-maps {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1rem 0}
.stitch-maps figure {margin:0; border:1px solid #cbd4c9; border-radius:12px; overflow:hidden; background:#faf8f1}
.stitch-picture {position:relative; overflow:hidden}
.stitch-picture.can-inspect {cursor:crosshair}
.stitch-picture img {display:block; width:100%; height:auto; image-rendering:pixelated}
.stitch-pin {position:absolute; pointer-events:none; transform:translate(-50%,-50%); width:11px; height:11px; border:2px solid #fff; outline:2px solid #17291f; border-radius:50%}
.stitch-maps figcaption {padding:.65rem .85rem; font-size:.94rem; line-height:1.45}
.stitch-lookup {padding:1rem; border:1px solid #b5c6ba; border-radius:12px; background:#f3f5ef}
.stitch-lookup fieldset {padding:0; margin:0; border:0; min-width:0}
.stitch-lookup legend {font-weight:700; font-size:1.16rem}
.stitch-inputs,.stitch-samples {display:flex; flex-wrap:wrap; align-items:flex-end; gap:.65rem; margin:.8rem 0}
.stitch-inputs label {display:grid; gap:.2rem; font-weight:600}
.stitch-inputs input {display:block; width:4.75rem; min-height:44px; background:#fff; color:#1d3227; border:1px solid #718977; border-radius:6px; padding:.3rem .5rem; font:inherit}
.stitch-lookup button {border:1px solid #506e57; padding:.4rem .8rem; min-height:44px; border-radius:6px; background:white; color:#254b33; cursor:pointer; font:inherit}
.stitch-inputs button {background:#315c48; color:#fff}
.stitch-lookup :focus-visible {outline:3px solid #995000; outline-offset:2px}
.stitch-result {display:block; margin-top:1rem}
.stitch-result ul {padding:0; margin:.45rem 0 0; list-style:none}
.stitch-result li {margin:.25rem 0}
.thread-swatch {display:inline-block; width:1rem; height:1rem; margin-right:.52rem; vertical-align:-.12rem; border:1px solid #566157; border-radius:3px}
@media(max-width:470px){.stitch-maps {grid-template-columns:1fr}.stitch-maps figure {width:100%; max-width:23rem}}

