.cross-stitch-page{--xs-ink: #302723;--xs-muted: #695c53;--xs-line: #e3d6c7;--xs-surface: #fffdfa;--xs-tint: #f8e9dc;--xs-accent: #933e30;--xs-accent-hover: #793124;--xs-paper: #f9f5ee;--xs-board: #f5ecdd;background:var(--xs-paper);color:var(--xs-ink);padding-bottom:clamp(2.5rem,7vw,5rem)}.cross-stitch-container{width:min(calc(100% - 3rem),1120px);margin-inline:auto}.cross-stitch-hero{padding:clamp(2rem,6vw,4.55rem) 0 clamp(1.3rem,3vw,2.15rem)}.cross-stitch-hero h1{margin:0 0 .75rem;font-size:clamp(2.45rem,6.45vw,4.65rem);letter-spacing:-.062em;line-height:.99;text-wrap:balance}.cross-stitch-hero p{color:var(--xs-muted);font-size:clamp(1rem,2.2vw,1.21rem);margin:0;max-width:59ch}.cross-stitch-page h2,.cross-stitch-page h3{margin:0;letter-spacing:-.036em;text-wrap:pretty}.cross-stitch-page h2{font-size:clamp(1.55rem,3.5vw,2.35rem)}.cross-stitch-page h3{font-size:1.14rem}.cross-stitch-page a{color:var(--xs-accent);text-underline-offset:.18em}.cross-stitch-page :focus-visible{outline:2px solid var(--xs-accent);outline-offset:3px}.cross-stitch-page h2[tabindex]:focus{outline:none}.xs-studio{scroll-margin-top:1rem}.xs-studio :is(button,input,select){font:inherit}.xs-studio button:not(:disabled),.xs-studio summary{cursor:pointer}.xs-sr-only{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}.xs-button,.xs-segments button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;padding:.48rem .82rem;border:1px solid var(--xs-line);border-radius:10px;color:var(--xs-ink);background:var(--xs-surface);font-weight:700!important;line-height:1.25;touch-action:manipulation}.xs-button:not(:disabled):hover,.xs-segments button:hover{border-color:#ba8d79;background:#fff8ef}.xs-button:disabled{opacity:.51}.xs-button.xs-primary{color:#fff;background:var(--xs-accent);border-color:var(--xs-accent)}.xs-button.xs-primary:not(:disabled):hover{background:var(--xs-accent-hover);border-color:var(--xs-accent-hover)}.xs-text-button{display:inline-flex;min-height:44px;align-items:center;padding:.2rem 0;border:0;border-radius:4px;background:none;color:var(--xs-accent);font-weight:700!important;text-align:left;touch-action:manipulation}.xs-text-button:hover{text-decoration:underline;text-underline-offset:.19em}.xs-hint{margin:.5rem 0;color:var(--xs-muted);font-size:.88rem;line-height:1.45}.xs-start,.xs-photo,.xs-editor{background:var(--xs-surface);border:1px solid var(--xs-line);border-radius:23px;box-shadow:0 12px 32px #533a2010;overflow:clip}.xs-start{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr)}.xs-start-body,.xs-sample-panel{padding:clamp(1.05rem,3.6vw,2.25rem)}.xs-start h2{font-size:clamp(1.45rem,3vw,1.9rem);margin-bottom:1.05rem}.xs-drop{display:flex;flex-direction:column;gap:.6rem;align-items:center;justify-content:center;min-height:174px;padding:1.05rem .55rem;text-align:center;border:1px dashed #bd8f76;border-radius:15px;background:#fdf3e8}.xs-drop[data-dragging=true]{border-color:var(--xs-accent);background:var(--xs-tint);box-shadow:inset 0 0 0 1px var(--xs-accent)}.xs-drop>span:last-child{color:var(--xs-muted);font-size:.85rem}.xs-upload-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;color:var(--xs-accent);background:#f6e2d7;font-size:1.25rem;font-weight:750}.xs-start-actions,.xs-actions,.xs-editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .8rem}.xs-start-actions{margin-top:.9rem}.xs-blank{display:grid;gap:.8rem;padding-top:1rem}.xs-blank>button{justify-self:start}.xs-sample-panel{background:#f0e5d5;display:grid;gap:.75rem;align-content:center}.xs-sample-visual{min-height:149px;display:grid;place-items:center;border:1px solid #dcc9b0;border-radius:14px;background-color:#f8eedb;background-image:linear-gradient(#ddd0b9 1px,transparent 1px),linear-gradient(90deg,#ddd0b9 1px,transparent 1px);background-size:15px 15px;background-position:center;overflow:clip}.xs-sample-visual img{display:block;max-width:80%;width:auto;height:120px;object-fit:contain}.xs-sample-copy h3{font-size:1.38rem}.xs-sample-copy p{margin:.23rem 0 0;color:var(--xs-muted);font-size:.9rem}.xs-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem}.xs-samples .xs-sample{justify-content:flex-start;text-align:left;font-size:.86rem;padding-inline:.55rem}.xs-sample img{object-fit:contain;border-radius:4px;flex:0 0 23px}.xs-stage-heading{padding:clamp(1rem,3vw,1.7rem) clamp(1rem,3vw,1.8rem);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.5rem 1rem}.xs-stage-heading .xs-text-button{font-size:.88rem;margin-top:-.55rem}.xs-stage-heading p{margin:.28rem 0 0;color:var(--xs-muted)}.xs-stage-heading>div{min-width:0}.xs-stage-heading h2,.xs-photo-intake h2{scroll-margin-block-start:1rem}.xs-photo-intake{display:grid;gap:.6rem;max-width:48rem;padding:clamp(.85rem,2.5vw,1.5rem)}.xs-photo-intake>.xs-text-button{justify-self:start}.xs-photo-intake>.xs-primary{min-height:48px}.xs-photo-picker{display:flex;align-items:center;gap:.8rem;padding:.55rem;width:100%;text-align:left;background:var(--xs-board);border:1px solid var(--xs-line);border-radius:12px;color:var(--xs-ink)}.xs-photo-picker:hover{border-color:#ba8d79}.xs-thumb{display:block;flex:none;overflow:hidden;border-radius:7px;background:#fffdfa}.xs-thumb img{display:block;width:74px;height:74px;object-fit:contain}.xs-photo-details{display:grid;gap:.2rem;min-width:0}.xs-photo-details strong{color:var(--xs-accent);text-decoration:underline;text-underline-offset:.18em}.xs-file-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.xs-editor-actions{margin:.65rem 0}.xs-photo-layout{display:grid;grid-template-columns:minmax(0,1.33fr) minmax(0,1fr);border-top:1px solid var(--xs-line)}.xs-crop-panel,.xs-settings{min-width:0;padding:clamp(1rem,3vw,1.8rem)}.xs-crop-panel{background:var(--xs-board)}.xs-crop-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 .5rem;margin-bottom:.4rem}.xs-crop-outer{display:grid;justify-items:center;border:1px solid var(--xs-line);border-radius:13px;background:#fffaf1;padding:.5rem;overflow:hidden}.xs-crop-image{position:relative;height:auto;width:auto;max-width:100%;max-height:380px;overflow:hidden;display:grid;place-items:stretch;margin:0 auto;touch-action:none;cursor:crosshair}.xs-crop-image img{position:absolute;inset:0;display:block;height:100%;width:100%;object-fit:contain;pointer-events:none}.xs-crop-frame{position:absolute;border:2px solid #fff;box-shadow:0 0 0 850px #2f241a61,inset 0 0 0 1px #5834278a;pointer-events:none}.xs-crop-controls summary,.xs-options summary{min-height:44px;padding:.68rem 0;font-size:.9rem;font-weight:730}.xs-settings{display:grid;gap:.9rem;align-content:start}.xs-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.xs-field{display:grid;gap:.25rem;min-width:0;color:var(--xs-muted);font-size:.9rem;font-weight:650}.xs-field input:not([type=range]),.xs-field select{min-height:44px;min-width:0;width:100%;max-width:100%;border:1px solid #d9c7b9;border-radius:8px;padding:.38rem .55rem;color:var(--xs-ink);background:#fff;font-size:1rem}.xs-field input[type=range]{width:100%;min-height:30px;margin:0;accent-color:var(--xs-accent)}.xs-range>span{display:flex;justify-content:space-between;gap:.4rem}.xs-range output{color:var(--xs-accent);font-variant-numeric:tabular-nums}.xs-kind{border:0;padding:0;margin:0;min-width:0}.xs-kind legend{color:var(--xs-muted);font-size:.9rem;font-weight:650;padding:0 0 .3rem}.xs-segments{display:flex;flex-wrap:wrap;gap:.25rem}.xs-segments button{padding-inline:.7rem}.xs-studio button[aria-pressed=true]{color:#772e22;background:#f8e5da;border-color:#c58a72}.xs-check{display:flex;align-items:start;gap:.5rem;min-height:44px;font-size:.93rem;cursor:pointer}.xs-check input{margin:.32rem .08rem 0 0;width:18px;height:18px;accent-color:var(--xs-accent);flex-shrink:0}.xs-check small{display:block;color:var(--xs-muted);font-size:.84rem}.xs-dimensions{display:grid;gap:.14rem;padding:.65rem .75rem;border-radius:9px;background:var(--xs-board);font-variant-numeric:tabular-nums}.xs-dimensions span{color:var(--xs-muted);font-size:.88rem}.xs-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem 1.05rem;padding:1rem 1.2rem;margin-bottom:.85rem;border:1px solid #c78a6f;border-radius:13px;background:#fbede0}.xs-confirm h2{font-size:1.32rem}.xs-confirm p{margin:.25rem 0 .6rem;color:var(--xs-muted)}.xs-mini-chart{display:block;width:90px;height:auto;max-height:95px;object-fit:contain;image-rendering:pixelated}.xs-error,.xs-notice,.xs-export-message{background:#faeeeb;color:#7c352a;border-radius:9px;padding:.65rem .85rem;margin:.65rem 0 0;font-size:.93rem;overflow-wrap:anywhere}.xs-export-message{background:#f4efdf;color:#4d462e}.xs-thread-sample{display:inline-flex;margin-inline-end:.4em;vertical-align:-.05em}.xs-thread-sample i{font:800 1.15em/.8 system-ui,sans-serif;-webkit-text-stroke:.3px #524a3d}@media(prefers-reduced-motion:no-preference){.xs-thread-sample i{animation:xs-stitch-in .22s ease-out both}.xs-thread-sample i:nth-child(2){animation-delay:70ms}.xs-thread-sample i:nth-child(3){animation-delay:.14s}@keyframes xs-stitch-in{0%{opacity:0;transform:translateY(-2px) rotate(-18deg)}to{opacity:1;transform:none}}}.xs-editor>:is(.xs-error,.xs-export-message){margin:0 1rem .75rem}.xs-photo .xs-photo-error{margin:0 1rem .75rem}.xs-notice .xs-text-button{min-height:35px}.xs-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,.49fr);border-top:1px solid var(--xs-line)}.xs-chart{min-width:0;background:var(--xs-board);padding:clamp(.65rem,2.35vw,1.35rem)}.xs-chart-bar,.xs-toolbar,.xs-zoom,.xs-tool-group{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.xs-toolbar{column-gap:.65rem}.xs-chart-bar{justify-content:space-between;gap:.5rem}.xs-chart-bar button,.xs-toolbar .xs-button{font-size:.87rem}.xs-zoom .xs-button{min-width:44px;padding-inline:.45rem}.xs-toolbar{margin:.65rem 0 .5rem}.xs-toolbar .xs-button{padding-inline:.57rem}.xs-board{--xs-board-height: min(63vh, 590px);position:relative;display:block;overflow:auto;max-height:var(--xs-board-height);min-height:160px;padding:12px;border:1px solid #d8c6af;border-radius:11px;background:#fff9ec;overscroll-behavior:contain;scrollbar-color:#c7a98c #fcf7ed}.xs-board canvas{display:block;width:auto;box-sizing:content-box;height:auto;max-width:none;margin:0 auto;outline:1px solid #bca78d;touch-action:none;cursor:crosshair}.xs-board[data-pan=true]{overscroll-behavior:auto}.xs-board[data-pan=true] canvas{touch-action:pan-x pan-y;cursor:grab}.xs-board[data-pan=true] canvas:active{cursor:grabbing}.xs-grid-help{color:var(--xs-muted);font-size:.86rem;margin:.48rem 0 0}.xs-original{width:100%;border:1px solid var(--xs-line);display:grid;place-items:center;min-height:240px;background:#fff9ec;margin-top:.7rem;border-radius:11px}.xs-original img{display:block;max-height:440px;max-width:100%;object-fit:contain}.xs-inspector{display:grid;gap:.9rem;align-content:start;min-width:0;padding:clamp(.9rem,2vw,1.3rem);background:#fffdfa}.xs-size{display:grid;align-content:start;gap:.08rem}.xs-size>strong{font-family:var(--heading-font);font-size:1.35rem;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.xs-size>span,.xs-size>p{color:var(--xs-muted);font-size:.87rem;font-variant-numeric:tabular-nums}.xs-size>p{margin:.35rem 0 0}.xs-size>label{margin-top:.55rem}.xs-threads{padding-top:.8rem;border-top:1px solid var(--xs-line);min-width:0}.xs-legend,.xs-palette-list{padding:0;margin:.35rem 0 0;list-style:none;overflow:auto;max-height:250px}.xs-legend button{display:grid;grid-template-columns:15px 14px minmax(28px,max-content) 1fr min-content;gap:.32rem;width:100%;min-height:44px;align-items:center;padding:.24rem .35rem;text-align:left;color:var(--xs-ink);border:1px solid transparent;border-radius:7px;background:none;font-size:.83rem}.xs-legend button:hover{background:#fbf2e8}.xs-swatch{width:15px;height:15px;display:inline-block;border:1px solid #39272066;border-radius:3px;flex:0 0 15px}.xs-key{text-align:center;font-weight:800;font-family:ui-monospace,monospace}.xs-thread-name,.xs-stitch-count{color:var(--xs-muted)}.xs-stitch-count{font-variant-numeric:tabular-nums;padding-left:.26rem}.xs-selected{display:flex;align-items:center;gap:.4rem;font-size:.85rem;margin:.5rem 0 0}.xs-threads>.xs-text-button{font-size:.87rem}.xs-palette{margin-bottom:.5rem}.xs-palette-list button{width:100%;justify-content:flex-start;font-size:.87rem;margin-bottom:.15rem}.xs-replace{display:grid;gap:.6rem;padding-bottom:.55rem}.xs-replace>.xs-button{justify-self:start}.xs-options{border-top:1px solid var(--xs-line)}.xs-options summary span{color:var(--xs-muted);font-weight:500;display:block;font-size:.83rem}.xs-print .xs-field-grid{grid-template-columns:1fr}.xs-editor-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:.35rem 1rem;border-top:1px solid var(--xs-line);color:var(--xs-muted);font-size:.85rem}.cross-stitch-guide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.7rem,4.8vw,3.65rem) clamp(1.3rem,4vw,2.75rem);margin-top:clamp(2rem,6vw,4.25rem)}.cross-stitch-guide p,.cross-stitch-guide ol{color:var(--xs-muted);margin:.8rem 0 0}.cross-stitch-example{display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:1.2rem;padding:clamp(1rem,3vw,1.75rem);background:#f1e8db;border:1px solid var(--xs-line);border-radius:20px}.cross-stitch-example-actions{display:flex;flex-wrap:wrap;gap:.22rem .85rem;margin-top:.85rem}.cross-stitch-example-actions a{display:inline-flex;min-height:44px;align-items:center;gap:.28rem}.cross-stitch-example-image{margin:0}.cross-stitch-example-image img{display:block;width:100%;height:auto;border-radius:12px}.cross-stitch-example-image figcaption{color:var(--xs-muted);font-size:.85rem;margin-top:.4rem}.cross-stitch-instructions ol{display:grid;gap:.55rem;padding-left:1.25rem}.cross-stitch-instructions strong{color:var(--xs-ink)}.cross-stitch-table{margin-top:.95rem;overflow-x:auto}.cross-stitch-table table{width:100%;border-collapse:collapse;font-size:.92rem;text-align:left;font-variant-numeric:tabular-nums}.cross-stitch-table caption{text-align:left;padding-bottom:.4rem;font-weight:700;color:var(--xs-ink)}.cross-stitch-table :is(th,td){padding:.45rem .55rem;border-bottom:1px solid var(--xs-line)}.cross-stitch-table thead{background:#f1e6d9}.cross-stitch-faq,.cross-stitch-related{grid-column:1 / -1}.cross-stitch-faq h2{margin-bottom:.6rem}.cross-stitch-faq details{border-top:1px solid var(--xs-line);padding:.22rem 0}.cross-stitch-faq details:last-child{border-bottom:1px solid var(--xs-line)}.cross-stitch-faq summary{padding:.65rem 0;cursor:pointer;font-weight:740}.cross-stitch-faq details p{margin:0 0 .65rem;max-width:75ch}.cross-stitch-license{margin:.65rem 0;padding:.75rem;background:var(--xs-surface);white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--xs-line);border-radius:8px;font-size:.8rem;color:var(--xs-muted)}@media(max-width:760px){.cross-stitch-container{width:min(calc(100% - 1.7rem),600px)}.xs-start,.xs-photo-layout,.xs-workbench,.cross-stitch-guide,.cross-stitch-example{grid-template-columns:minmax(0,1fr)}.xs-sample-panel{border-top:1px solid var(--xs-line)}.xs-sample-visual{display:none}.xs-drop{min-height:155px}.xs-inspector{border-top:1px solid var(--xs-line)}.xs-board{--xs-board-height: min(54vh, 430px)}.xs-editor-actions .xs-primary{flex:1}.xs-print .xs-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:370px){.xs-start-actions .xs-button{width:100%}.cross-stitch-table table{font-size:.8rem}.cross-stitch-table :is(th,td){padding-inline:.32rem}}
