:root{--bg: #16161f;--bg-2: #1e1e2b;--bg-3: #262636;--panel: #20202e;--line: #34344a;--text: #ececf4;--text-dim: #9c9cb4;--accent: #6c6ce5;--accent-2: #8b8bf0;--accent-soft: rgba(108, 108, 229, .18);--danger: #e5646c;--green: #4fc98a;--radius: 10px;--radius-lg: 14px;--shadow: 0 10px 30px rgba(0, 0, 0, .35);font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-size:14px}button{font:inherit;cursor:pointer;color:inherit;border:none;background:none}input,select,textarea{font:inherit;color:inherit}h1,h2,h3{margin:0}:focus{outline:none}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}@media (prefers-reduced-motion: reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}.btn{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:var(--radius);background:var(--bg-3);border:1px solid var(--line);font-weight:500;transition:background .12s,border-color .12s;white-space:nowrap}.btn:hover{background:#303046;border-color:#45456a}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.btn.primary:hover{background:var(--accent-2)}.btn.danger:hover{border-color:var(--danger);color:var(--danger)}.btn.ghost{background:transparent;border-color:transparent;color:var(--text-dim)}.btn.ghost:hover{background:var(--bg-3);color:var(--text)}.btn.small{padding:5px 10px;font-size:12.5px}.btn:disabled{opacity:.45;cursor:default}.field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.field label{font-size:11.5px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-dim)}.field input[type=text],.field input[type=number],.field select,.field textarea{background:var(--bg-2);border:1px solid var(--line);border-radius:8px;padding:7px 10px;width:100%;outline:none;color:var(--text)}.field textarea{resize:vertical;min-height:70px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent)}.row{display:flex;gap:8px}.row>*{flex:1;min-width:0}.check{display:flex;align-items:center;gap:8px;padding:4px 0;font-weight:500}.swatches{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}.swatches button{width:24px;height:24px;border-radius:6px;border:2px solid transparent;cursor:pointer}.swatches button:hover,.swatches button.on{border-color:var(--accent-2)}.sect{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.sect h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);margin-bottom:10px}.dash{max-width:1080px;margin:0 auto;padding:48px 24px 80px}.dash-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.dash-head .logo{display:flex;align-items:center;gap:12px}.logo-mark{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#6c6ce5,#9a6ce5);display:grid;place-items:center;font-size:20px}.dash h1{font-size:26px}.dash .sub{color:var(--text-dim);margin-top:3px}.tpl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-bottom:34px}.tpl-card{text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);padding:16px;transition:border-color .12s,transform .12s;display:flex;flex-direction:column;gap:4px}.tpl-card:hover{border-color:var(--accent);transform:translateY(-2px)}.tpl-chip{width:100%;height:74px;border-radius:10px;margin-bottom:10px;border:1px solid rgba(255,255,255,.12)}.tpl-card b{font-size:14.5px}.tpl-card span{color:var(--text-dim);font-size:12.5px}.proj-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.proj-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);padding:18px;text-align:left;transition:border-color .12s;position:relative}.proj-card:hover{border-color:var(--accent)}.proj-card b{display:block;font-size:15px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proj-card .meta{color:var(--text-dim);font-size:12px}.proj-actions{position:absolute;top:12px;right:12px;opacity:0;transition:opacity .12s}.proj-card:hover .proj-actions{opacity:1}.empty{color:var(--text-dim);text-align:center;padding:60px 0}.folder-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:26px 0 0;padding-top:22px;border-top:1px solid var(--line)}.folder-chip{background:var(--panel);border:1px solid var(--line);color:var(--text);border-radius:999px;padding:7px 14px;font-size:13px;cursor:pointer;transition:border-color .12s,background .12s;white-space:nowrap}.folder-chip:hover{border-color:var(--accent)}.folder-chip.on{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.folder-chip.add{padding:7px 11px;color:var(--text-dim)}.folder-chip.add:hover{color:var(--text)}.folder-tools{display:inline-flex;gap:4px;margin-left:4px}.folder-tools .btn{padding:4px 8px}.editor{display:flex;flex-direction:column;height:100%}.topbar{display:flex;align-items:center;gap:10px;padding:8px 14px;background:var(--bg-2);border-bottom:1px solid var(--line)}.topbar .title{background:transparent;border:1px solid transparent;border-radius:8px;padding:6px 10px;font-size:15px;font-weight:600;width:260px;outline:none}.topbar .title:hover{background:var(--bg-3)}.topbar .title:focus{background:var(--bg);border-color:var(--accent)}.topbar .spacer{flex:1}.save-state{font-size:12px;color:var(--text-dim)}.editor-body{flex:1;display:flex;min-height:0}.rail{width:56px;background:var(--bg-2);border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:10px 0;gap:4px}.rail button{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;font-size:19px;color:var(--text-dim)}.rail button:hover{background:var(--bg-3);color:var(--text)}.rail button.active{background:var(--accent-soft);color:var(--accent-2)}.canvas-wrap{flex:1;background:var(--bg);display:flex;flex-direction:column;min-width:0}.place-hint{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 14px;background:#f2b34c24;border-bottom:1px solid rgba(242,179,76,.35);color:#f5d9a6;font-size:13px}.stage-outer{flex:1;display:grid;place-items:center;padding:24px;overflow:hidden}.stage-shell{position:relative;box-shadow:var(--shadow);border-radius:6px}.slidebar{display:flex;gap:8px;padding:10px 14px;background:var(--bg-2);border-top:1px solid var(--line);overflow-x:auto;align-items:center}.thumb{position:relative;flex:0 0 auto;width:128px;height:72px;border-radius:8px;overflow:hidden;border:2px solid transparent;cursor:pointer;background:#fff}.thumb.on{border-color:var(--accent)}.thumb .num{position:absolute;left:4px;top:2px;font-size:10px;background:#0000008c;color:#fff;border-radius:4px;padding:0 4px;line-height:16px}.thumb .mini{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:0 0;pointer-events:none}.thumb-add{flex:0 0 auto;width:128px;height:72px;border:1px dashed var(--line);border-radius:8px;color:var(--text-dim);display:grid;place-items:center;font-size:12px;gap:2px}.thumb-add:hover{border-color:var(--accent);color:var(--accent-2)}.thumb-tools{display:grid;place-items:center;width:22px}.props{width:268px;background:var(--bg-2);border-left:1px solid var(--line);padding:16px;overflow-y:auto}.props .placeholder{color:var(--text-dim);text-align:center;padding:30px 6px;line-height:1.6;font-size:13px}.stage{position:relative;background:#fff;overflow:hidden;transform-origin:0 0}.stage .el{position:absolute;-webkit-user-select:none;user-select:none;touch-action:none}.stage .el .inner{width:100%;height:100%;outline:none}.stage .el.text .inner{cursor:text}.stage .el.hotspot{border:2px dashed rgba(108,108,229,0);border-radius:8px}.stage .el.hotspot:hover{border-color:#6c6ce5bf}.stage .el.hotspot .pin{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:20px;opacity:.25}.stage .el.embed .ph{width:100%;height:100%;background:repeating-linear-gradient(45deg,#eee,#eee 10px,#f6f6f6 10px,#f6f6f6 20px);border-radius:8px;display:grid;place-items:center;color:#777;font-size:13px;text-align:center;padding:8px}.stage .el.tag{cursor:pointer}.stage .el.tag .tag-ring{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:3px solid var(--tag-c, #f2b34c);box-shadow:0 0 0 2px #00000059,inset 0 0 0 2px #00000040;transition:opacity .15s,box-shadow .15s}.stage .el.tag .tag-label{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;background:#141210db;color:#fff;border:2px solid var(--tag-c, #f2b34c);border-radius:14px;padding:5px 14px;white-space:nowrap;z-index:5;font:600 19px/1.2 Inter,system-ui,sans-serif;pointer-events:none;transition:opacity .15s}.stage .el.tag .tag-label.above{top:auto;bottom:calc(100% + 8px)}.stage .el.tag .tag-empty{color:#f2b34c;font-style:italic;font-weight:500}.stage .el.tag .tag-info{display:none;font-size:14px;font-weight:400;color:#e6dccb}.stage .el.tag:hover .tag-info,.stage .el.tag.open .tag-info,.stage .el.tag.hl .tag-info{display:block}.stage .el.tag:hover,.stage .el.tag.open,.stage .el.tag.hl{z-index:20}.stage .el.tag.hl .tag-ring{box-shadow:0 0 0 3px #fff,0 0 26px 6px var(--tag-c, #f2b34c)}.present.tags-quiet .stage .el.tag:not(:hover):not(.open):not(.hl) .tag-ring,.present.tags-quiet .stage .el.tag:not(:hover):not(.open):not(.hl) .tag-label{opacity:0}.people{position:fixed;top:16px;right:16px;z-index:70;width:250px;max-height:calc(100vh - 110px);display:flex;flex-direction:column;background:#14141ed1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.12);border-radius:14px;color:#fff;overflow:hidden}.people h3{font-size:13px;padding:12px 14px 8px;color:#e6dccb;letter-spacing:.02em}.people ol{list-style:none;margin:0;padding:0 6px 8px;overflow-y:auto}.people li button{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;padding:7px 8px;border-radius:9px}.people li button:hover,.people li button.on{background:#ffffff1f}.people .dot{flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:2px solid;display:grid;place-items:center;font-size:10.5px;font-weight:700;margin-top:1px}.people .nm{font-weight:600;font-size:13.5px}.people .inf{font-size:12px;color:#b9b9cc;margin-top:1px}.people .hint{font-size:11.5px;color:#8d8da6;padding:0 14px 12px}@media (max-width: 700px){.people{top:auto;bottom:74px;left:12px;right:12px;width:auto;max-height:38vh}}.el-badge{position:absolute;top:-22px;left:0;display:flex;gap:4px;pointer-events:none}.el-badge span{background:var(--accent);color:#fff;font-size:10px;border-radius:4px;padding:1px 5px;line-height:16px}.el-badge span.hot{background:var(--green)}.handles{position:absolute;z-index:30;pointer-events:none}.handles .h{pointer-events:auto}.handles .h{position:absolute;width:11px;height:11px;background:#fff;border:2px solid var(--accent);border-radius:3px;z-index:3}.handles .h[data-h=nw]{left:-6px;top:-6px;cursor:nwse-resize}.handles .h[data-h=n]{left:calc(50% - 5.5px);top:-6px;cursor:ns-resize}.handles .h[data-h=ne]{right:-6px;top:-6px;cursor:nesw-resize}.handles .h[data-h=e]{right:-6px;top:calc(50% - 5.5px);cursor:ew-resize}.handles .h[data-h=se]{right:-6px;bottom:-6px;cursor:nwse-resize}.handles .h[data-h=s]{left:calc(50% - 5.5px);bottom:-6px;cursor:ns-resize}.handles .h[data-h=sw]{left:-6px;bottom:-6px;cursor:nesw-resize}.handles .h[data-h=w]{left:-6px;top:calc(50% - 5.5px);cursor:ew-resize}.sel-outline{position:absolute;top:0;right:0;bottom:0;left:0;outline:2px solid var(--accent);outline-offset:0;pointer-events:none;z-index:2}.popup{position:absolute;z-index:50;width:300px;max-width:340px;background:#fff;color:#1c1c28;border-radius:12px;box-shadow:0 14px 40px #0000004d;overflow:hidden;animation:pop-in .16s ease-out}.popup.full{width:70%}.popup .pop-img{width:100%;max-height:200px;object-fit:cover;display:block}.popup .pop-body{padding:14px 16px}.popup .pop-title{font-weight:700;font-size:15px;margin-bottom:5px}.popup .pop-text{font-size:13.5px;line-height:1.5}.popup .pop-close{position:absolute;top:8px;right:8px;background:#00000073;color:#fff;width:24px;height:24px;border-radius:50%;font-size:13px;display:grid;place-items:center}.popup .tail{position:absolute;width:12px;height:12px;background:#fff;transform:rotate(45deg)}@keyframes pop-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.present{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b0b12;display:grid;place-items:center;z-index:100}.present .stage-outer{position:absolute;top:0;right:0;bottom:0;left:0;padding:0}.present .stage-shell{position:relative;border-radius:0}.present .topnav{position:fixed;bottom:18px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;z-index:60;background:#14141eb8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:8px 14px;border-radius:999px;color:#fff;opacity:0;transition:opacity .2s}.present:hover .topnav{opacity:1}.present .topnav .btn{background:#ffffff1f;border-color:transparent}.present .topnav .btn:hover{background:#ffffff38}.present .counter{font-size:13px;color:#cfcfe6;min-width:54px;text-align:center}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:grid;place-items:center;z-index:200}.modal{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px;width:380px;box-shadow:var(--shadow)}.modal h2{margin-bottom:14px;font-size:17px}.modal .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#3a3a52;border-radius:5px}*::-webkit-scrollbar-track{background:transparent}
