@property --rainbow-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes rainbow-border{to{--rainbow-angle:360deg}}
.rainbow-frame,body.studio-page #ai-app .studio-float-launch{border:2px solid transparent!important;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from var(--rainbow-angle),#f66172,#f3c45a,#72cb8b,#57bce6,#8273ec,#e473d3,#f66172) border-box!important;color:#47316e!important;animation:rainbow-border 4s linear infinite!important;border-radius:10px!important;font-weight:700!important}
.studio-live-badge,.editor-live-badge{display:inline-flex;align-items:center;gap:5px;color:#167052!important;background:#eef9f2;padding:5px 8px;border-radius:20px;font-size:11px!important;line-height:1.3;white-space:nowrap}.studio-live-badge i,.editor-live-badge i{display:block;width:7px;height:7px;border-radius:50%;background:#2caf73}.studio-document-meta{flex-wrap:wrap!important;gap:5px!important}.studio-document-meta #studio-document-name{max-width:145px!important}.studio-meta-in-header .editor-live-badge{display:none!important}#editor-properties-toggle,.rebuild-edit{display:none!important}.canvas-toolbar:has(>div:empty){display:none!important}.studio-meta-in-header .canvas-toolbar{display:none!important}body.editor-body #editor-notice{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:11px 15px;font-size:12px;line-height:1.8;color:#34516a;background:#f2f7fb;border:1px solid #d9e7f0}.demo-create-cta{display:inline-flex;margin-left:auto;padding:7px 12px;font-size:12px;white-space:nowrap;text-decoration:none}.demo-create-cta:hover{filter:brightness(.97)}body.editor-body #editor-properties-layer input[type=color]{height:48px!important;min-height:48px!important;width:100%!important;border:1px solid #d8dce7!important;border-radius:8px;padding:5px!important;cursor:pointer}body.editor-body #editor-properties-layer label:has(input[type=color]){display:block;padding:9px;background:#f4f6fa;border-radius:10px}.library-v393{width:min(1040px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:90dvh!important;box-sizing:border-box;padding:24px!important}.library-v393>header{position:sticky;top:-24px;background:#fff;z-index:2;padding:10px 0}.library-v393>header h2{font-size:22px}.library-v393>header p{font-size:12px;margin:0}.library-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.library-controls .upload-label{background:#eef6ff;padding:10px;border:1px solid #a4d2ff;border-radius:8px;font-size:13px;max-width:280px}.library-controls input[type=file]{font-size:12px;padding:7px!important}.library-search-label{flex:1;min-width:180px;font-size:12px}.library-controls>button{border:1px solid #dce1e8;border-radius:8px;background:white;padding:12px;font-size:12px}.library-browser{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.library-results{min-width:0}.library-v393 .image-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.library-v393 .image-library-card{cursor:pointer;padding:8px;border:2px solid #e2e8ef}.library-v393 .image-library-card.selected{border-color:#87c8ff;background:#f0f8ff;box-shadow:0 0 0 2px #e1f1ff}.library-v393 .image-library-card img{height:110px;object-fit:contain}.library-detail{position:sticky;top:70px;background:#f5f8fc;border:1px solid #dce5ee;border-radius:12px;padding:14px;min-width:0}.library-detail>img{width:100%;height:170px;object-fit:contain;background:#fff;border:1px solid #bcdfff;border-radius:8px}.library-detail h3{font-size:13px;word-break:break-all}.library-detail dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;font-size:12px}.library-detail dt{color:#66758a}.library-detail dd{margin:0;overflow-wrap:anywhere}.library-detail>button{width:100%;padding:10px;font-size:12px}.library-staging{background:#f5faff;border:1px solid #badcff;padding:15px;border-radius:12px;margin:12px 0}.library-staging[hidden]{display:none}.library-staged-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.library-staged-card{position:relative;border:2px solid #9ed4ff;border-radius:10px;padding:8px;background:#fff}.library-staged-card img{width:100%;height:100px;object-fit:contain;display:block}.library-staged-card span{display:block;font-size:11px;overflow-wrap:anywhere;margin-top:6px}.library-staged-card button{position:absolute;right:4px;top:4px;width:25px;height:25px;border:1px solid #b8d4eb;border-radius:50%;background:white}.library-staging footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:12px}.library-staging footer button{min-width:90px}.library-empty{font-size:13px;color:#607086}.library-v393 .module-status{font-size:12px}.library-v393 .image-library-card[hidden]{display:none!important}
@media(max-width:700px){.studio-live-badge{font-size:10px!important;padding:3px 5px}.studio-document-meta #studio-document-name{max-width:100px!important}.demo-create-cta{margin-left:0}.library-v393{padding:14px!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}.library-browser{grid-template-columns:minmax(0,1fr)}.library-detail{position:static;display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px}.library-detail>img{height:120px;grid-row:span 3}.library-detail h3{margin:0}.library-detail dl{grid-template-columns:60px 1fr;margin:0;gap:5px}.library-detail>button{grid-column:1/-1}.library-v393 .image-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-controls{gap:6px}.library-controls .upload-label{max-width:100%;width:100%}.library-controls .library-search-label{width:100%}.library-staging footer{font-size:11px}.library-v393>header{top:-14px}}
@media(prefers-reduced-motion:reduce){.rainbow-frame,body.studio-page #ai-app .studio-float-launch{animation:none!important}}
