*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f5f5f5}.container{max-width:1400px;margin:0 auto;padding:20px}.editor-container{display:grid;grid-template-columns:1fr 1.5fr;gap:20px;margin-top:20px}@media (max-width: 968px){.editor-container{grid-template-columns:1fr}}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-group input,.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;font-family:inherit}.form-group textarea{min-height:100px;resize:vertical}.form-group small{display:block;margin-top:5px;color:#666;font-size:12px}.btn{padding:12px 24px;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.btn-primary{background:#4a90e2;color:#fff}.btn-primary:hover{background:#357abd}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268}.btn-success{background:#28a745;color:#fff}.btn-success:hover{background:#218838}.preview-section{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #0000001a;position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto;overflow-x:hidden;min-width:0}.preview-wrapper{display:flex;justify-content:center;align-items:flex-start;width:100%;overflow-x:auto;overflow-y:auto;max-height:calc(100vh - 300px);padding:20px;background:#e0e0e0;border-radius:8px;box-shadow:inset 0 2px 8px #0000001a}.preview-wrapper.preview-mobile,.preview-wrapper.preview-tablet{justify-content:center}.preview-wrapper.preview-desktop{justify-content:flex-start}.preview-content{width:100%!important;overflow-x:hidden!important;background:#fff;padding:0;border-radius:4px;box-shadow:0 4px 20px #0003;margin:0 auto;transition:max-width .3s ease}.preview-content *{font-family:inherit!important}.preview-wrapper.preview-mobile .preview-content{max-width:375px!important;min-width:375px;width:375px!important;border:8px solid #1a1a1a;border-radius:20px;overflow:hidden;position:relative}.preview-wrapper.preview-tablet .preview-content{max-width:768px!important;min-width:768px;width:768px!important;border:8px solid #1a1a1a;border-radius:12px;overflow:hidden;position:relative}.preview-wrapper.preview-mobile .preview-content section{padding:30px 15px!important}.preview-wrapper.preview-mobile .preview-content section h2{font-size:1.8rem!important}.preview-wrapper.preview-mobile .preview-content section p{font-size:1rem!important}.preview-wrapper.preview-tablet .preview-content section{padding:50px 30px!important}.preview-wrapper.preview-tablet .preview-content section h2{font-size:2.5rem!important}.preview-wrapper.preview-desktop .preview-content{max-width:100%!important;min-width:100%;border:none;border-radius:4px}.btn-preview-mode{padding:6px 12px;border:none;background:transparent;color:#666;cursor:pointer;border-radius:4px;font-size:.85rem;font-weight:500;transition:all .2s ease}.btn-preview-mode:hover{background:#0000000d;color:#333}.btn-preview-mode.active{background:#1a3a5f;color:#fff;font-weight:600}.preview-content section,.preview-content section[style*="100vw"],.preview-content section[style*="left: 50%"]{margin-bottom:20px!important;width:100%!important;position:relative!important;left:0!important;right:0!important;margin-left:0!important;margin-right:0!important;max-width:100%!important;padding:40px 20px!important;min-height:auto!important;overflow-x:hidden!important;transform:none!important;box-sizing:border-box!important}.preview-content section>div{max-width:100%!important;width:100%!important;overflow-x:hidden!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;left:auto!important;right:auto!important;position:relative!important}.preview-content section>div>div{max-width:100%!important;width:100%!important;overflow-x:hidden!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;left:0!important;right:0!important;position:relative!important}.preview-content section h2,.preview-content section p{word-wrap:break-word!important;overflow-wrap:break-word!important;max-width:100%!important}.preview-content section>div[style*="max-width: 1200px"],.preview-content section>div[style*="margin: 0 auto"]{max-width:100%!important;width:100%!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important;left:auto!important;right:auto!important;transform:none!important}.preview-content section>div[style*=grid-template-columns]{grid-template-columns:1fr!important;gap:30px!important}@media (min-width: 768px){.preview-content section>div[style*=grid-template-columns]{grid-template-columns:1fr 1fr!important}}.preview-wrapper.preview-desktop .preview-content section>div{max-width:100%!important;width:100%!important;overflow:visible!important}.preview-wrapper.preview-desktop .preview-content section>div>div[style*="display: grid"]{width:100%!important;max-width:100%!important;overflow:visible!important}.preview-wrapper.preview-mobile .preview-content section>div>div[style*="repeat(3, 1fr)"]{grid-template-columns:1fr!important;gap:20px!important}.preview-wrapper.preview-tablet .preview-content section>div>div[style*="repeat(3, 1fr)"]{grid-template-columns:repeat(2,1fr)!important;gap:25px!important}.preview-wrapper.preview-desktop .preview-content section>div>div[style*="repeat(3, 1fr)"]{grid-template-columns:repeat(3,1fr)!important;gap:30px!important;align-items:stretch!important;display:grid!important}.preview-wrapper.preview-desktop .preview-content section>div>div>div[style*="padding: 30px"]{display:flex!important;flex-direction:column!important;height:100%!important;box-sizing:border-box!important;min-height:0!important}.preview-wrapper.preview-desktop .preview-content section>div>div>div[style*="padding: 30px"] h2{flex-shrink:0!important}.preview-wrapper.preview-desktop .preview-content section>div>div>div[style*="padding: 30px"] p{flex:1 1 auto!important;min-height:0!important}.preview-wrapper.preview-desktop .preview-content section>div>div>div[style*="padding: 30px"] a{margin-top:auto!important;flex-shrink:0!important;align-self:flex-start!important}.preview-wrapper.preview-mobile .preview-content section>div>div[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important;gap:30px!important}.preview-wrapper.preview-tablet .preview-content section>div>div[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important;gap:40px!important}.preview-wrapper.preview-mobile .preview-content section>div>div[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important}.preview-wrapper.preview-mobile .preview-content section>div>div>div[style*="padding: 30px"]{padding:20px!important}.preview-wrapper.preview-tablet .preview-content section>div>div>div[style*="padding: 30px"]{padding:25px!important}.preview-wrapper.preview-mobile .preview-content section>div>div>div[style*="padding: 30px"] h2{font-size:1.5rem!important;margin-bottom:10px!important}.preview-wrapper.preview-mobile .preview-content section>div>div>div[style*="padding: 30px"] p{font-size:.95rem!important;line-height:1.5!important;margin-bottom:15px!important}.preview-wrapper.preview-mobile .preview-content section>div>div>div[style*="padding: 30px"] a{padding:12px 30px!important;font-size:.9rem!important;width:100%!important;text-align:center!important;display:block!important}.preview-content section h2{font-size:2rem!important}.preview-content section p{font-size:1.2rem!important}.preview-content img{max-width:100%!important;height:auto!important;max-height:300px!important}.editor-section{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #0000001a}.header{background:#1a3a5f;color:#fff;padding:20px;border-radius:8px;margin-bottom:20px}.header h1{margin:0;font-size:24px}.section-title{background:#f8f9fa;padding:15px;border-left:4px solid #4a90e2;margin:30px 0 20px;font-weight:600;color:#1a3a5f}.html-output{background:#f8f9fa;border:1px solid #ddd;border-radius:4px;padding:15px;font-family:Courier New,monospace;font-size:12px;max-height:400px;overflow-y:auto;white-space:pre-wrap;word-wrap:break-word}.alert{padding:12px 16px;border-radius:4px;margin-bottom:20px}.alert-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.benefits-list-item{display:flex;align-items:center;gap:10px;margin-bottom:10px}.benefits-list-item input{flex:1}.btn-remove{background:#dc3545;color:#fff;padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:12px}.btn-remove:hover{background:#c82333}.btn-add{background:#28a745;color:#fff;padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;margin-top:10px}.btn-add:hover{background:#218838}
