.cs{color:#2b2a28;font-family:var(--body,system-ui, sans-serif);-webkit-user-select:none;user-select:none;background:#f4f1ea;flex-direction:column;display:flex;position:fixed;inset:0}.cs button{font:inherit;cursor:pointer;color:inherit;background:#fff;border:1px solid #d9d3c4;border-radius:10px}.cs button:disabled{opacity:.4;cursor:default}.cs button.is-on{color:#1f3f86;background:#e8eefb;border-color:#2f56a6;box-shadow:inset 0 0 0 1px #2f56a6}.cs-top{background:#fffaf0;border-bottom:1px solid #e6dfcf;align-items:center;gap:16px;padding:10px 16px;display:flex}.cs-back{color:#2f56a6;white-space:nowrap;font-size:.9rem;text-decoration:none}.cs-back:hover{text-decoration:underline}.cs-title{text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:1.05rem;font-weight:700;overflow:hidden}.cs-actions{align-items:center;gap:8px;display:flex}.cs-actions button{padding:8px 14px;font-weight:600}.cs-danger{color:#b3261e!important}.cs-save{color:#7a7466;text-align:right;min-width:9em;font-size:.8rem}.cs-save--saved:before{content:"✓ ";color:#2e7d32}.cs-notice{background:#fff4d6;border-bottom:1px solid #f0dfa8;margin:0;padding:8px 16px;font-size:.85rem}.cs-body{flex:1;min-height:0;display:flex}.cs-tools{background:#fffaf0;border-right:1px solid #e6dfcf;flex-direction:column;gap:8px;width:104px;padding:12px 10px;display:flex;overflow-y:auto}.cs-tools>button{flex-direction:column;align-items:center;gap:2px;padding:8px 4px;font-size:.78rem;display:flex}.cs-tools>button span[aria-hidden]{font-size:1.35rem;line-height:1.2}.cs-tools hr{border:0;border-top:1px solid #e6dfcf;width:100%;margin:4px 0}.cs-sizes{justify-content:space-between;gap:4px;display:flex}.cs-sizes button{flex:1;justify-content:center;align-items:center;height:34px;padding:0;display:flex}.cs-dot{background:#2b2a28;border-radius:50%;display:block}.cs-sr{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.cs-stage{touch-action:none;background:#e9e4d8;flex:1;position:relative;overflow:hidden}.cs[data-tool=fill] .cs-stage,.cs[data-tool=brush] .cs-stage{cursor:crosshair}.cs[data-tool=eraser] .cs-stage{cursor:cell}.cs-canvas{transform-origin:0 0;image-rendering:auto;background:#fff;position:absolute;top:0;left:0;box-shadow:0 6px 24px #3c321e2e}.cs-msg{background:#fff;border-radius:12px;margin:0;padding:14px 20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 16px #0000001f}.cs-msg--err{color:#b3261e}.cs-modal{text-align:center;background:#fff;border-radius:16px;width:min(420px,90%);padding:22px 24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 40px #00000040}.cs-modal h2{margin:0 0 8px;font-size:1.15rem}.cs-modal p{color:#5d584d;margin:0 0 18px}.cs-modal div{justify-content:center;gap:10px;display:flex}.cs-modal button{padding:10px 18px;font-weight:700}.cs-primary{color:#fff!important;background:#2f56a6!important;border-color:#2f56a6!important}.cs-side{background:#fffaf0;border-left:1px solid #e6dfcf;flex-direction:column;gap:14px;width:248px;padding:14px;display:flex;overflow-y:auto}.cs-side h2{color:#5d584d;justify-content:space-between;align-items:center;margin:0 0 8px;font-size:.82rem;font-weight:700;display:flex}.cs-current{border:1px solid #d9d3c4;border-radius:10px;height:34px}.cs-swatches{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.cs-swatches button{aspect-ratio:1;border:1px solid #00000026;border-radius:8px;padding:0}.cs-custom{color:#5d584d;justify-content:space-between;align-items:center;font-size:.82rem;font-weight:700;display:flex}.cs-custom input{cursor:pointer;background:#fff;border:1px solid #d9d3c4;border-radius:8px;width:48px;height:32px;padding:0}.cs-ref h2 button{padding:3px 8px;font-size:.72rem;font-weight:500}.cs-ref img{border:1px solid #e6dfcf;border-radius:10px;width:100%;display:block}.cs-keys{color:#8a8374;margin:auto 0 0;font-size:.72rem;line-height:1.5}.cs-top{padding:12px 20px}.cs-back{font-size:1rem}.cs-title{font-size:1.3rem}.cs-actions button{border-radius:12px;padding:11px 18px;font-size:1.02rem}.cs-save{font-size:.88rem}.cs-tools{gap:10px;width:128px;padding:14px 12px}.cs-tools>button{border-radius:14px;padding:12px 4px;font-size:.92rem;font-weight:700}.cs-tools>button span[aria-hidden]{font-size:2rem}.cs-sizes button{height:42px}.cs-dot--s{width:6px;height:6px}.cs-dot--m{width:13px;height:13px}.cs-dot--l{width:22px;height:22px}.cs-side{gap:18px;width:300px;padding:18px}.cs-side h2{font-size:.98rem}.cs-current{border-radius:12px;height:48px}.cs-swatches{grid-template-columns:repeat(5,1fr);gap:8px}.cs-swatches button{border-radius:10px}.cs-swatches button.is-on{box-shadow:0 0 0 3px #fff,0 0 0 6px #2f56a6}.cs-custom{font-size:.98rem}.cs-custom input{width:64px;height:40px}.cs-keys{font-size:.8rem}.cs-modal{width:min(480px,90%);padding:28px 30px}.cs-modal h2{font-size:1.4rem}.cs-modal p{font-size:1.05rem}.cs-modal button{padding:13px 22px;font-size:1.05rem}.cs-msg{font-size:1.05rem}@media (max-height:1000px){.cs-tools{gap:6px;padding:10px}.cs-tools>button{padding:6px 4px;font-size:.84rem}.cs-tools>button span[aria-hidden]{font-size:1.55rem}.cs-tools hr{margin:2px 0}.cs-sizes button{height:34px}}@media (max-height:760px){.cs-tools>button{flex-direction:row;justify-content:center;gap:6px;padding:6px 4px}.cs-tools>button span[aria-hidden]{font-size:1.2rem}}
