/* Veelad Elements: original, recolourable clip art within the private workspace. */
.cw-elements-panel{min-height:0}
.cw-element-category-label{display:grid;gap:6px;margin-top:12px;font-size:11px;font-weight:700;color:var(--cw-muted)}
.cw-element-category-label select{min-height:42px;border:1px solid var(--cw-line);background:#fff;border-radius:9px;padding:7px 9px;color:var(--cw-ink);width:100%}
.cw-element-count{font-size:11px;color:var(--cw-muted);margin:12px 0 8px}
.cw-elements-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:0}
.cw-element-tile{min-width:0;padding:6px!important;display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid #e4e0eb!important;border-radius:10px;background:#fbfafc!important;min-height:107px}
.cw-element-tile:hover,.cw-element-tile:focus-visible{border-color:#8966d2!important;background:#f6f2ff!important;outline-offset:2px}
.cw-element-visual{display:grid;place-items:center;aspect-ratio:1;max-width:84px;width:100%;background:white;border-radius:8px;pointer-events:none}
.cw-element-visual svg{width:100%;height:100%;max-height:80px}
.cw-element-tile small{font-size:10px;line-height:1.3;text-align:center;min-height:26px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cw-element-more{margin:12px 0;width:100%}
.cw-element-inspector{border:1px solid var(--cw-line);border-radius:10px;padding:12px;margin-bottom:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cw-element-inspector h5{grid-column:1/-1;font-weight:700;font-size:12px;margin:0}
.cw-element-inspector-preview{grid-column:1/-1;display:grid;place-items:center;background:#f8f7fb;border-radius:9px;max-height:130px;padding:8px}
.cw-element-inspector-preview svg{width:104px;height:104px;max-width:100%;max-height:108px}
.cw-element-colour{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:11px;min-width:0}
.cw-element-colour input{width:42px;min-width:42px;height:35px;padding:2px;border:1px solid var(--cw-line);border-radius:8px;cursor:pointer;background:white}
@media(max-width:700px){.cw-elements-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cw-element-tile{min-height:90px;padding:4px!important}.cw-element-visual{max-width:76px}.cw-element-tile small{font-size:9px}.cw-element-colour input{min-height:40px}}


/* Mega-library supports 10k+ variations without expanding the DOM beyond 48 per page. */
.cw-elements-grid .cw-element-tile{contain:layout paint;content-visibility:auto}
.cw-element-count{font-variant-numeric:tabular-nums}
.cw-element-immutable-note{grid-column:1/-1;font-size:10px;line-height:1.6;color:#71687c;background:#f7f5fa;border-radius:7px;padding:8px 10px;margin:0}
.cw-element-visual svg text{paint-order:normal}
@media(max-width:700px){.cw-element-immutable-note{font-size:11px}}
