.reactEasyCrop_Container{-webkit-user-select:none;user-select:none;touch-action:none;cursor:move;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.reactEasyCrop_Image,.reactEasyCrop_Video{will-change:transform;max-width:unset}.reactEasyCrop_Contain{max-width:100%;max-height:100%;margin:auto;position:absolute;inset:0}.reactEasyCrop_Cover_Horizontal{width:100%;height:auto}.reactEasyCrop_Cover_Vertical{width:auto;height:100%}.reactEasyCrop_CropArea{box-sizing:border-box;color:#00000080;border:1px solid #ffffff80;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 0 0 9999em}.reactEasyCrop_CropAreaRound{border-radius:50%}.reactEasyCrop_CropAreaGrid:before{content:" ";box-sizing:border-box;border:0;border-left:1px solid #ffffff80;border-right:1px solid #ffffff80;position:absolute;inset:0 33.33%}.reactEasyCrop_CropAreaGrid:after{content:" ";box-sizing:border-box;border:1px solid #ffffff80;border-left:0;border-right:0;position:absolute;inset:33.33% 0}.preview-panel{min-width:0;padding:24px}.preview-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-bottom:24px;display:flex}.preview-heading p{color:var(--muted);font-size:11px}.previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.preview-card{min-width:0}figcaption{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:12px;display:flex}figcaption span:first-child{font-size:12px;font-weight:650}figcaption span:last-child{color:var(--muted);letter-spacing:.4px;font-variant-numeric:tabular-nums;font-size:10px}.preview-stage{--preview-height:452px;height:var(--preview-height);background:#f1f1eb;border:1px solid #e6e6de;border-radius:8px;justify-content:center;align-items:center;padding:16px;display:flex}.original-preview,.colored-preview{width:auto;max-width:100%;height:auto;max-height:100%;display:block}.original-preview{object-fit:contain;background:#fff}.colored-preview{object-fit:contain;width:100%;height:auto;image-rendering:pixelated}.empty-preview{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:4px;display:flex}.empty-preview strong{color:#555d51;word-break:keep-all;font-size:13px;font-weight:550}.empty-preview p{color:var(--muted);word-break:keep-all;font-size:11px;line-height:1.8}.empty-frame{border:1px solid #a4ad9b;border-radius:3px;width:43px;height:51px;margin-bottom:10px;transform:rotate(-6deg)}.empty-pixels{background:#b1bea4;width:15px;height:15px;margin:0 18px 28px 0;box-shadow:19px 0 #ccd5c2,0 19px #d9dfd1,19px 19px #b1bea4}.preview-note{color:var(--muted);word-break:keep-all;margin-top:20px;font-size:11px;line-height:1.8}.error-message{color:#963c21;background:#fff1eb;border:1px solid #d4b4a7;border-radius:6px;margin-bottom:20px;padding:12px;font-size:13px;line-height:1.6}.pattern-results{border-top:1px solid var(--line);gap:28px;min-width:0;margin-top:28px;padding-top:24px;display:grid}.color-merge{border:1px solid var(--line);background:#f7f8f2;border-radius:10px;gap:16px;min-width:0;padding:20px;display:grid}.merge-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.merge-heading h3{margin:0;font-size:15px}.merge-heading span,.color-merge p{color:var(--muted);font-size:12px;line-height:1.7}.color-merge p{word-break:keep-all}.color-merge fieldset{border:0;min-width:0;margin:0;padding:0}.color-merge legend{margin-bottom:10px;padding:0;font-size:12px;font-weight:600}.merge-colors{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;display:grid}.merge-color{border:1px solid var(--line);cursor:pointer;background:#fffefa;border-radius:7px;align-items:center;gap:10px;min-width:0;min-height:62px;padding:10px;display:flex}.merge-color.is-selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:#edf1e6}.merge-color input{width:17px;height:17px;accent-color:var(--accent);flex:none;margin:0}.merge-color input:focus-visible,.merge-heading h3:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.merge-color .legend-swatch,.merge-target .legend-swatch{flex:none}.merge-color-text{overflow-wrap:anywhere;gap:4px;min-width:0;font-size:12px;display:grid}.merge-color-text strong{font-weight:600}.merge-color-text>span{color:var(--muted);font-size:11px}.merge-target{align-items:center;gap:10px;display:flex}.merge-target select{min-width:0}.merge-actions{flex-wrap:wrap;gap:8px;display:flex}.merge-actions button{color:#292d28;background:#fffefa;border:1px solid #959d90;border-radius:7px;min-height:44px;padding:10px 14px;font-size:12px;font-weight:600}.merge-actions .merge-apply{border-color:var(--accent);background:var(--accent);color:#fff}.merge-actions button:hover:enabled{filter:brightness(.94)}.merge-actions button:disabled{border-color:var(--line);color:#696f64;background:#e4e7df}.numbered-preview{min-width:0}.pattern-help{color:var(--muted);word-break:keep-all;margin-bottom:12px;font-size:12px;line-height:1.7}.numbered-scroll{border:1px solid var(--line);background:#f1f1eb;border-radius:8px;max-height:560px;padding:14px;overflow:auto}.numbered-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.numbered-scroll svg{max-width:none;margin-inline:auto;display:block}.pattern-legend{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:12px}.legend-name-setting{margin-bottom:20px}.legend-name-setting select{max-width:280px}.pattern-legend caption{text-align:left;margin-bottom:12px;font-size:13px;font-weight:650}.pattern-legend th,.pattern-legend td{border-bottom:1px solid var(--line);text-align:left;padding:12px 10px}.pattern-legend thead th{color:var(--muted);white-space:nowrap;background:#f2f4ed;font-size:11px;font-weight:600}.pattern-legend tbody th{font-weight:650}.pattern-legend .legend-name{overflow-wrap:anywhere}.pattern-legend .legend-count,.pattern-legend thead th:last-child{text-align:right}.legend-swatch{border-radius:3px;width:24px;height:24px;display:block;box-shadow:inset 0 0 0 1px #00000029}.pattern-export{border-top:1px solid var(--line);gap:10px;padding-top:24px;display:grid}.pattern-export h3{margin:0;font-size:13px;font-weight:650}.pattern-export p{color:var(--muted);word-break:keep-all;font-size:12px;line-height:1.7}.pattern-export .pdf-size-warning{color:#963c21;background:#fff1eb;border:1px solid #d4b4a7;border-radius:6px;padding:12px}.export-actions{flex-wrap:wrap;gap:10px;display:flex}.export-save-button{background:var(--accent);color:#fff;border:0;border-radius:7px;min-height:44px;padding:10px 18px;font-size:13px;font-weight:600}.export-save-button:hover{background:#274c34}.export-save-button:active{background:#203e2b}.crop-stage{overflow:hidden}.crop-viewport{flex:none;position:relative}.crop-stage:focus-within{outline:3px solid var(--accent);outline-offset:3px}.crop-controls{margin-top:16px}.crop-zoom-label{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.crop-zoom-label span{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px}.crop-controls input[type=range]{width:100%;min-height:32px;accent-color:var(--accent);cursor:pointer;margin:0;display:block}.crop-controls input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.crop-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px;display:flex}.crop-move{gap:4px;display:flex}.crop-actions button{color:#292d28;background:#fffefa;border:1px solid #959d90;border-radius:6px;min-width:36px;min-height:36px;padding:6px}.crop-actions button:hover{background:#edf1e6}.crop-actions .crop-reset{padding-inline:10px;font-size:11px}@media (width<=1100px){.preview-panel{padding:20px}.previews{gap:14px}.preview-stage{--preview-height:420px;padding:10px}}@media (width<=980px) and (width>=761px),(width<=480px){.previews{grid-template-columns:1fr;gap:24px}.preview-stage{--preview-height:360px}}@media (width<=480px){.color-merge{padding:14px}.merge-colors{grid-template-columns:1fr}.numbered-scroll{max-height:420px;padding:10px}.pattern-legend th,.pattern-legend td{padding:10px 5px}.pattern-legend{font-size:11px}.legend-swatch{width:20px;height:20px}}.color-edit-modes button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:#edf1e6}.replacement-palette{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;max-height:260px;padding:6px;display:grid;overflow-y:auto}.replacement-choice{cursor:pointer;min-width:0;height:44px;position:relative}.replacement-choice input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.replacement-swatch{pointer-events:none;border:1px solid #00000040;border-radius:6px;width:100%;height:100%;display:block}.replacement-choice input:checked+.replacement-swatch{outline:2px solid var(--accent);outline-offset:2px}.replacement-choice input:checked+.replacement-swatch:after{content:"✓";color:#fff;text-align:center;background:#292d28;border-radius:50%;width:18px;height:18px;font-size:12px;line-height:18px;position:absolute;bottom:3px;right:3px}.replacement-choice input:focus-visible+.replacement-swatch{outline:3px solid var(--accent);outline-offset:3px}.replacement-choice:hover .replacement-swatch{box-shadow:inset 0 0 0 2px #00000059}.replacement-target-summary{overflow-wrap:anywhere;align-items:center;gap:10px;min-height:44px;margin-top:10px;display:flex}.replacement-target-summary .legend-swatch{flex:none}:root{color:#292d28;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--muted:#666c62;--line:#e0e2d9;--accent:#376547;background:#f7f5f0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,select,input[type=file]{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,select:focus-visible,.file-picker:focus-within{outline:3px solid var(--accent);outline-offset:4px}h2,p,figure{margin:0}.app-shell{max-width:1512px;margin:auto;padding:0 48px}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;min-height:88px;display:flex}.brand{letter-spacing:-.7px;align-items:center;gap:14px;font-size:21px;font-weight:750;display:flex}.pixel-mark{background:var(--accent);width:12px;height:12px;box-shadow:14px 0 #adc49b, 0 14px #adc49b, 14px 14px var(--accent);margin-bottom:12px;margin-right:12px}.local-note{color:var(--muted);font-size:12px}main{padding-top:32px}.workspace{grid-template-columns:272px minmax(0,1fr);align-items:start;gap:24px;display:grid}.settings,.preview-panel{border:1px solid var(--line);background:#fffefa;border-radius:14px}.setting-section{padding:24px}.setting-section+.setting-section{border-top:1px solid var(--line)}h2{font-size:15px;font-weight:700}.setting-section h2{align-items:center;gap:9px;margin-bottom:20px;display:flex}.step-number{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.file-picker{background:#f7f8f2;border:1px dashed #909b88;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:114px;padding:20px;display:flex;position:relative}.file-picker:hover{border-color:var(--accent);background:#edf1e6}.file-picker input{opacity:0;width:100%;height:100%;position:absolute;inset:0}.file-picker-title{color:var(--accent);font-size:14px;font-weight:650}.file-picker-formats{color:var(--muted);letter-spacing:.6px;font-size:11px}.file-name{overflow-wrap:anywhere;margin-top:12px;font-size:12px}.field-note{color:var(--muted);word-break:keep-all;margin-top:10px;font-size:11px;line-height:1.65}.aspect-settings{margin-bottom:24px}.crop-aspect-field{margin-top:16px}.field-label{margin-bottom:9px;font-size:12px;font-weight:600;display:block}select{color:#292d28;background:#fffefa;border:1px solid #959d90;border-radius:7px;width:100%;height:44px;padding:0 12px}.grid-summary{background:#f2f4ed;border-radius:8px;flex-direction:column;gap:8px;margin:22px 0;padding:18px;display:flex}.grid-summary span{color:var(--muted);font-size:11px}.grid-summary strong{letter-spacing:-1px;font-variant-numeric:tabular-nums;font-size:27px;font-weight:600}.palette-summary,.color-limit{margin-bottom:22px}.palette-name{word-break:keep-all;margin-top:10px;font-size:13px;line-height:1.6}.palette-swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:12px 0 0;padding:0;list-style:none;display:grid}.palette-swatches span{aspect-ratio:1;border-radius:3px;display:block;box-shadow:inset 0 0 0 1px #0000001f}.generate-button{background:var(--accent);color:#fff;border:0;border-radius:7px;justify-content:space-between;align-items:center;width:100%;min-height:46px;padding:0 16px;font-size:13px;font-weight:600;display:flex}.generate-button:hover:enabled{background:#274c34}.generate-button:active:enabled{background:#203e2b}.generate-button:disabled{color:#696f64;background:#e4e7df}footer{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px 24px;padding:24px 0 32px;font-size:11px;display:flex}footer p>span{color:#9aa192;padding:0 10px}.app-version{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}@media (width<=1100px){.app-shell{padding:0 24px}.workspace{grid-template-columns:240px minmax(0,1fr);gap:16px}.setting-section{padding:20px}}@media (width<=760px){.app-shell{padding:0 18px}.app-header{min-height:76px}.local-note{text-align:right;word-break:keep-all;max-width:140px;font-size:10px;line-height:1.6}.brand{gap:10px;font-size:18px}main{padding-top:24px}.workspace{grid-template-columns:1fr}.settings{grid-template-columns:1fr 1fr;display:grid}.setting-section+.setting-section{border-top:0;border-left:1px solid var(--line)}}@media (width<=480px){.settings{display:block}.setting-section+.setting-section{border-left:0;border-top:1px solid var(--line)}}
