html,body,#app{width:100%;height:100%;margin:0}body{color:#f8fafc;background:#050507;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;overflow:hidden}button{font:inherit}.state{text-align:center;color:#0f172a;background:#f8fafc;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex}.state--dark{color:#f8fafc;background:#050507}.state h1{margin:20px 0 8px;font-size:24px;line-height:1.25}.state p{color:#64748b;max-width:320px;margin:0;font-size:15px;line-height:1.7}.state--dark p{color:#f8fafcb3}.loader{border:3px solid #f8fafc2e;border-top-color:#f8fafc;border-radius:50%;width:36px;height:36px;animation:.85s linear infinite spin}.invitation,.story{width:100%;height:100%}.external-template{background:#050507;width:100%;height:100%;position:relative}.external-template--mini-program{background:#fff}.external-template__frame{background:#fff;border:0;width:100%;height:100%;display:block}.external-template__frame--mini-program{transform-origin:0 0;max-width:none;max-height:none;position:absolute;top:0;left:0}.external-template__fallback{right:max(16px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));z-index:20;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172ab8;border:1px solid #ffffff61;border-radius:999px;min-height:40px;padding:0 16px;font-size:14px;font-weight:600;line-height:40px;text-decoration:none;position:fixed}.story{scroll-snap-type:y mandatory;scrollbar-width:none;background:#050507;overflow:hidden auto}.story::-webkit-scrollbar{display:none}.slide{scroll-snap-align:start;background-position:50%;background-size:cover;place-items:center;width:100%;height:100svh;min-height:100svh;display:grid;position:relative;overflow:hidden}.slide:before{content:"";background:inherit;filter:blur(16px)saturate(.92);opacity:.45;position:absolute;inset:0;transform:scale(1.08)}.story--fade .slide{scroll-snap-align:center}.screen{z-index:1;isolation:isolate;background-position:50%;background-size:cover;width:min(100vw,56.2219svh);max-width:430px;height:min(100svh,177.867vw);max-height:100svh;position:relative;overflow:hidden;box-shadow:0 24px 80px #00000047}.screen-bg-image{z-index:0;object-fit:cover;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.layer{will-change:transform, opacity;justify-content:center;align-items:center;animation-timing-function:ease;animation-fill-mode:both;display:flex;position:absolute}.layer img,.layer svg,.layer-image-frame,.template-svg-wrapper,.template-rect,.template-button{width:100%;height:100%}.layer-image-frame{position:relative;overflow:hidden}.layer img{display:block}.template-svg-wrapper{overflow:hidden}.template-svg{display:block}.template-text{white-space:pre-wrap;overflow-wrap:anywhere;width:100%}.template-button{white-space:nowrap;text-overflow:ellipsis;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 18px;display:flex;overflow:hidden}.page-dots{top:50%;right:max(14px, env(safe-area-inset-right));z-index:20;flex-direction:column;gap:9px;display:flex;position:fixed;transform:translateY(-50%)}.page-dot{cursor:pointer;background:#0003;border:1px solid #ffffffa3;border-radius:999px;width:9px;height:9px;padding:0;transition:height .18s,background-color .18s,border-color .18s}.page-dot.is-active{background:#fff;border-color:#fff;height:28px}.page-dot:focus-visible,.music-button:focus-visible,.share-button:focus-visible{outline-offset:3px;outline:3px solid #fff}.share-button{right:max(12px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));z-index:31;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#0f172ab8;border:1px solid #ffffff6b;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;transition:background-color .18s,border-color .18s;display:grid;position:fixed;box-shadow:0 8px 24px #0003}.share-button svg{stroke-width:2px;width:20px;height:20px}.share-button:hover,.share-button.is-confirmed{background:#0e7c7b;border-color:#ffffffc7}.share-button--with-fallback{bottom:max(68px, calc(env(safe-area-inset-bottom) + 68px))}.music-button{z-index:30;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;background-color:#9c9c9c1a;background-position:0 0;background-repeat:no-repeat;background-size:contain;border:0;border-radius:50%;width:30px;height:30px;padding:0;position:fixed;top:10px;right:10px}.music-button img{width:30px;height:30px;display:block}.music-button .tips{color:#fff;opacity:0;pointer-events:none;background:#97979766;border-radius:4px;width:70px;padding:4px 0 4px 10px;font-size:12px;line-height:1;transition:opacity .18s,transform .18s;display:block;position:absolute;top:6px;left:-80px;transform:translate(4px)}.music-button .tips:after{content:"";border-top:5px solid #0000;border-bottom:5px solid #0000;border-left:5px solid #97979766;width:0;height:0;position:absolute;top:5px;left:100%}.music-button.is-playing{animation:1.5s linear infinite musicRotate}.music-button.is-hinting{animation:none}.music-button.is-hinting .tips{opacity:1;transform:translate(0)}.music-audio{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-24px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(36px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-36px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(36px)}to{opacity:1;transform:translateY(0)}}@keyframes zoomIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(.92)}to{transform:scale(1)}}@keyframes rubberBand{0%,to{transform:scale(1)}30%{transform:scaleX(1.16)scaleY(.84)}40%{transform:scaleX(.84)scaleY(1.16)}55%{transform:scaleX(1.08)scaleY(.92)}65%{transform:scaleX(.96)scaleY(1.04)}75%{transform:scaleX(1.02)scaleY(.98)}}@keyframes rollIn{0%{opacity:0;transform:translate(-32px)rotate(-120deg)}to{opacity:1;transform:translate(0)rotate(0)}}@keyframes flipInY{0%{opacity:0;transform:perspective(900px)rotateY(90deg)}60%{opacity:1;transform:perspective(900px)rotateY(-12deg)}80%{transform:perspective(900px)rotateY(6deg)}to{transform:perspective(900px)rotateY(0)}}@keyframes puffIn{0%{opacity:0;filter:blur(10px);transform:scale(1.18)}to{opacity:1;filter:blur();transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;transform-origin:bottom;transform:scale(.12)rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform-origin:bottom;transform:scale(1)}}@keyframes musicRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width>=768px){.slide{background-color:#111827}.screen{border-radius:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.template-preview-retry{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#0e7c7b;border:0;border-radius:8px;margin-top:16px;padding:10px 20px}:root{--runtime-editor-primary:#0e7c7b;--runtime-editor-primary-strong:#086565;--runtime-editor-text:#172126;--runtime-editor-muted:#66777d;--runtime-editor-border:#dce5e6;--runtime-editor-surface:#fff;--runtime-editor-danger:#c53b3b}body.runtime-editor-page{color:var(--runtime-editor-text);background:#111719;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}body.runtime-editor-page--rtl{direction:rtl}.runtime-editor-page #app{width:100%;height:100dvh}.runtime-editor-shell{background:#111719;position:fixed;inset:0;overflow:hidden}.runtime-editor-floating-back{top:calc(12px + env(safe-area-inset-top));z-index:25;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111719b8;border:1px solid #ffffff47;border-radius:50%;position:absolute;left:12px;box-shadow:0 4px 14px #0003}.runtime-editor-publish-cluster{top:calc(12px + env(safe-area-inset-top));z-index:25;align-items:center;gap:8px;display:flex;position:absolute;right:12px}.runtime-editor-save-state{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111719b8;border-radius:6px;align-items:center;min-height:28px;padding:0 10px;font-size:11px;line-height:16px;display:inline-flex;box-shadow:0 4px 14px #00000029}.runtime-editor-save-state.is-error{color:var(--runtime-editor-danger)}.runtime-editor-icon-button,.runtime-editor-publish,.runtime-editor-fields-button,.runtime-editor-primary,.runtime-editor-secondary,.runtime-editor-list-link,.runtime-editor-field-row{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0}.runtime-editor-icon-button{width:40px;height:40px;color:var(--runtime-editor-text);background:0 0;justify-content:center;align-items:center;padding:0;font-size:32px;line-height:1;display:inline-flex}.runtime-editor-icon-button:disabled{cursor:default;opacity:.3}.runtime-editor-publish{background:var(--runtime-editor-primary);color:#fff;border-radius:6px;min-width:64px;height:36px;padding:0 16px;font-size:14px;font-weight:700}.runtime-editor-publish:disabled{opacity:.6}.runtime-editor-publish.is-published,.runtime-editor-publish.is-published:disabled{cursor:default;opacity:1;background:#2f7d68}.runtime-editor-stage{background:#111719;justify-content:center;align-items:stretch;display:flex;position:absolute;inset:0;overflow:hidden}.runtime-editor-edit-hint{top:calc(62px + env(safe-area-inset-top));z-index:20;box-sizing:border-box;border:1px solid var(--runtime-editor-border);width:max-content;max-width:min(350px,100% - 32px);color:var(--runtime-editor-primary-strong);text-align:start;pointer-events:none;background:#fffffff5;border-radius:12px;align-items:center;gap:7px;padding:8px 12px;font-size:12px;line-height:1.6;display:flex;position:absolute;left:50%;transform:translate(-50%)}.runtime-editor-edit-hint svg{flex:0 0 16px}.runtime-editor-edit-hint.is-hidden{display:none}.runtime-editor-shell--mini-program .runtime-editor-edit-hint{top:calc(12px + env(safe-area-inset-top))}.runtime-editor-shell--mini-program{--runtime-editor-toolbar-height:calc(64px + env(safe-area-inset-bottom));background:#fffdfa}.runtime-editor-shell--mini-program .runtime-editor-stage{bottom:var(--runtime-editor-toolbar-height);background:#fff}.runtime-editor-shell--mini-program .runtime-editor-toast{bottom:calc(var(--runtime-editor-toolbar-height) + 12px)}.runtime-editor-shell--mini-program .runtime-editor-publish-cluster,.runtime-editor-page--rtl .runtime-editor-shell--mini-program .runtime-editor-publish-cluster{height:var(--runtime-editor-toolbar-height);padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffdfafa;border-top:1px solid #dce5e6eb;align-items:center;gap:8px;display:flex;inset:auto 0 0;box-shadow:0 -10px 28px #1721261a}.runtime-editor-shell--mini-program .runtime-editor-save-state{color:#667078;min-width:46px;max-width:62px;height:44px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-overflow:ellipsis;white-space:nowrap;background:0 0;flex:0 auto;justify-content:center;padding:0;overflow:hidden}.runtime-editor-shell--mini-program .runtime-editor-publish{border-radius:22px;flex:none;min-width:84px;height:44px;padding:0 18px}.runtime-editor-page--rtl .runtime-editor-floating-back{left:auto;right:12px}.runtime-editor-page--rtl .runtime-editor-publish-cluster{left:12px;right:auto}.runtime-editor-frame{background:#fff;border:0;width:min(100%,430px);height:100%}.runtime-editor-fields-button{right:14px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:20;color:#fff;background:#172126eb;border-radius:22px;align-items:center;gap:8px;height:44px;padding:0 16px;transition:opacity .18s;display:inline-flex;position:absolute;box-shadow:0 6px 18px #0000003d}.runtime-editor-fields-button.is-hidden{pointer-events:none;opacity:0}.runtime-editor-page--rtl .runtime-editor-fields-button{left:14px;right:auto}.runtime-editor-fields-button__icon{font-size:18px;line-height:1}.runtime-editor-fields-button--toolbar{min-width:0;height:44px;color:var(--runtime-editor-primary);box-shadow:none;background:#f0f7f5;border:1px solid #0e7c7b4d;border-radius:22px;flex:1;justify-content:center;padding:0 16px;position:static}.runtime-editor-scrim{z-index:35;pointer-events:none;opacity:0;background:#1721262e;transition:opacity .18s;position:absolute;inset:0}.runtime-editor-scrim.is-open{pointer-events:auto;opacity:1}.runtime-editor-sheet{z-index:40;width:100%;max-width:390px;height:min(58dvh,520px);padding:12px 16px calc(18px + env(safe-area-inset-bottom));box-sizing:border-box;background:#fffdfa;border:1px solid #fff;border-radius:28px 28px 0 0;flex-direction:column;margin:0 auto;transition:transform .22s;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden;transform:translateY(105%);box-shadow:0 -14px 34px #1721261f}.runtime-editor-sheet.is-open{transform:translateY(0)}.runtime-editor-sheet__handle{cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent;background:0 0;flex:none;width:120px;height:28px;margin:-4px auto 0;position:relative}.runtime-editor-sheet__handle:after{content:"";background:#dde5e7;border-radius:999px;width:42px;height:4px;position:absolute;top:10px;left:50%;transform:translate(-50%)}.runtime-editor-sheet.is-dragging{transition:none}.runtime-editor-sheet.is-dragging .runtime-editor-sheet__handle{cursor:grabbing}.runtime-editor-sheet.is-settling{transition:transform .18s cubic-bezier(.2,.8,.2,1)}.runtime-editor-sheet__header{justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:0;display:flex}.runtime-editor-sheet__header>div{flex-direction:column;min-width:0;display:flex}.runtime-editor-sheet__header strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;line-height:22px;overflow:hidden}.runtime-editor-sheet__header strong i,.runtime-editor-field-row strong i{color:var(--runtime-editor-danger);margin-left:3px;font-style:normal}.runtime-editor-sheet__header span{color:var(--runtime-editor-muted);font-size:12px;line-height:18px}.runtime-editor-icon-button--sheet{background:#f2f6f5;border-radius:50%;flex:none;width:36px;height:36px;font-size:26px}.runtime-editor-sheet__scroll{overscroll-behavior:contain;flex:1;min-height:0;margin-top:14px;overflow-y:auto}.runtime-editor-sheet__body{overscroll-behavior:contain;flex:1;min-height:0;padding:14px 0 0;overflow-y:auto}.runtime-editor-control{display:block}.runtime-editor-control--name{border-bottom:1px solid #edf1f0;padding:4px 0 16px}.runtime-editor-control>span{color:#43545a;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.runtime-editor-control input,.runtime-editor-control textarea{border:1px solid var(--runtime-editor-border);width:100%;color:var(--runtime-editor-text);font:inherit;box-sizing:border-box;background:#fff;border-radius:12px;outline:0;font-size:16px;transition:border-color .16s,box-shadow .16s}.runtime-editor-control input{height:48px;padding:0 13px}.runtime-editor-control textarea{resize:vertical;min-height:112px;padding:12px 13px;line-height:1.55}.runtime-editor-control input:focus,.runtime-editor-control textarea:focus{border-color:var(--runtime-editor-primary);box-shadow:0 0 0 3px #0e7c7b1f}.runtime-editor-help{color:var(--runtime-editor-muted);margin:10px 0 0;font-size:12px;line-height:1.5}.runtime-editor-field-group h2{color:#526269;background:0 0;margin:0;padding:16px 0 8px;font-size:12px;font-weight:700}.runtime-editor-field-rows{background:0 0}.runtime-editor-field-row{text-align:left;background:0 0;border-bottom:1px solid #edf1f1;align-items:center;gap:12px;width:100%;min-height:62px;padding:12px 0;display:flex}.runtime-editor-page--rtl .runtime-editor-field-row,.runtime-editor-page--rtl .runtime-editor-control,.runtime-editor-page--rtl .runtime-editor-sheet__header,.runtime-editor-page--rtl .runtime-editor-empty{text-align:right}.runtime-editor-page--rtl .runtime-editor-control input,.runtime-editor-page--rtl .runtime-editor-control textarea{text-align:right;direction:rtl}.runtime-editor-field-row__copy{flex-direction:column;flex:1;min-width:0;display:flex}.runtime-editor-field-row strong{color:var(--runtime-editor-text);font-size:14px;line-height:20px}.runtime-editor-field-row small{color:var(--runtime-editor-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px;overflow:hidden}.runtime-editor-field-row__arrow{color:#91a0a4;font-size:24px}.runtime-editor-field-nav{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;margin-top:18px;display:grid}.runtime-editor-icon-button--nav{border:1px solid var(--runtime-editor-border);background:#fff;border-radius:50%;width:44px;height:44px;font-size:26px}.runtime-editor-list-link{height:44px;color:var(--runtime-editor-primary);background:0 0;font-size:14px;font-weight:700}.runtime-editor-asset-control{flex-direction:column;gap:12px;display:flex}.runtime-editor-image-preview{border:1px solid var(--runtime-editor-border);width:100%;min-height:148px;max-height:250px;color:var(--runtime-editor-muted);background:#f3f6f6;border-radius:20px;justify-content:center;align-items:center;font-size:13px;display:flex;overflow:hidden}.runtime-editor-image-preview img{object-fit:contain;width:100%;height:100%;min-height:148px;max-height:250px;display:block}.runtime-editor-audio-name{border:1px solid var(--runtime-editor-border);min-height:48px;color:var(--runtime-editor-muted);text-overflow:ellipsis;white-space:nowrap;border-radius:12px;align-items:center;padding:0 13px;font-size:13px;display:flex;overflow:hidden}.runtime-editor-asset-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.runtime-editor-primary,.runtime-editor-secondary{border-radius:22px;min-height:44px;padding:0 16px;font-size:14px;font-weight:700}.runtime-editor-primary{background:var(--runtime-editor-primary);color:#fff}.runtime-editor-secondary{border:1px solid var(--runtime-editor-primary);color:var(--runtime-editor-primary);background:#fff}.runtime-editor-sheet__footer{flex:none;padding-top:10px}.runtime-editor-sheet__done{background:var(--runtime-editor-primary);color:#fff;width:100%;height:44px;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;border-radius:22px;font-size:13px;font-weight:900}.runtime-editor-empty{color:var(--runtime-editor-muted);text-align:center;padding:32px 18px;font-size:14px}.runtime-editor-toast{left:50%;bottom:calc(24px + env(safe-area-inset-bottom));z-index:60;pointer-events:none;color:#fff;text-align:center;opacity:0;background:#172126f0;border-radius:6px;max-width:calc(100% - 48px);padding:10px 14px;font-size:13px;line-height:20px;transition:opacity .16s,transform .16s;position:absolute;transform:translate(-50%,8px)}.runtime-editor-toast.is-visible{opacity:1;transform:translate(-50%)}.runtime-editor-file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed;overflow:hidden}.runtime-editor-state{min-height:100dvh;color:var(--runtime-editor-text);text-align:center;box-sizing:border-box;background:#f6f8f8;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:28px;display:flex}.runtime-editor-state strong{font-size:17px}.runtime-editor-state p{max-width:360px;color:var(--runtime-editor-muted);margin:0;font-size:13px;line-height:1.6}.runtime-editor-spinner{border:3px solid #d5dfdf;border-top-color:var(--runtime-editor-primary);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite runtime-editor-spin}@keyframes runtime-editor-spin{to{transform:rotate(360deg)}}@media (hover:hover){.runtime-editor-publish:hover,.runtime-editor-primary:hover{background:var(--runtime-editor-primary-strong)}.runtime-editor-field-row:hover{background:#f7fafa}}@media (prefers-reduced-motion:reduce){.runtime-editor-sheet,.runtime-editor-scrim,.runtime-editor-toast,.runtime-editor-fields-button{transition:none}.runtime-editor-spinner{animation-duration:1.8s}}:root{color:#172126;background:#e5eceb;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body.lowcode-editor-page{color:#172126;background:#e5eceb;min-width:320px;min-height:100vh;margin:0;overflow:hidden}.lowcode-editor-page #app{width:100%;height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}.designer-shell{background:#e5eceb;width:100%;height:100vh;overflow:hidden}.designer-toolbar{height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;background:#fff;border-bottom:1px solid #d7e0de;grid-template-columns:44px minmax(150px,1fr) auto auto;align-items:center;gap:10px;display:grid}.icon-button,.save-button{border:0;border-radius:6px;min-width:44px;height:44px}.icon-button{color:#172126;background:#edf3f2;font-size:21px}.save-button{color:#fff;background:#0e7c7b;min-width:78px;padding:0 18px;font-weight:700}.designer-title{flex-direction:column;min-width:0;display:flex}.designer-title strong{color:#172126;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.designer-title span{color:#60706e;margin-top:2px;font-size:11px}.toolbar-history{gap:8px;display:flex}.designer-workspace{height:calc(100vh - 60px - env(safe-area-inset-top));grid-template-columns:150px minmax(360px,1fr) minmax(330px,400px);display:grid}.page-rail{background:#f8faf9;border-inline-end:1px solid #d7e0de;flex-direction:column;min-width:0;padding:16px 12px;display:flex}.rail-title,.section-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.rail-title strong{font-size:13px}.rail-title span,.section-title>span{color:#526460;background:#e3ecea;border-radius:12px;justify-content:center;align-items:center;min-width:24px;height:24px;padding:0 7px;font-size:11px;display:inline-flex}.page-list{flex:1;min-height:0;margin-top:12px;overflow-y:auto}.page-thumb{color:#3e504d;text-align:start;background:0 0;border:1px solid #0000;border-radius:6px;width:100%;min-height:44px;margin-bottom:10px;padding:7px}.page-thumb:hover,.page-thumb.is-active{background:#e8f5f3;border-color:#0e7c7b}.page-thumb>span:last-child{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;display:block;overflow:hidden}.page-thumb__canvas{aspect-ratio:375/667;background:#fff;border:1px solid #d7e0de;border-radius:4px;width:100%;display:block;position:relative;overflow:hidden}.page-thumb__canvas i{display:block;position:absolute;overflow:hidden}.rail-add{color:#0a6665;background:#fff;border:1px dashed #8fb7b3;border-radius:6px;min-height:44px;font-weight:700}.designer-stage{background:#dfe7e6;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.tool-strip{background:#f8faf9f5;border-bottom:1px solid #d1dcda;justify-content:center;align-items:center;gap:8px;min-height:58px;padding:7px 14px;display:flex}.tool-strip button{color:#2d403d;background:#fff;border:1px solid #d3dedc;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:68px;min-height:44px;padding:4px 10px;font-size:12px;display:inline-flex}.tool-strip button:hover{color:#0a6665;border-color:#0e7c7b}.tool-strip b{font-size:17px}.canvas-viewport{touch-action:none;flex:1;justify-content:center;align-items:center;min-height:0;padding:24px;display:flex;overflow:auto}.canvas-frame{max-width:calc(100% - 24px);height:min(100vh - 166px,720px);aspect-ratio:var(--canvas-ratio);background:#fff;border:1px solid #b9c9c6;border-radius:6px;flex:none;position:relative;overflow:visible;box-shadow:0 14px 32px #1a433e24}.designer-canvas{border-radius:inherit;-webkit-user-select:none;user-select:none;touch-action:none;position:absolute;inset:0;overflow:hidden;container-type:inline-size}.canvas-layer{touch-action:none;cursor:move;position:absolute}.canvas-layer>span,.canvas-layer>img{align-items:center;width:100%;height:100%;display:flex;overflow:hidden}.canvas-layer--text>span{white-space:pre-wrap;overflow-wrap:anywhere}.canvas-layer--button>span{justify-content:center;padding:0 5%}.canvas-layer--rect>span{display:block}.canvas-layer--image img{pointer-events:none;display:block}.image-placeholder{color:#6c7d7a;background:#edf3f2;justify-content:center;font-size:28px}.canvas-layer.is-selected:after{content:"";pointer-events:none;border:2px solid #0e7c7b;position:absolute;inset:-2px}.resize-handle{z-index:3;cursor:nwse-resize;touch-action:none;background:#0e7c7b;border:2px solid #fff;border-radius:50%;width:18px;height:18px;position:absolute;bottom:-8px;right:-8px}.designer-inspector{background:#fff;border-inline-start:1px solid #d7e0de;flex-direction:column;min-width:0;min-height:0;display:flex}.inspector-tabs{border-bottom:1px solid #e2e8e7;grid-template-columns:repeat(3,1fr);gap:5px;min-height:54px;padding:5px 10px;display:grid}.inspector-tabs button{color:#5c6d6a;background:0 0;border:0;border-radius:5px;min-height:44px;font-size:12px;font-weight:700}.inspector-tabs button.is-active{color:#0a6665;background:#e5f3f1}.inspector-scroll{min-height:0;padding:0 18px calc(28px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.inspector-section{border-bottom:1px solid #e4eae9;padding:18px 0}.inspector-section:last-child{border-bottom:0}.inspector-section h2{color:#172126;margin:0 0 14px;font-size:14px}.inspector-section h3{color:#445653;margin:22px 0 10px;font-size:12px}.compact-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.compact-actions button{color:#354a46;background:#edf3f2;border:0;border-radius:5px;min-height:34px;padding:0 9px;font-size:11px}.compact-actions button.danger{color:#b42318;background:#fff0ee}.layer-list{gap:5px;max-height:168px;display:grid;overflow-y:auto}.layer-row{color:#42534f;text-align:start;background:#fff;border:1px solid #dce5e3;border-radius:5px;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:7px;min-height:40px;padding:0 10px;display:grid}.layer-row:hover,.layer-row.is-active{background:#eef8f6;border-color:#0e7c7b}.layer-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.form-control{gap:7px;margin-top:13px;display:grid}.form-control>span,.asset-control>label{color:#354744;font-size:12px;font-weight:700}.form-control input,.form-control textarea,.form-control select{color:#172126;background:#fff;border:1px solid #cad6d4;border-radius:5px;outline:0;width:100%;min-height:42px}.form-control input,.form-control select{padding:0 10px}.form-control textarea{resize:vertical;min-height:82px;padding:9px 10px;line-height:1.5}.form-control input:focus,.form-control textarea:focus,.form-control select:focus{border-color:#0e7c7b;box-shadow:0 0 0 3px #0e7c7b1a}.control-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;display:grid}.color-control input{padding:5px}.toggle-row{flex-wrap:wrap;gap:16px;margin-top:16px;display:flex}.toggle-row label{color:#3e514d;align-items:center;gap:7px;min-height:36px;font-size:12px;display:inline-flex}.toggle-row input{accent-color:#0e7c7b;width:18px;height:18px}.asset-control{gap:8px;margin-top:15px;display:grid}.asset-control>img{object-fit:contain;background:#f2f6f5;border:1px solid #d6e0de;border-radius:5px;width:100%;max-height:150px}.asset-control>div{flex-wrap:wrap;gap:7px;display:flex}.asset-control button{color:#0a6665;background:#dff3f0;border:0;border-radius:5px;min-height:40px;padding:0 12px;font-size:12px;font-weight:700}.asset-control button.secondary{color:#566562;background:#f1f3f3}.asset-name{color:#566562;text-overflow:ellipsis;white-space:nowrap;background:#f2f5f4;border-radius:5px;padding:9px 10px;font-size:11px;overflow:hidden}.inspector-empty{color:#60706e;background:#f3f6f5;margin:20px 0;padding:18px;font-size:12px;line-height:1.6}.lowcode-notice{color:#7c2d12;background:#fff7ed;border-inline-start:3px solid #f97316;align-items:center;gap:10px;margin:12px 14px 0;padding:10px 12px;font-size:11px;line-height:1.5;display:flex}.lowcode-notice span{flex:1}.lowcode-notice button{color:#fff;background:#f97316;border:0;border-radius:5px;flex:none;min-height:36px;padding:0 10px;font-size:11px;font-weight:700}.asset-modal{z-index:60;background:#11211f7a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.asset-modal>section{background:#fff;border-radius:8px;flex-direction:column;width:min(720px,100%);max-height:min(680px,88vh);display:flex;overflow:hidden}.asset-modal header{border-bottom:1px solid #e1e8e7;justify-content:space-between;align-items:center;min-height:60px;padding:0 16px;display:flex}.asset-modal h2{margin:0;font-size:16px}.asset-modal header button{color:#172126;background:#edf3f2;border:0;border-radius:6px;width:44px;height:44px;font-size:25px}.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px;display:grid;overflow-y:auto}.asset-grid>button{color:#354744;text-align:start;background:#fff;border:1px solid #d7e1df;border-radius:6px;gap:7px;min-width:0;padding:7px;display:grid}.asset-grid>button:hover{border-color:#0e7c7b}.asset-grid img,.music-mark{aspect-ratio:1;object-fit:cover;color:#0e7c7b;background:#edf3f2;border-radius:4px;justify-content:center;align-items:center;width:100%;font-size:30px;display:flex}.asset-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.asset-grid p{color:#60706e;text-align:center;grid-column:1/-1;padding:32px}.lowcode-toast{left:50%;bottom:calc(22px + env(safe-area-inset-bottom));z-index:80;color:#fff;opacity:0;pointer-events:none;background:#172126;border-radius:6px;max-width:min(88vw,480px);padding:11px 16px;font-size:12px;transition:opacity .18s,transform .18s;position:fixed;transform:translate(-50%,8px)}.lowcode-toast.is-visible{opacity:1;transform:translate(-50%)}.lowcode-file{display:none}.lowcode-state{text-align:center;color:#172126;background:#f4f7f6;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.lowcode-state h1{margin:18px 0 0;font-size:20px}.lowcode-state p{color:#60706e;max-width:420px;margin:10px 0 0;line-height:1.6}.lowcode-state button{color:#fff;background:#0e7c7b;border:0;border-radius:6px;min-height:44px;margin-top:20px;padding:0 20px;font-weight:700}.lowcode-loader{border:3px solid #cdd9d7;border-top-color:#0e7c7b;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@media (width<=900px){.designer-toolbar{grid-template-columns:44px minmax(90px,1fr) auto auto;padding-inline:10px}.designer-workspace{display:block;position:relative}.page-rail{z-index:8;border:0;border-bottom:1px solid #d7e0de;height:76px;padding:6px 10px;display:block;position:absolute;top:0;left:0;right:0;overflow:hidden}.rail-title{display:none}.page-list{gap:8px;height:64px;margin:0 58px 0 0;display:flex;overflow:auto hidden}.page-thumb{width:44px;min-width:44px;height:62px;margin:0;padding:4px}.page-thumb__canvas{aspect-ratio:375/667;height:45px}.page-thumb>span:last-child{display:none}.rail-add{width:48px;height:48px;padding:0;font-size:0;position:absolute;top:10px;right:8px;overflow:hidden}.rail-add:before{content:"+";font-size:23px}.designer-stage{position:absolute;inset:76px 0 min(45vh,420px)}.tool-strip{gap:6px;min-height:56px;padding:6px 8px}.tool-strip button{flex-direction:column;flex:1;gap:0;min-width:0;padding:3px 5px;font-size:9px}.canvas-viewport{padding:12px}.canvas-frame{max-width:calc(100% - 10px);height:calc(100% - 6px)}.designer-inspector{z-index:10;border:0;border-top:1px solid #cfdad8;border-radius:8px 8px 0 0;height:min(45vh,420px);position:absolute;bottom:0;left:0;right:0}.inspector-scroll{padding-inline:16px}.compact-actions button{min-height:40px}.layer-row{min-height:44px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=390px){.designer-title strong{font-size:13px}.designer-title span{font-size:10px}.toolbar-history{gap:4px}.save-button{min-width:64px;padding:0 12px}.control-grid{gap:0 8px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
