.builder-help-backdrop{z-index:9999;background:#00000059;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.builder-help-modal{z-index:10000;box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;width:100%;min-width:280px;max-width:min(96vw,600px);max-height:90vh;display:flex;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 20px 60px #0000004d}.builder-help-modal-inner{max-height:90vh;padding:2rem 1.2rem 1.2rem;overflow-y:auto}.builder-help-modal-inner::-webkit-scrollbar{width:8px}.builder-help-modal-inner::-webkit-scrollbar-track{background:#f1f1f1}.builder-help-modal-inner::-webkit-scrollbar-thumb{background:silver;border-radius:4px}.builder-help-modal-inner::-webkit-scrollbar-thumb:hover{background:#a0a0a0}@media (max-width:480px){.builder-help-modal{min-width:unset;max-width:94vw}.builder-help-modal-inner{padding:1.2rem .5rem .8rem}}.builder-help-content h2{color:var(--brand1);word-wrap:break-word;overflow-wrap:break-word;margin-top:0;font-size:clamp(1.1rem,4vw,1.3rem)}.builder-help-content ol{margin:1rem 0 1.5rem 1.2rem;padding:0;font-size:clamp(.9rem,3vw,1rem)}.builder-help-content li{word-wrap:break-word;overflow-wrap:break-word;margin-bottom:.7rem;line-height:1.6}:root{--ink:#111827;--muted:#6b7280;--card:#fff;--bg:#fff;--brand1:#4f46e5;--brand2:#4338ca;--accent:#6366f1;--shadow:0 4px 6px #0000000d,0 10px 15px #00000008;--radius:12px;--maxw:1400px;--button-shadow:0 4px 12px #4f46e540;--input-shadow:0 2px 8px #00000014}.builder-root *{box-sizing:border-box}.builder-root img,.builder-root svg{max-width:100%;display:block}.builder-root a{color:inherit;text-decoration:none}.builder-root h1,.builder-root h2,.builder-root h3{margin:0 0 .5rem}.builder-root h2{font-size:1.2rem}.builder-root h3{font-size:1rem}.builder-root p{color:var(--muted);margin:.2rem 0 .8rem;line-height:1.6}.builder-root .muted{color:var(--muted)}.builder-root .small-note{margin-top:.2rem;font-size:.85rem}.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 1rem}@media (max-width:480px){.container{max-width:100vw;padding:0 .4rem}}.skip-link{width:1px;height:1px;position:absolute;top:auto;left:-9999px;overflow:hidden}.skip-link:focus{color:#000;width:auto;height:auto;box-shadow:var(--shadow);z-index:10000;background:#fff;border-radius:10px;padding:.6rem 1rem;position:fixed;top:1rem;left:1rem}.builder-header{z-index:1000;-webkit-backdrop-filter:saturate(180%)blur(10px);backdrop-filter:saturate(180%)blur(10px);background:#fffffff2;border-bottom:1px solid #e5e7eb;position:sticky;top:0;box-shadow:0 1px 3px #0000000d}.header-inner{justify-content:space-between;align-items:center;gap:.8rem;padding:1.2rem 0;display:flex}.builder-header .logo{flex-shrink:0;align-items:center;gap:.5rem;font-weight:900;display:flex}.builder-header .logo-mark{font-size:1.2rem}.builder-header .logo-text{letter-spacing:.2px}@media (max-width:719px){.builder-header .header-inner{gap:.5rem;padding:.8rem 0;flex-direction:row!important;align-items:center!important}.builder-header .logo{gap:.5rem;min-width:auto;min-height:auto;font-size:1rem;justify-content:flex-start!important;width:auto!important}.builder-header .logo svg{stroke-width:2.5px;width:20px;height:20px}.builder-header .logo .font-medium{font-size:.95rem;font-weight:600}.builder-header .header-actions{justify-content:flex-end!important;width:auto!important}}.header-actions{flex-shrink:0;align-items:center;gap:.6rem;display:flex}.builder-root .btn-primary,#builder-app .btn-primary,.overlay-content .btn-primary{color:#fff!important;background:#4f46e5!important;box-shadow:0 4px 12px #4f46e540!important}.builder-root .btn-primary:hover,#builder-app .btn-primary:hover,.overlay-content .btn-primary:hover{background:#4338ca!important}.builder-root .btn-secondary{box-shadow:none;border-color:#4f46e5}.mobile-tabs{z-index:999;background:#fff;border-bottom:1px solid #0000001a;gap:0;padding:0 1rem;display:flex;position:sticky;top:56px}.tab-btn{cursor:pointer;color:#64748b;appearance:none;text-align:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:none;border-bottom:2px solid #0000;outline:none;flex:1 1 0;padding:.75rem .5rem;font-family:inherit;font-size:.9rem;font-weight:700;text-decoration:none;transition:all .2s;display:block;position:relative}.tab-btn:focus{outline:none}.tab-btn:active{background:#0000000d;transform:none}.tab-btn[aria-selected=true]{color:var(--brand1);border-bottom-color:var(--brand1);font-weight:800}@media (min-width:720px){.mobile-tabs{display:none}}.builder-root .btn{cursor:pointer;white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:.75rem 1.2rem;font-weight:700;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #00000014}.builder-root .btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.builder-root .btn:active{transform:translateY(0)}.builder-root .btn-primary{color:#fff!important;background:#4f46e5!important;box-shadow:0 4px 12px #4f46e540!important}.builder-root .btn-primary:hover{background:#4338ca!important}.builder-root .btn-secondary{color:var(--ink)!important;background:#fff!important;border:1px solid #d1d5db!important}.builder-root .btn-secondary:hover,#builder-app .btn-secondary:hover{background:#f9fafb!important;border-color:#9ca3af!important}.builder-root .btn-ghost,#builder-app .btn-ghost{color:var(--muted)!important;background:0 0!important;border:1px solid #e5e7eb!important}.builder-root .btn-ghost:hover,#builder-app .btn-ghost:hover{background:#f9fafb!important}.small{padding:.5rem 1rem;font-size:.9rem}.btn-shadow-custom{box-shadow:var(--button-shadow)}.input-shadow-custom{box-shadow:0 2px 16px #4f46e52e!important}.builder-grid{grid-template-columns:1fr;gap:1rem;padding:1rem 0 2rem;display:grid}.panel{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #e5e7eb;min-width:0;padding:1.25rem}.panel-title{color:var(--ink);margin-bottom:1rem;font-size:1.1rem;font-weight:800}.builder-root .panel-title{color:var(--heading-text)}.builder-root .muted,.builder-root .small-note{color:var(--body-text)}.settings-panel .field{margin-top:.8rem}.field label{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.3rem;font-size:.9rem;font-weight:700;display:flex}.field-value{color:var(--brand1);background:#4f46e514;border-radius:6px;padding:.15rem .5rem;font-family:ui-monospace,monospace;font-size:.85rem;font-weight:600}.field input[type=text],.field input[type=url],.field input[type=number],.field select,.field textarea{background:#fafbfc;border:1.5px solid #e5e7eb;border-radius:9px;width:100%;padding:.7rem .85rem;font-size:.93rem;font-weight:500;transition:all .2s;box-shadow:0 1px 2px #0000000a}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand1);background:#fff;outline:none;box-shadow:0 0 0 3px #4f46e514,0 1px 3px #00000014}.field input[type=color]{cursor:pointer;border:1.5px solid #e5e7eb;border-radius:8px;height:44px;transition:all .2s;box-shadow:0 1px 3px #0000000f}.field input[type=color]:hover{border-color:#4f46e54d;box-shadow:0 2px 6px #0000001a}.field input[type=range]{appearance:none;cursor:pointer;background:#e5e7eb;border-radius:3px;outline:none;width:100%;height:6px}.field input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--brand1);cursor:pointer;border-radius:50%;width:18px;height:18px;transition:all .2s;box-shadow:0 2px 4px #4f46e54d}.field input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #4f46e566}.field input[type=range]::-moz-range-thumb{background:var(--brand1);cursor:pointer;border:none;border-radius:50%;width:18px;height:18px;transition:all .2s;box-shadow:0 2px 4px #4f46e54d}.field input[type=range]::-moz-range-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #4f46e566}.field input[type=file]{cursor:pointer;background:#fafbfc;border:1.5px dashed #d1d5db;border-radius:9px;width:100%;padding:.6rem .75rem;font-size:.9rem;font-weight:500;transition:all .2s}.field input[type=file]:hover{background:#fff;border-style:solid;border-color:#4f46e566}.field input[type=file]:focus{border-color:var(--brand1);background:#fff;outline:none;box-shadow:0 0 0 3px #4f46e514}.field textarea{resize:vertical;min-height:84px}.field.checkbox{align-items:center;gap:.6rem;display:flex}.field.checkbox label{margin:0}.grid-3{grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}.divider{background:#e5e7eb;height:1px;margin:1.2rem 0}.accordion{background:linear-gradient(135deg,#fffffff2 0%,#f9fafbf2 100%);border:1px solid #4f46e51f;border-radius:12px;padding:.6rem;transition:all .25s;box-shadow:0 2px 8px #4f46e50f}.accordion:hover{border-color:#4f46e53d;transform:translateY(-1px);box-shadow:0 4px 12px #4f46e51f}.accordion-summary{cursor:pointer;color:var(--ink);-webkit-user-select:none;user-select:none;background:0 0;border-radius:10px;justify-content:space-between;align-items:center;padding:.7rem .8rem;font-weight:800;list-style:none;transition:all .2s;display:flex}.accordion-summary:after{content:"›";opacity:.5;color:var(--muted);font-size:1.6rem;font-weight:400;transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .2s,color .2s;transform:rotate(90deg)}.accordion[open] .accordion-summary:after{opacity:.85;color:var(--brand1);transform:rotate(270deg)}.accordion-summary:hover{color:var(--brand1);background:#ffffffd9}.accordion[open] .accordion-summary{color:var(--brand1);background:#ffffffe6;border-bottom:1px solid #4f46e514;margin-bottom:.4rem}details.accordion{position:relative}details.accordion summary.accordion-summary{cursor:pointer;outline:none;margin:0;padding:.7rem .8rem;list-style:none}details.accordion summary::-webkit-details-marker{display:none}details.accordion summary::marker{display:none}details.accordion>div{padding:.8rem .5rem .5rem}.accordion-summary:after{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .2s,color .2s}details.accordion>div{opacity:0;max-height:0;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .2s;overflow:hidden}details.accordion[open]>div{opacity:1;max-height:2400px;animation:.25s accordionFadeIn;overflow:visible}@keyframes accordionFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.appearance-controls .field-row{gap:.5rem}.appearance-controls .field{flex:1}.appearance-stack{flex-direction:column;gap:.65rem;padding:.65rem 0 .35rem;display:flex}.mini-appearance.accordion{background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;padding:0;transition:all .2s;box-shadow:0 1px 3px #0000000f}.mini-appearance.accordion:hover{border-color:#4f46e559;box-shadow:0 2px 8px #4f46e51f}.mini-appearance .accordion-summary{letter-spacing:.005em;background:0 0;align-items:center;gap:.6rem;padding:.7rem .85rem;font-size:.92rem;font-weight:700;display:flex}.mini-appearance .mini-icon{opacity:.85;flex-shrink:0;font-size:1.1rem;line-height:1}.mini-appearance[open] .accordion-summary{background:linear-gradient(135deg,#4f46e50a 0%,#6366f105 100%);border-bottom:1px solid #4f46e51f}.mini-appearance[open] .accordion-summary .mini-icon{opacity:1}.mini-appearance>div{padding:.85rem .75rem;overflow:visible}.mini-appearance .field{margin-top:.5rem}.mini-appearance .field-row{flex-wrap:wrap;gap:.5rem;display:flex}.color-grid{flex-direction:column;gap:.65rem;width:100%;min-width:0;display:flex}.color-field{flex-direction:column;gap:.35rem;min-width:0;display:flex}.color-field label{color:var(--muted);margin:0;font-size:.85rem;font-weight:700;display:block}.color-input-wrapper{background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;align-items:center;gap:.5rem;min-width:0;max-width:100%;padding:.4rem .5rem;transition:all .2s;display:flex}.color-input-wrapper:hover{border-color:#4f46e54d;box-shadow:0 2px 6px #4f46e514}.color-input-wrapper:focus-within{border-color:var(--brand1);box-shadow:0 0 0 3px #4f46e514}.color-input-wrapper input[type=color]{cursor:pointer;background:0 0;border:none;border-radius:6px;width:36px;height:36px;padding:0;transition:all .2s;box-shadow:0 1px 3px #0000001a}.color-input-wrapper input[type=color]:hover{transform:scale(1.05)}.color-input-wrapper input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-input-wrapper input[type=color]::-webkit-color-swatch{border:2px solid #fff;border-radius:6px;box-shadow:0 0 0 1px #00000014}.color-input-wrapper input[type=color]::-moz-color-swatch{border:2px solid #fff;border-radius:6px;box-shadow:0 0 0 1px #00000014}.color-hex{color:var(--muted);letter-spacing:.02em;-webkit-user-select:all;user-select:all;cursor:text;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-family:ui-monospace,monospace;font-size:.8rem;font-weight:600;overflow:hidden}.shadow-custom-grid{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.shadow-custom-grid input[type=number]{width:100%;padding:.5rem .6rem;font-size:.9rem}.shadow-custom-grid .color-field{grid-column:1/-1;margin-top:.15rem}.bg-image-controls{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.8rem}.floaters{flex-wrap:wrap;gap:.6rem;display:flex}.floater{align-items:center;gap:.35rem;display:inline-flex}.template-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.6rem;margin-top:.6rem;display:grid}.templates-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin-top:1rem;display:grid}.template-card{cursor:pointer;background:linear-gradient(135deg,#fff 0%,#fafbff 100%);border:1px solid #e5e7eb;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;gap:.8rem;padding:1rem;transition:all .2s;display:grid;position:relative;overflow:hidden}.template-card:before{content:"";background:linear-gradient(90deg,var(--brand1),var(--brand2));opacity:0;height:3px;transition:opacity .2s;position:absolute;top:0;left:0;right:0}.template-card:hover{border-color:var(--brand1);transform:translateY(-2px);box-shadow:0 8px 24px #4f46e526}.template-card:hover:before{opacity:1}.template-emoji{color:#fff;background:linear-gradient(135deg,var(--brand1),var(--brand2));border-radius:10px;grid-row:1/3;place-items:center;width:48px;height:48px;font-size:1.4rem;font-weight:800;display:grid;box-shadow:0 4px 12px #4f46e540}.template-main{flex-direction:column;min-width:0;display:flex}.template-title{color:var(--ink);letter-spacing:-.01em;font-size:1rem;font-weight:800}.template-sub{color:var(--muted);margin-top:.15rem;font-size:.875rem}.template-actions{flex-wrap:wrap;gap:.4rem;margin-left:auto;display:flex}.color-chips{gap:5px;margin-top:4px;display:flex}.chip-dot{border:2px solid #fff;border-radius:999px;width:12px;height:12px;box-shadow:0 2px 4px #0000001a}.add-step-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem;display:grid}.add-step{border-radius:8px;min-height:44px;padding:.6rem .9rem;font-weight:700}.chip{cursor:pointer;min-height:44px;color:var(--ink);background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.65rem .8rem;font-weight:700;transition:all .15s}.chip:hover{border-color:var(--brand1);color:var(--brand1);background:#f9fafb}.io-row{flex-wrap:wrap;gap:.5rem;display:flex}.flow-panel{min-height:320px}.flow-list{gap:.6rem;margin:.6rem 0 0;padding:0;list-style:none;display:grid}.step-card{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:.6rem;min-width:0;padding:.7rem;transition:all .15s;display:grid}.step-card:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.step-icon{background:var(--brand1);color:#fff;border-radius:8px;place-items:center;width:36px;height:36px;font-size:0;display:grid}.step-icon svg{width:24px;height:24px;margin:auto;display:block}.step-main{flex-direction:column;min-width:0;display:flex}.step-title{font-weight:800}.step-summary{color:var(--muted);word-break:break-word;font-size:.86rem}.step-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem;display:flex;position:relative}.step-actions-desktop{align-items:center;gap:.35rem;display:flex}.step-menu-mobile{display:none}@media (max-width:719px){.step-actions-desktop{display:none!important}.step-menu-mobile{display:flex!important}}.step-menu-dropdown{z-index:10100;background:#fff;border:1px solid #0000001a;border-radius:16px;min-width:260px;max-width:90vw;animation:.2s ease-out popupFadeIn;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 20px 40px #0000004d}@keyframes popupFadeIn{0%{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}.step-menu-item{text-align:left;color:#374151;cursor:pointer;background:0 0;border:none;align-items:center;gap:.75rem;width:100%;padding:.9rem 1.2rem;font-size:1rem;font-weight:600;transition:background .15s;display:flex}.step-menu-item:hover:not(:disabled){background:#f3f4f6}.step-menu-item:disabled{opacity:.4;cursor:not-allowed}.step-menu-item svg{flex-shrink:0}.step-menu-divider{background:#00000014;height:1px;margin:.25rem 0}.step-menu-delete{color:#dc2626}.step-menu-delete:hover:not(:disabled){background:#fef2f2}.step-menu-backdrop{z-index:10000;background:#0006;animation:.2s ease-out backdropFadeIn;position:fixed;inset:0}@keyframes backdropFadeIn{0%{opacity:0}to{opacity:1}}.icon-btn{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-height:40px;padding:.5rem .6rem;transition:all .15s}.icon-btn:hover{background:#f9fafb;border-color:#d1d5db}.icon{font-size:1rem;line-height:1}.step-card.selected{border:2px solid var(--brand1);background:#4f46e508}.inspector-panel{gap:1rem;display:grid}.inspector-wrap{box-shadow:var(--shadow);background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem}.inspector .empty-state{color:var(--muted);text-align:center;padding:1rem 0}.inspector .field{margin-top:.8rem}.preview-wrap{box-shadow:var(--shadow);background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem;overflow:hidden}.preview-header{justify-content:space-between;align-items:center;margin-bottom:.6rem;display:flex}.builder-root .phone{aspect-ratio:9/19.5;background:#0b0b0c;border-radius:36px;width:min(360px,100%);margin:0 auto;padding:12px;position:relative;overflow:visible;box-shadow:0 30px 60px #1f1a2840;transform:none!important}.builder-root .phone-notch{background:#121214;border-radius:0 0 14px 14px;width:120px;height:20px;position:absolute;top:6px;left:50%;transform:translate(-50%)}.builder-root .phone-screen{contain:paint;background:#f7f8ff;border-radius:26px;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.builder-root .phone-shadow{filter:blur(6px);background:radial-gradient(closest-side,#00000040,#0000);border-radius:50%;height:20px;position:absolute;inset:auto -20% -16px}.overlay{z-index:10000;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:none;position:fixed;inset:0}.overlay[aria-hidden=false]{display:flex}.overlay-inner{background:#fff;border-radius:18px;flex-direction:column;width:100%;max-width:420px;max-height:90vh;padding:1.5rem;display:flex;position:relative;box-shadow:0 20px 60px #0000004d}.overlay-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.overlay-title{font-weight:900}.overlay-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.overlay-close{cursor:pointer;color:var(--muted);background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.5rem .6rem;font-weight:700;transition:all .15s}.overlay-close:hover{color:var(--ink);background:#f9fafb}.overlay-phone{flex:1;justify-content:center;align-items:center;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.overlay-phone .phone{width:min(280px,100%);max-height:100%}.builder-footer{background:#f9fafb;border-top:1px solid #e5e7eb;padding:1.2rem 0}.footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.footer-link{color:var(--brand1);margin-left:1.2rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .18s}.footer-link:hover{color:var(--brand2);text-decoration:underline}.footer-inner .left{color:var(--muted);opacity:.7;font-size:.92rem}@media (max-width:719px){.footer-inner{flex-direction:column;align-items:flex-start;gap:.7rem}.footer-link{margin-left:0;margin-right:1.2rem;display:inline-block}.builder-footer{padding:.7rem 0 .9rem;font-size:.97rem}.footer-inner .left{margin-bottom:.3rem}}.runtime{place-items:center;padding:.5rem;display:grid;position:absolute;inset:0;overflow:hidden}.rt-bg-soft{background:radial-gradient(1000px 500px at 80% -20%,rgba(var(--brand2-rgb),.2),transparent 60%),radial-gradient(900px 500px at -10% 30%,rgba(var(--brand1-rgb),.2),transparent 60%),linear-gradient(#fff8f5,#fff8f5)}.rt-bg-solid{background:0 0}.rt-bg-confetti{background:linear-gradient(#fff,#fff);background-image:radial-gradient(circle at 20% 20%,rgba(var(--brand1-rgb),.15)0 8px,transparent 8px),radial-gradient(circle at 70% 10%,rgba(var(--brand2-rgb),.15)0 7px,transparent 7px),radial-gradient(circle at 80% 80%,rgba(var(--accent-rgb),.15)0 9px,transparent 9px);background-size:200px 200px}.rt-bg-sunset{background:radial-gradient(1200px 600px at 80% -10%,rgba(var(--brand2-rgb),.25),transparent 60%),linear-gradient(180deg,#ffe6ea,#fff0e6)}.rt-bg-dusk{background:radial-gradient(900px 400px at -10% 10%,#7a3e9d2e,#0000 60%),linear-gradient(#f0e6ff,#fff)}.rt-bg-polka{background:#fff;background-image:radial-gradient(circle,rgba(var(--brand2-rgb),.18)20%,transparent 21%),radial-gradient(circle,rgba(var(--accent-rgb),.18)20%,transparent 21%);background-position:0 0,11px 11px;background-size:22px 22px,22px 22px}.rt-bg-stripes{background-image:repeating-linear-gradient(135deg,#fff,#fff 18px,#ffeaea 18px 36px)}.rt-bg-waves{background-image:radial-gradient(circle at 10% 0,#ffe6ef 20%,#0000 21%),radial-gradient(circle at 50% 0,#ffe6ef 20%,#0000 21%),radial-gradient(circle at 90% 0,#ffe6ef 20%,#0000 21%),linear-gradient(#fff,#fff);background-position:0 0,30px 10px,60px 0,0 0;background-size:60px 30px,60px 30px,60px 30px,auto}.rt-bg-spotlight{background:radial-gradient(600px 200px at 50% -10%,rgba(var(--brand1-rgb),.25),transparent 60%),#fff}.rt-bg-image{background-position:50%;background-repeat:no-repeat;background-size:cover}.bg-overlay{pointer-events:none;background:#00000040;position:absolute;inset:0}.rt-card{border-radius:var(--card-radius,20px);border:var(--card-border-width,0px)solid var(--card-border-color,transparent);text-align:center;-webkit-backdrop-filter:saturate(140%)blur();backdrop-filter:saturate(140%)blur();z-index:2;overflow-wrap:break-word;word-wrap:break-word;background:#fff;width:min(92%,520px);max-height:90vh;padding:clamp(1rem,3vw,2rem);animation:.5s cardSlideIn;position:relative;overflow-y:auto;box-shadow:0 20px 60px #0003}.rt-title{letter-spacing:-.01em;word-wrap:break-word;overflow-wrap:break-word;color:#222;font-size:clamp(1.1rem,4vw,1.3rem);font-weight:800;line-height:1.3}.rt-intro-title{color:#1a1a1a;background:linear-gradient(135deg,var(--brand1),var(--brand2));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:1rem;font-size:clamp(1.3rem,5vw,1.8rem);font-weight:900;line-height:1.2;display:inline-block}.rt-intro-text{color:#444;margin-bottom:1.5rem;font-size:clamp(.95rem,3.5vw,1.05rem);font-weight:500;line-height:1.7}.rt-text{color:#555;word-wrap:break-word;overflow-wrap:break-word;margin:.4rem 0 .8rem;font-size:clamp(.9rem,3vw,1rem);line-height:1.5}.rt-btn{border:var(--button-border-width,0px)solid var(--button-border-color,transparent);border-radius:var(--button-radius,8px);cursor:pointer;background:var(--button-bg-rgba,#4f46e5);color:var(--button-text);box-shadow:var(--button-shadow);word-wrap:break-word;justify-content:center;align-items:center;padding:clamp(.7rem,2vw,.8rem) clamp(.9rem,3vw,1rem);font-size:clamp(.9rem,3vw,1rem);font-weight:900;display:inline-flex}.rt-ghost{border:2px solid var(--brand1);color:var(--brand1);background:0 0}.rt-input{box-sizing:border-box;color:#1f1a28;background:#fff;border:1px solid #0000001f;border-radius:12px;width:100%;padding:.7rem .8rem;font-size:clamp(.9rem,3vw,1rem)}.rt-help{color:var(--muted);word-wrap:break-word;font-size:clamp(.8rem,2.5vw,.9rem)}.rt-img{border-radius:14px;width:100%;max-width:100%;height:auto;margin-top:10px}.float-layer{pointer-events:none;z-index:10;position:absolute;inset:0}.heart,.star,.balloon,.petal{opacity:.85;z-index:10;position:absolute}.heart{background:linear-gradient(135deg,var(--brand2),var(--brand1));border-radius:3px;width:16px;height:16px;animation:9s linear infinite floatUp;transform:rotate(45deg)}.heart:before,.heart:after{content:"";background:inherit;border-radius:50%;position:absolute}.heart:before{width:16px;height:16px;left:-8px}.heart:after{width:16px;height:16px;top:-8px}.star{clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);background:linear-gradient(135deg,#ffd166,#fff);width:12px;height:12px;animation:10s linear infinite floatUp;transform:rotate(45deg)}.balloon{background:linear-gradient(135deg,var(--brand2),var(--brand1));border-radius:50% 50% 45% 45%;width:20px;height:26px;animation:11s linear infinite floatUp;box-shadow:0 6px 12px #0000001f}.balloon:after{content:"";background:#d9a;width:2px;height:16px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.petal{background:linear-gradient(135deg,pink,#ff9eb6);border-radius:70% 30%;width:14px;height:18px;animation:12s linear infinite floatDrift}@keyframes floatUp{0%{opacity:0;transform:translateY(0)rotate(0)scale(.9)}10%{opacity:.85}to{opacity:0;transform:translateY(-120%)rotate(10deg)scale(1.1)}}@keyframes floatDrift{0%{opacity:0;transform:translate(0)rotate(0)scale(.9)}10%{opacity:.9}to{opacity:0;transform:translate(20px,-120%)rotate(25deg)scale(1.1)}}@keyframes cardSlideIn{0%{opacity:0;transform:translateY(20px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}#confetti{pointer-events:none;z-index:999;position:fixed;inset:0}#preview-iframe{border:0;width:100%;height:100%;display:none}@media (min-width:980px){.builder-grid{grid-template-columns:300px 1fr 380px}}@media (max-width:719px){#panel-project,#panel-flow,#panel-inspect,#panel-preview{display:none}.builder[data-mode=project] #panel-project,.builder[data-mode=flow] #panel-flow,.builder[data-mode=inspect] #panel-inspect,.builder[data-mode=preview] #panel-inspect,.builder[data-mode=preview] #panel-preview{display:block}}:focus,:focus-visible{outline:none!important}button:focus-visible,a:focus-visible{transition:transform .1s;transform:scale(.98)}button:active,a:active{transform:scale(.95)}input:focus,select:focus,textarea:focus{outline:none}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.share-modal{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10001;opacity:0;background:#000000b3;justify-content:center;align-items:center;padding:1rem;transition:opacity .3s;display:flex;position:fixed;inset:0}.share-modal.show{opacity:1}.share-modal-content{background:#fff;border-radius:16px;flex-direction:column;width:100%;max-width:540px;max-height:90vh;animation:.3s slideUp;display:flex;overflow:hidden;box-shadow:0 20px 60px #0000004d}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.share-header{border-bottom:1px solid #00000014;flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:clamp(1rem,3vw,1.5rem);display:flex}.share-header h2{color:var(--ink);word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;flex:1;min-width:0;margin:0;font-size:clamp(1.1rem,4vw,1.4rem)}.share-close{cursor:pointer;color:#999;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:1.75rem;line-height:1;transition:all .2s;display:flex}.share-close:hover{color:#333;background:#f5f5f5}.share-body{word-wrap:break-word;overflow-wrap:break-word;max-height:calc(90vh - 120px);padding:clamp(1rem,3vw,1.5rem);overflow:hidden auto}.share-body::-webkit-scrollbar{width:8px}.share-body::-webkit-scrollbar-track{background:#f1f1f1}.share-body::-webkit-scrollbar-thumb{background:silver;border-radius:4px}.share-body::-webkit-scrollbar-thumb:hover{background:#a0a0a0}.share-message{color:var(--muted);word-wrap:break-word;overflow-wrap:break-word;margin:0 0 1rem;font-size:clamp(.875rem,2.5vw,1rem)}.tier-info{text-align:center;margin-bottom:1rem}.share-modal .tier-badge{color:#fff;word-wrap:break-word;background:#6c5ce7;border-radius:20px;padding:clamp(.4rem,2vw,.5rem) clamp(.8rem,3vw,1rem);font-size:clamp(.75rem,2.5vw,.85rem);font-weight:600;display:inline-block}.share-url-container{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.share-url-input{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;background:#00000005;border:1px solid #0000001f;border-radius:12px;flex:1;min-width:0;padding:.75rem 1rem;font-family:ui-monospace,monospace;font-size:clamp(.75rem,2vw,.9rem);overflow:hidden}.share-url-input:focus{border-color:var(--brand1);box-shadow:0 0 0 3px #4f46e514}.copy-btn{white-space:nowrap;transition:all .3s}.copy-icon{margin-right:.25rem;display:inline-block}.share-stats{text-align:center;background:#00000008;border-radius:10px;margin-bottom:1rem;padding:.75rem}.share-stats small{color:var(--muted);font-size:.85rem}.share-stats code{background:#00000014;border-radius:4px;padding:.2rem .5rem;font-family:ui-monospace,monospace;font-size:.8rem}.share-actions{flex-wrap:wrap;gap:.75rem;display:flex}.share-actions .btn{flex:1;min-width:140px}.share-modal .btn-primary{color:#fff!important;background:#4f46e5!important}.share-modal .btn-primary:hover{background:#4338ca!important}.share-modal .btn-secondary{color:#4f46e5!important;background:#fff!important;border:2px solid #4f46e5!important}.share-modal .btn-secondary:hover{background:#eef2ff!important}.share-modal .btn-ghost{color:#6b7280!important;background:0 0!important;border:2px solid #e5e7eb!important}.share-modal .btn-ghost:hover{background:#f9fafb!important;border-color:#d1d5db!important}@media (max-width:520px){.share-url-container{flex-direction:column}.copy-btn{width:100%}.share-actions{flex-direction:column}.share-actions .btn{width:100%}}@media (max-width:719px){.panel{box-shadow:none;border:none;border-radius:0;padding:.5rem}.builder-grid{gap:.75rem;padding:.5rem 0 1rem}}
