/* Formy.li 4.0 — rebuilt, responsive builder. All selectors scoped to its new interface. */
#formyly-root.fyx-ready .fy-app.fy-builder > :not(#fy-next-app){display:none!important}
#formyly-root.fyx-ready .fy-app.fy-builder{display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:#f6f3fc!important;min-height:100vh!important;box-shadow:none!important;border:0!important;border-radius:0!important}
#formyly-root.fyx-ready{width:100%;max-width:none!important;padding:0!important;margin:0!important}
#formyly-root #fy-next-app{display:block;min-height:100vh;color:#252235;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.42;letter-spacing:0}
#fy-next-app *{box-sizing:border-box}
#fy-next-app button,#fy-next-app input,#fy-next-app select,#fy-next-app textarea{font-family:inherit;letter-spacing:inherit}
#fy-next-app button{cursor:pointer}
#fy-next-app input,#fy-next-app select,#fy-next-app textarea{color:#252235}
#fy-next-app input:focus-visible,#fy-next-app select:focus-visible,#fy-next-app textarea:focus-visible,#fy-next-app button:focus-visible{outline:2px solid #7b52c7;outline-offset:2px}
#fy-next-app .fx-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:750;font-size:23px;letter-spacing:-1.1px;color:#24212f}
#fy-next-app .fx-logo{display:grid;place-items:center;border-radius:10px;background:#7242c5;color:#fff;width:31px;height:31px;font-weight:750;font-size:24px;line-height:1}
#fy-next-app .fx-brand-word span{color:#7242c5}
#fy-next-app .fx-home{background:linear-gradient(150deg,#fefeff 0%,#faf8fe 65%,#f4effc 100%);min-height:100vh;display:flex;flex-direction:column}
#fy-next-app .fx-home-top{max-width:1150px;width:100%;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:26px 28px;border-bottom:1px solid #eeebf3}
#fy-next-app .fx-small{color:#817b8d;font-size:13px}
#fy-next-app .fx-home-main{width:100%;max-width:610px;padding:80px 24px 60px;margin:0 auto;flex:1}
#fy-next-app .fx-eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:#7354b5;margin-bottom:17px}
#fy-next-app .fx-home-copy h1{margin:0;font-size:clamp(32px,5vw,46px);font-weight:770;line-height:1.14;letter-spacing:-1.7px;color:#232032}
#fy-next-app .fx-home-copy p{margin:16px 0 32px;font-size:17px;line-height:1.6;color:#70697a}
#fy-next-app .fx-home-options{display:grid;gap:12px}
#fy-next-app .fx-start{display:flex;align-items:center;gap:18px;width:100%;border:1px solid #e6e1ed;border-radius:15px;background:#fff;min-height:94px;padding:18px;box-shadow:0 2px 5px #37284d0a;color:#292337;text-align:start;transition:border-color .18s,box-shadow .18s,transform .18s}
#fy-next-app .fx-start:hover{border-color:#b09ad7;box-shadow:0 6px 18px #37284d16;transform:translateY(-1px)}
#fy-next-app .fx-start-icon{background:#eee7fc;color:#673ab7;width:47px;height:47px;border-radius:12px;display:grid;place-items:center;font-size:26px;flex:none}
#fy-next-app .fx-start>span:nth-child(2){flex:1;min-width:0}
#fy-next-app .fx-start strong{font-size:17px;line-height:1.35;display:block;font-weight:690}
#fy-next-app .fx-start small{font-size:13px;color:#817987;display:block;margin-top:5px;line-height:1.45}
#fy-next-app .fx-chevron{font-size:27px;color:#8973b8}
#fy-next-app .fx-home-footer{padding:18px 26px;max-width:1150px;width:100%;margin:0 auto;border-top:1px solid #eeeaf5;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#817a89}
#fy-next-app .fx-editor{min-height:100vh;background:#f6f3fc}
#fy-next-app .fx-topbar{height:68px;background:#fff;border-bottom:1px solid #e8e4ef;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 max(22px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:10}
#fy-next-app .fx-top-left,#fy-next-app .fx-top-actions{display:flex;align-items:center;gap:13px}
#fy-next-app .fx-back{border:0;background:transparent;font-size:33px;font-weight:350;width:36px;height:40px;padding:0;color:#5c516e}
#fy-next-app .fx-btn{appearance:none;border:1px solid #ddd5e9;background:#fff;min-height:40px;padding:9px 18px;border-radius:10px;font-size:14px;font-weight:650;color:#573f87;display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap;box-shadow:none}
#fy-next-app .fx-btn.fx-primary{background:#673ab7;border-color:#673ab7;color:#fff}
#fy-next-app .fx-btn.fx-primary:hover{background:#542e9b}
#fy-next-app .fx-btn.fx-quiet{border-color:transparent;color:#5b5269;background:transparent}
#fy-next-app .fx-btn.fx-outline{background:#fff;color:#673ab7;border-color:#bba9db}
#fy-next-app .fx-btn:disabled{opacity:.55;cursor:wait}
#fy-next-app .fx-page{max-width:770px;width:100%;padding:27px 20px 80px;margin:0 auto}
#fy-next-app .fx-edit-caption{text-align:center;color:#9787b1;letter-spacing:1.7px;font-size:10px;font-weight:760;margin-bottom:12px}
#fy-next-app .fx-form-intro,#fy-next-app .fx-question,#fy-next-app .fx-box,#fy-next-app .fx-bottom{background:#fff;border:1px solid #e6e1ed;border-radius:12px;box-shadow:0 1px 3px #20183008}
#fy-next-app .fx-form-intro{overflow:hidden;margin-bottom:21px}
#fy-next-app .fx-accent{height:8px;background:#673ab7}
#fy-next-app .fx-form-intro>input{border:0;background:none;display:block;padding:25px 24px 4px;width:100%;font-size:31px;font-weight:710;line-height:1.25;letter-spacing:-1px;min-height:65px;outline:none!important;box-shadow:none!important}
#fy-next-app .fx-form-intro>textarea{width:100%;display:block;border:0;background:transparent;padding:5px 24px 25px;font-size:14px;line-height:1.6;resize:vertical;outline:none!important;box-shadow:none!important;min-height:70px}
#fy-next-app .fx-form-intro input::placeholder,#fy-next-app .fx-form-intro textarea::placeholder{color:#98909e}
#fy-next-app .fx-section-caption{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 9px}
#fy-next-app .fx-section-caption h2{font-size:14px;margin:0;color:#776b88;font-weight:670}
#fy-next-app .fx-section-caption span{font-size:12px;color:#948c9f}
#fy-next-app .fx-questions{display:grid;gap:11px}
#fy-next-app .fx-question{padding:18px 22px 15px;position:relative;cursor:text;transition:border-color .14s,box-shadow .14s}
#fy-next-app .fx-question.fx-selected{border-left:5px solid #7145bd;padding-left:18px;box-shadow:0 2px 9px #29213d12}
#fy-next-app .fx-question-row{display:flex;align-items:center;gap:15px}
#fy-next-app .fx-question-name{display:block;min-width:0;flex:1;width:100%;min-height:43px;padding:9px 0;border:0;border-bottom:1px solid transparent;background:transparent;border-radius:0;font-size:16px;font-weight:610;outline:none!important;box-shadow:none!important}
#fy-next-app .fx-selected .fx-question-name{border-color:#d4c7e8}
#fy-next-app .fx-question-row select{max-width:202px;min-width:140px;min-height:41px;border:1px solid #ddd8e7;border-radius:9px;padding:7px 30px 7px 10px;background-color:#faf9fc;font-size:13px;color:#4b435c}
#fy-next-app .fx-answer-preview{padding:12px 0 9px;font-size:14px;color:#92909a;border-bottom:1px solid #e3e0e7;min-height:46px}
#fy-next-app .fx-sample-choice{display:block;color:#77737e;margin:3px 0}
#fy-next-app .fx-choice-editor{padding:9px 0 11px;border-bottom:1px solid #e8e3ee}
#fy-next-app .fx-opt{display:flex;align-items:center;gap:12px;margin:4px 0}
#fy-next-app .fx-opt>span{color:#767082;font-size:19px}
#fy-next-app .fx-opt input{border:0;background:transparent;flex:1;min-width:0;font-size:14px;padding:8px 0;box-shadow:none!important;outline:none!important}
#fy-next-app .fx-opt button{background:none;border:0;color:#89818f;font-size:22px}
#fy-next-app .fx-add-option{background:transparent;border:0;color:#673ab7;font-size:13px;font-weight:600;margin:7px 0;padding:5px 0}
#fy-next-app .fx-question-actions{display:flex;align-items:center;flex-wrap:wrap;gap:3px;padding-top:13px}
#fy-next-app .fx-question-actions>button{border:0;background:none;color:#736b80;min-height:33px;padding:4px 9px;font-size:12px}
#fy-next-app .fx-question-actions>button:disabled{opacity:.32}
#fy-next-app .fx-required{display:flex;align-items:center;gap:8px;margin-inline-start:auto;font-size:13px;color:#6a5e7c;cursor:pointer}
#fy-next-app input[type=checkbox],#fy-next-app input[type=radio]{accent-color:#673ab7;width:17px;height:17px;flex:none;margin:0}
#fy-next-app .fx-add-wrap{position:relative;margin:14px 0 19px}
#fy-next-app .fx-add{border:1px dashed #baa9d4;background:#f6f1ff;width:100%;color:#673ab7;border-radius:11px;min-height:51px;font-size:15px;font-weight:680}
#fy-next-app .fx-add:hover{background:#eee6fb}
#fy-next-app .fx-add-pop{position:relative;margin-top:8px;background:#fff;border:1px solid #dfd6ea;border-radius:12px;padding:14px;box-shadow:0 7px 20px #30184410}
#fy-next-app .fx-add-title{font-size:13px;color:#655875;font-weight:690;margin:2px 3px 12px}
#fy-next-app .fx-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#fy-next-app .fx-type-grid button{border:1px solid #ede8f2;background:#faf9fc;text-align:start;color:#332d40;border-radius:9px;min-height:46px;padding:9px;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.3}
#fy-next-app .fx-type-grid button:hover{border-color:#bdadd9;background:#f3effa}
#fy-next-app .fx-type-grid button span{color:#673ab7;font-size:18px;min-width:20px;text-align:center}
#fy-next-app .fx-type-event{grid-column:1/-1!important;background:#f3eefd!important;color:#58328f!important;font-weight:700!important}
#fy-next-app .fx-more{background:none;border:0;color:#673ab7;padding:9px 4px 0;font-size:12px;font-weight:600}
#fy-next-app .fx-box{padding:20px 22px;margin:14px 0}
#fy-next-app .fx-section-label{display:flex;gap:13px;align-items:flex-start;margin-bottom:16px}
#fy-next-app .fx-section-icon{height:38px;width:38px;flex:none;display:grid;place-items:center;border-radius:10px;background:#f1eafd;color:#6841b2;font-size:20px}
#fy-next-app .fx-section-label h2{font-size:17px;line-height:1.25;font-weight:690;margin:0;color:#2c2538}
#fy-next-app .fx-section-label p{font-size:12px;color:#817a8b;margin:4px 0 0;line-height:1.5}
#fy-next-app .fx-dashed{width:100%;min-height:48px;border:1px dashed #c5b5dd;color:#673ab7;border-radius:9px;background:#faf8fd;font-size:14px;font-weight:650}
#fy-next-app .fx-event-list{display:grid;gap:9px}
#fy-next-app .fx-event-row{background:#fbfafd;border:1px solid #e8e2ef;border-radius:10px;padding:10px 12px}
#fy-next-app .fx-event-head{display:flex;gap:10px;align-items:center;min-width:0}
#fy-next-app .fx-event-number{height:27px;width:27px;display:grid;place-items:center;border-radius:50%;background:#eee5fa;color:#673ab7;font-size:12px;font-weight:700;flex:none}
#fy-next-app .fx-event-name{min-width:0;flex:1}
#fy-next-app .fx-event-name input{border:0;background:transparent;display:block;min-width:0;width:100%;font-size:14px;font-weight:680;padding:4px 0;box-shadow:none!important;outline:none!important}
#fy-next-app .fx-event-name span{font-size:11px;color:#8c8496;display:block;margin-top:2px}
#fy-next-app .fx-text-link,#fy-next-app .fx-icon-danger{font-size:12px;color:#673ab7;background:none;border:0;padding:6px;white-space:nowrap}
#fy-next-app .fx-icon-danger{color:#9b8e9f;font-size:21px}
#fy-next-app .fx-event-detail{padding:13px 0 2px;border-top:1px solid #e7e1ef;margin-top:11px}
#fy-next-app .fx-event-detail>label,#fy-next-app .fx-pay-options>label,#fy-next-app .fx-settings-body>label{display:block;margin:0 0 13px}
#fy-next-app .fx-event-detail label,#fy-next-app .fx-pay-options label,#fy-next-app .fx-settings-body label{font-size:12px;font-weight:640;color:#5f566c}
#fy-next-app .fx-event-detail input,#fy-next-app .fx-event-detail select,#fy-next-app .fx-pay-options input[type=number],#fy-next-app .fx-pay-options select,#fy-next-app .fx-pay-options textarea,#fy-next-app .fx-settings-body input,#fy-next-app .fx-settings-body select,#fy-next-app .fx-settings-body textarea{width:100%;display:block;margin-top:6px;border:1px solid #ded8e7;background:#fff;border-radius:9px;min-height:41px;padding:9px 11px;font-size:14px;font-weight:450;box-shadow:none}
#fy-next-app .fx-people-table,#fy-next-app .fx-inline-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#fy-next-app .fx-people-table{margin-top:10px}
#fy-next-app .fx-link-add{border:0;background:transparent;color:#673ab7;font-size:13px;font-weight:690;padding:12px 4px}
#fy-next-app .fx-mini-check{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:450;color:#696177;line-height:1.5;margin:7px 0;cursor:pointer}
#fy-next-app .fx-mini-check a{color:#673ab7}
#fy-next-app .fx-remove-group{margin-top:8px;color:#aa6271;background:none;border:0;font-size:11px;padding:3px 0}
#fy-next-app .fx-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-radius:10px;padding:4px;background:#f2eef9}
#fy-next-app .fx-segments button{background:transparent;color:#655774;border:0;border-radius:7px;min-height:38px;font-weight:650;font-size:13px;padding:4px 7px}
#fy-next-app .fx-segments button.active{background:#fff;color:#6236ae;box-shadow:0 1px 4px #30204c1a}
#fy-next-app .fx-hint{color:#8b8294;font-size:12px;margin:12px 3px 0;line-height:1.5}
#fy-next-app .fx-pay-options{margin-top:15px}
#fy-next-app .fx-payment-methods{display:flex;flex-wrap:wrap;gap:11px;margin:16px 0}
#fy-next-app .fx-payment-methods label{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:450}
#fy-next-app .fx-settings{padding:0!important;overflow:hidden}
#fy-next-app .fx-settings summary{cursor:pointer;list-style:none;padding:17px 22px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:680;color:#524463}
#fy-next-app .fx-settings summary::-webkit-details-marker{display:none}
#fy-next-app .fx-settings[open] summary{border-bottom:1px solid #e9e2f1}
#fy-next-app .fx-settings-body{padding:18px 22px}
#fy-next-app .fx-bottom{margin-top:17px;padding:20px 23px;text-align:start}
#fy-next-app .fx-publish-bottom{width:100%;margin-top:13px;min-height:49px;font-size:15px}
#fy-next-app .fx-error{font-size:13px;line-height:1.5;color:#a12643;background:#fff1f3;padding:10px 12px;border:1px solid #f4ced8;border-radius:8px;margin:11px 0}
#fy-next-app .fx-overlay{position:fixed;inset:0;z-index:120;background:#241b36a8;display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
#fy-next-app .fx-dialog,#fy-next-app .fx-preview{background:#fff;border-radius:16px;width:100%;max-width:550px;padding:24px;box-shadow:0 20px 60px #1a102b50}
#fy-next-app .fx-dialog-head,#fy-next-app .fx-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#fy-next-app .fx-dialog-head h2{font-size:21px;margin:0}
#fy-next-app .fx-dialog p{font-size:13px;color:#80768a}
#fy-next-app .fx-dialog textarea{width:100%;border:1px solid #ded4eb;border-radius:10px;min-height:130px;padding:12px;resize:vertical}
#fy-next-app .fx-x{border:0;background:#f2eff8;color:#6e627d;border-radius:50%;height:34px;width:34px;font-size:24px;line-height:1}
#fy-next-app .fx-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
#fy-next-app .fx-preview{max-width:510px;max-height:90vh;overflow-y:auto;background:#f8f5fd;padding:12px}
#fy-next-app .fx-preview-head{padding:9px 11px 15px}
#fy-next-app .fx-preview-body>.fx-preview-title,#fy-next-app .fx-preview-field{border-radius:10px;border:1px solid #e5e1ed;background:#fff;padding:16px;margin:10px 0}
#fy-next-app .fx-preview-title{border-top:6px solid #673ab7!important}
#fy-next-app .fx-preview-title h2{font-size:24px;margin:0 0 8px}
#fy-next-app .fx-preview-title p{font-size:13px;color:#655e70}
#fy-next-app .fx-preview-field b{display:block;font-size:14px;margin-bottom:12px}
#fy-next-app .fx-preview-field input:not([type=checkbox]):not([type=radio]),#fy-next-app .fx-preview-field select{border:1px solid #dedae5;min-height:40px;border-radius:8px;padding:9px;width:100%}
#fy-next-app .fx-preview-field label{display:flex;align-items:center;gap:10px;font-size:13px;margin:10px 0}
#fy-next-app .fx-preview-field .fx-inline-two label{display:block}
#fy-next-app .fx-result-main{width:100%;max-width:590px;margin:60px auto;padding:25px}
#fy-next-app .fx-success-mark{border-radius:50%;width:54px;height:54px;display:grid;place-items:center;color:#fff;background:#673ab7;font-size:27px;margin-bottom:20px}
#fy-next-app .fx-result-main h1{font-size:32px;margin:0 0 7px}
#fy-next-app .fx-result-main>p{color:#70687b;font-size:15px;margin:0 0 25px}
#fy-next-app .fx-result-links{display:grid;gap:16px}
#fy-next-app .fx-result-links label{font-size:13px;font-weight:650}
#fy-next-app .fx-result-links label>div{margin-top:7px;display:flex;gap:8px}
#fy-next-app .fx-result-links input,#fy-next-app .fx-short-output input{min-width:0;flex:1;border:1px solid #dcd5e5;padding:10px;border-radius:9px;background:#fff;font-size:13px}
#fy-next-app .fx-result-links button,#fy-next-app .fx-short-output button{background:#f3effb;color:#623ab1;border:1px solid #d9cdeb;padding:10px 12px;border-radius:9px;font-size:12px;font-weight:650}
#fy-next-app .fx-kefi{display:grid;gap:12px;background:#faf7fe;border:1px solid #ddd1ed;padding:18px;border-radius:12px;margin:25px 0}
#fy-next-app .fx-kefi strong{font-size:15px}
#fy-next-app .fx-kefi p{font-size:12px;margin:6px 0 0;color:#80758c}
#fy-next-app .fx-short-output{display:flex;gap:9px}
#fy-next-app .fx-new-form{margin-top:20px}
@media(max-width:700px){
 #fy-next-app .fx-home-top{padding:19px 20px}
 #fy-next-app .fx-small{display:none}
 #fy-next-app .fx-home-main{padding:65px 18px 30px}
 #fy-next-app .fx-home-copy h1{font-size:35px;letter-spacing:-1.3px}
 #fy-next-app .fx-home-copy p{font-size:15px}
 #fy-next-app .fx-start{min-height:83px;padding:13px;gap:13px}
 #fy-next-app .fx-start strong{font-size:15px}
 #fy-next-app .fx-start small{font-size:12px}
 #fy-next-app .fx-start-icon{width:42px;height:42px;font-size:23px}
 #fy-next-app .fx-home-footer{padding:16px;font-size:11px}
 #fy-next-app .fx-topbar{height:61px;padding:0 14px;gap:7px}
 #fy-next-app .fx-top-left{gap:4px}
 #fy-next-app .fx-brand{font-size:19px;gap:6px}
 #fy-next-app .fx-logo{width:28px;height:28px;border-radius:9px;font-size:20px}
 #fy-next-app .fx-top-actions{gap:2px}
 #fy-next-app .fx-btn{font-size:12px;min-height:37px;padding:7px 12px}
 #fy-next-app .fx-top-actions .fx-quiet{font-size:22px;padding:4px 10px}
 #fy-next-app .fx-top-actions .fx-quiet span{display:none}
 #fy-next-app .fx-page{padding:18px 11px 75px}
 #fy-next-app .fx-form-intro>input{font-size:25px;padding:19px 16px 2px}
 #fy-next-app .fx-form-intro>textarea{font-size:13px;padding:6px 16px 17px}
 #fy-next-app .fx-question{padding:13px 14px}
 #fy-next-app .fx-question.fx-selected{padding-left:10px;border-left-width:4px}
 #fy-next-app .fx-question-row{flex-wrap:wrap;gap:3px}
 #fy-next-app .fx-question-name{flex-basis:100%;font-size:15px;min-height:35px;padding:5px 0}
 #fy-next-app .fx-question-row select{margin-top:2px;max-width:100%;width:100%;min-height:35px;font-size:12px}
 #fy-next-app .fx-answer-preview{padding:8px 0}
 #fy-next-app .fx-question-actions{gap:2px}
 #fy-next-app .fx-question-actions>button{font-size:11px;padding:5px}
 #fy-next-app .fx-required{font-size:11px;gap:4px}
 #fy-next-app .fx-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #fy-next-app .fx-box{padding:15px 14px}
 #fy-next-app .fx-event-row{padding:9px}
 #fy-next-app .fx-event-head{gap:5px}
 #fy-next-app .fx-text-link{font-size:11px}
 #fy-next-app .fx-event-number{width:22px;height:22px}
 #fy-next-app .fx-event-name input{font-size:13px}
 #fy-next-app .fx-people-table,#fy-next-app .fx-inline-two{gap:9px}
 #fy-next-app .fx-people-table label{font-size:11px}
 #fy-next-app .fx-segments button{font-size:11px;padding:5px 2px}
 #fy-next-app .fx-settings summary{padding:15px}
 #fy-next-app .fx-settings-body{padding:14px}
 #fy-next-app .fx-bottom{padding:15px}
 #fy-next-app .fx-dialog{padding:17px}
 #fy-next-app .fx-result-main{margin:32px auto;padding:20px}
}
@media(max-width:360px){#fy-next-app .fx-brand-word{display:none}#fy-next-app .fx-question-actions>button{font-size:10px}#fy-next-app .fx-event-head{gap:3px}}
