.cl-stage-out { display: flex; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.cl-stage { position: relative; line-height: 0; max-width: 100%; }
.cl-stage canvas { display: block; max-width: 100%; max-height: 62vh; width: auto; height: auto; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.cl-cells { position: absolute; inset: 0; }
.cl-cell { position: absolute; touch-action: none; cursor: grab; }
.cl-cell.on { outline: 3px solid var(--c); outline-offset: -3px; }
.cl-cell.drop { outline: 3px dashed #fff; outline-offset: -6px; background: rgba(0,0,0,.25); }
.cl-cell .cl-h { position: absolute; left: 6px; top: 6px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; line-height: 34px; text-align: center; cursor: move; touch-action: none; padding: 0; }
.cl-tip { font-size: 13.5px; text-align: center; margin: 6px 0; }
.cl-photos { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.cl-thumbs { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; padding: 4px 2px; }
.cl-thumbs div { position: relative; flex: none; }
.cl-thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; display: block; border: 1px solid var(--line); }
.cl-thumbs button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: 12px; cursor: pointer; padding: 0; }
.cl-photos .btn { flex: none; min-height: 42px; padding: 8px 12px; }
.cl-layouts { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.cl-layouts button { flex: none; width: 58px; height: 58px; padding: 5px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.cl-layouts button.on { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 25%, transparent); }
.cl-layouts svg { width: 100%; height: 100%; display: block; }
.cl-layouts rect { fill: color-mix(in srgb, var(--c) 55%, var(--card)); }
.cl-bgrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cl-bgrow input[type=color] { width: 56px; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 3px; flex: none; }
.cl-sw { display: flex; gap: 6px; flex-wrap: wrap; }
.cl-sw button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
