/* © 2026 Sabbir Hossen — SaaS Motion Pro. All rights reserved. */
/* Text Styles tool */
.textstyles-mini { height: 24px; padding: 0 8px; font-size: 11px; }
.textstyles-list { display: flex; flex-direction: column; gap: 4px; }
.textstyles-empty { padding: 10px; border: 1px dashed var(--border-strong); border-radius: var(--r-md); text-align: center; }
.textstyles-item { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); cursor: pointer; min-width: 0; }
.textstyles-item:hover { border-color: var(--accent-line); background: var(--raised); }
.textstyles-swatch { width: 40px; height: 28px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-sm); background: linear-gradient(135deg, #20222b, #0d0e12); }
.textstyles-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; outline: none; }
.textstyles-name[contenteditable="true"] { background: var(--bg); border-radius: 4px; padding: 0 4px; cursor: text; }
.textstyles-meta { white-space: nowrap; }
.textstyles-del { width: 24px; height: 24px; opacity: 0; }
.textstyles-item:hover .textstyles-del { opacity: 1; }
.textstyles-sample { display: inline-block; white-space: nowrap; max-width: 100%; overflow: hidden; }
.pv-empty.textstyles-pv { background: linear-gradient(135deg, #1d1b2e, #0a0a10); overflow: hidden; }
.app.w-xs .textstyles-meta, .app.w-sm .textstyles-meta { display: none; }
