.asset-preview{height:150px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;margin-bottom:14px;overflow:hidden;display:flex;flex-direction:column;position:relative}
.asset-preview.empty{align-items:center;justify-content:center;padding:18px;text-align:center;color:#94a3b8;font-size:11px}
.asset-preview img{height:104px;width:100%;object-fit:contain;background:#eef2f7}
.asset-preview strong,.asset-preview small{padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.asset-preview strong{font-size:11px;margin-top:7px}.asset-preview small{font-size:10px;color:#94a3b8;margin-top:2px}
.asset-card{position:relative;padding:0;text-align:left}.asset-name{display:block}
.asset-add{position:absolute;right:7px;bottom:6px;width:22px;height:22px;border-radius:7px;background:#2563eb;color:#fff;display:grid;place-items:center;font-size:12px;opacity:0;transition:.2s}
.asset-card:hover .asset-add{opacity:1}
.library-summary{display:flex;align-items:center;justify-content:space-between;margin:-4px 0 12px;color:#64748b;font-size:11px}
.folder-badge{background:#eaf2ff;color:#2563eb;border-radius:999px;padding:4px 8px;font-weight:700}
.save-status{display:inline-flex}
.asset-tabs{display:flex;gap:5px;margin:0 0 14px;padding:4px;background:#f1f5f9;border-radius:10px}
.asset-tab{flex:1;border:0;border-radius:7px;background:transparent;color:#64748b;padding:8px 5px;font:600 11px Poppins;cursor:pointer}
.asset-tab.active{background:#fff;color:#2563eb;box-shadow:0 2px 8px #1e3a8a12}
.asset-delete{position:absolute;right:7px;top:7px;width:25px;height:25px;border:0;border-radius:7px;background:#fff;color:#e11d48;display:grid;place-items:center;opacity:0;cursor:pointer;box-shadow:0 3px 12px #17255420}
.asset-card:hover .asset-delete{opacity:1}.asset-delete:hover{background:#fff1f2}
.confirm-modal{position:fixed;inset:0;z-index:20;background:#17255455;display:grid;place-items:center;padding:20px}
.confirm-modal.hidden{display:none}.confirm-card{width:min(390px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:25px;box-shadow:0 25px 80px #17255435}
.confirm-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff1f2;color:#e11d48;font-size:17px}.confirm-card h3{margin:16px 0 7px;font:700 20px Poppins;color:#172554}.confirm-card p{margin:0;color:#64748b;line-height:1.5;font-size:13px}.confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.confirm-actions .danger-btn{width:auto;margin:0;padding:10px 14px}
.canvas-style-bar{display:flex;align-items:center;gap:12px;min-height:55px;padding:8px 18px;background:#ffffffd9;border-bottom:1px solid var(--line);overflow:auto;white-space:nowrap}
.style-control{display:flex;align-items:center;gap:7px;color:#64748b;font-size:11px;font-weight:600}.style-control input[type=color]{width:28px;height:28px;border:1px solid var(--line);border-radius:8px;padding:2px;background:#fff}.style-control select{border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff;color:#334155;font:11px Poppins}.style-range{display:flex;align-items:center;gap:8px;color:#64748b;font-size:11px;font-weight:600}.style-range output{color:#2563eb}.style-range input{accent-color:#2563eb;width:85px}.project-tabs{display:flex;align-items:center;gap:4px;min-height:43px;padding:5px 14px;background:#f8fafc;border-bottom:1px solid var(--line);overflow-x:auto}.project-tab,.project-tab-add{display:flex;align-items:center;gap:7px;height:32px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#64748b;cursor:pointer;font:600 11px Poppins;white-space:nowrap}.project-tab.active{background:#fff;border-color:#dbe4f0;color:#172554;box-shadow:0 2px 8px #1725540d}.project-tab-dot{width:6px;height:6px;background:#60a5fa;border-radius:50%}.project-tab-title{max-width:150px;overflow:hidden;text-overflow:ellipsis}.project-tab-close{display:grid;place-items:center;width:18px;height:18px;border-radius:5px;color:#94a3b8}.project-tab-close:hover{background:#ffe4e6;color:#e11d48}.project-tab-add{width:32px;justify-content:center;color:#2563eb;background:#eaf2ff}.icon-x:before{content:"\f00d"}
.sizes-intro{font-size:12px;line-height:1.45;color:#94a3b8;margin:0 0 14px}
.size-preset-list{display:flex;flex-direction:column;gap:8px}
.size-preset{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:.2s}
.size-preset:hover{border-color:#60a5fa;background:#f8fbff;transform:translateX(2px)}
.size-preset-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#eaf2ff;color:#2563eb;font-size:15px;flex-shrink:0}
.size-preset-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.size-preset-info strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.size-preset-info small{font-size:10px;color:#94a3b8}
.size-preset-arrow{font-size:13px;color:#94a3b8}
.workspace{overflow:hidden}
.project-item{width:100%;background:#fff;color:var(--ink);text-align:left;font:inherit}
.project-open-icon{color:#94a3b8;font-size:12px}
.project-item:hover .project-open-icon{color:#2563eb}
.project-item-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.project-delete{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;color:#94a3b8;font-size:12px;transition:.2s}
.project-delete:hover{background:#fff1f2;color:#e11d48}
.editor-area{position:relative;min-height:0;overflow:hidden}
.canvas-stage{position:static;display:block;overflow:auto;padding:50px 50px 110px;min-height:0;height:100%;scrollbar-width:thin;scrollbar-color:#94a3b8 #e2e8f0}
.canvas-stage::-webkit-scrollbar{width:12px;height:12px}.canvas-stage::-webkit-scrollbar-track{background:#e2e8f0;border-radius:8px}.canvas-stage::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:8px;border:3px solid #e2e8f0}
.canvas-frame{width:max-content;height:max-content;margin:0 auto}
.zoom-dock{position:absolute;left:50%;bottom:18px;z-index:5;display:flex;align-items:center;gap:3px;padding:5px 7px;border:1px solid #dbe4f0;border-radius:13px;background:#fffffff2;box-shadow:0 10px 30px #1e3a8a18;transform:translateX(-50%)}
.zoom-dock .tool-btn{width:30px;height:30px}.zoom-dock span{min-width:43px;text-align:center;font-size:11px;font-weight:700;color:#475569}
.dock-download{border-left:1px solid #dbe4f0!important;margin-left:4px;padding-left:8px!important;color:#2563eb!important}
.magic-btn{width:100%;padding:10px;border:1px solid #c4b5fd;border-radius:9px;background:linear-gradient(135deg,#f5f3ff,#eef2ff);color:#6d28d9;margin-top:14px;cursor:pointer;font:600 13px Poppins}
.magic-btn:hover{background:#ede9fe}
.shape-gallery button{font-size:9px}
.icon{font-family:"Font Awesome 6 Free";font-weight:900;font-style:normal;line-height:1}
.icon-plus:before{content:"\2b"}.icon-save:before{content:"\f0c7"}.icon-download:before{content:"\f019"}.icon-images:before{content:"\f302"}.icon-ruler:before{content:"\f545"}.icon-upload:before{content:"\f093"}.icon-search:before{content:"\f002"}.icon-pointer:before{content:"\f245"}.icon-type:before{content:"\f031"}.icon-square:before{content:"\f квадрат"}.icon-circle:before{content:"\f111"}.icon-minus:before{content:"\f068"}.icon-maximize:before{content:"\f065"}.icon-mouse-pointer-2:before{content:"\f245"}.icon-trash-2:before{content:"\f2ed"}.icon-chevron-right:before{content:"\f054"}.icon-wand:before{content:"\f0d0"}.icon-facebook:before{content:"\f39e"}.icon-layout:before{content:"\f00a"}.icon-instagram:before{content:"\f16d"}.icon-smartphone:before{content:"\f3cd"}.icon-rectangle-vertical:before{content:"\f2fa"}.icon-badge:before{content:"\f559"}.icon-youtube:before{content:"\f167"}.icon-file-text:before{content:"\f15c"}.icon-chevron-right:before{content:"\f054"}
