.price-input-overridden{border-color:#ff9f0a!important}.price-input-overridden .ant-input-number-input{color:#ff9f0a!important;caret-color:#ff9f0a}html,body,#root{height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.colorWeak{filter:invert(80%)}.ant-layout{min-height:100vh}.ant-pro-sider{width:356px}.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed{left:unset}canvas{display:block}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}@media (max-width: 768px){.ant-table{width:100%;overflow-x:auto}.ant-table-thead>tr>th,.ant-table-tbody>tr>th,.ant-table-thead>tr>td,.ant-table-tbody>tr>td{white-space:pre}.ant-table-thead>tr>th>span,.ant-table-tbody>tr>th>span,.ant-table-thead>tr>td>span,.ant-table-tbody>tr>td>span{display:block}}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.formula-editor{padding:24px;background:#f9fafb;min-height:100vh}.formula-editor .formula-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.formula-editor .formula-editor-header h3{margin:0;color:#111827;font-weight:600}.formula-editor .section-card{background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 2px 8px #0000000f;margin-bottom:24px}.formula-editor .section-card .ant-card-head{background:#f9fafb;border-bottom:1px solid #e5e7eb}.formula-editor .section-card .ant-card-head .ant-card-head-title{font-weight:600;color:#111827}.formula-editor .section-card .ant-card-body{padding:24px}.formula-editor .horizontal-form-layout .form-row{display:flex;gap:16px;margin-bottom:12px;align-items:center;flex-wrap:wrap}.formula-editor .horizontal-form-layout .form-row:last-child{margin-bottom:0}.formula-editor .horizontal-form-layout .form-item{display:flex;align-items:center;gap:8px;min-width:0;flex-shrink:0}.formula-editor .horizontal-form-layout .form-item .label{font-size:13px;font-weight:500;color:#374151;white-space:nowrap;flex-shrink:0}.formula-editor .horizontal-form-layout .form-item .ant-input,.formula-editor .horizontal-form-layout .form-item .ant-select,.formula-editor .horizontal-form-layout .form-item .ant-input-number,.formula-editor .horizontal-form-layout .form-item .ant-switch{flex-shrink:0}.formula-editor .channel-groups-container{margin-bottom:24px}.formula-editor .channel-groups-container .ant-collapse{background:transparent;border:none}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item{background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 2px 8px #0000000f;margin-bottom:16px}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:8px 12px;font-weight:600;color:#111827}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-header .panel-header{display:flex;justify-content:space-between;align-items:center;width:100%}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-header .panel-header span{font-weight:600;color:#111827}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-header .panel-header .ant-btn{padding:4px 8px;height:auto;border:none;background:transparent;transition:all .2s}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-header .panel-header .ant-btn:hover:not(:disabled){background:#fff1f0;color:#ff4d4f}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-header .panel-header .ant-btn:disabled{color:#d9d9d9;cursor:not-allowed}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-content{border:none}.formula-editor .channel-groups-container .ant-collapse .ant-collapse-item .ant-collapse-content .ant-collapse-content-box{padding:24px}.formula-editor .channel-group-content .section-block{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}.formula-editor .channel-group-content .section-block:last-child{border-bottom:none;margin-bottom:0}.formula-editor .channel-group-content .section-block h5{margin-bottom:12px;color:#111827;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#374151;margin-top:16px;position:relative;padding-left:12px}.formula-editor .channel-group-content .section-block h5:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:16px;background:#1677ff;border-radius:2px}.formula-editor .channel-group-content .section-block h5[style*="color: #1677ff"]:before{background:#1677ff}.formula-editor .channel-group-content .section-block h5[style*="color: #ff4d4f"]:before{background:#ff4d4f}.formula-editor .channel-group-content .section-block h5[style*="color: #fa8c16"]:before{background:#fa8c16}.formula-editor .channel-group-content .section-block .fee-group .fee-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.formula-editor .channel-group-content .section-block .fee-group .fee-header .fee-title{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.formula-editor .channel-group-content .section-block .fee-group .ant-form-item{margin-bottom:8px}.formula-editor .channel-group-content .section-block .fee-group .ant-form-item .ant-form-item-label label{font-size:11px;line-height:1.2}.formula-editor .channel-group-content .section-block .fee-group .ant-form-item .ant-form-item-control .ant-input-number{height:24px}.formula-editor .channel-group-content .section-block .inline-switch-input{display:flex;align-items:center;gap:8px}.formula-editor .channel-group-content .section-block .inline-switch-input .ant-switch{flex-shrink:0}.formula-editor .channel-group-content .section-block .inline-switch-input .ant-input-number{flex:1 1;min-width:0}.formula-editor .channel-group-content .section-block .table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.formula-editor .channel-group-content .section-block .table-header h5{margin:0}.formula-editor .channel-group-content .section-block .table-header .ant-btn{height:32px;padding:4px 12px;font-size:12px}.formula-editor .channel-group-content .section-block .ant-table .ant-table-thead>tr>th{background:#f3f4f6;border:1px solid #e5e7eb;padding:8px 12px;font-size:12px;font-weight:600;color:#374151;text-align:center}.formula-editor .channel-group-content .section-block .ant-table .ant-table-tbody>tr>td{border:1px solid #e5e7eb;padding:8px 12px;text-align:center}.formula-editor .channel-group-content .section-block .ant-table .ant-table-tbody>tr:hover>td{background:#f9fafb}.formula-editor .add-group-section{margin-top:12px}.formula-editor .add-group-section .ant-btn{height:32px;border:2px dashed #d9d9d9;border-radius:6px;color:#6b7280;font-weight:500;transition:all .2s}.formula-editor .add-group-section .ant-btn:hover{border-color:#1677ff;color:#1677ff}.formula-editor .add-group-section .ant-btn .anticon{margin-right:8px}.formula-editor .ant-form-item{margin-bottom:12px}.formula-editor .ant-form-item .ant-form-item-label label{font-size:12px;font-weight:500;color:#374151}.formula-editor .ant-form-item .ant-input,.formula-editor .ant-form-item .ant-input-number,.formula-editor .ant-form-item .ant-select-selector{border:1px solid #d9d9d9;border-radius:6px;transition:all .2s}.formula-editor .ant-form-item .ant-input:hover,.formula-editor .ant-form-item .ant-input-number:hover,.formula-editor .ant-form-item .ant-select-selector:hover{border-color:#1677ff}.formula-editor .ant-form-item .ant-input:focus,.formula-editor .ant-form-item .ant-input-number:focus,.formula-editor .ant-form-item .ant-select-selector:focus,.formula-editor .ant-form-item .ant-input.ant-input-focused,.formula-editor .ant-form-item .ant-input-number.ant-input-focused,.formula-editor .ant-form-item .ant-select-selector.ant-input-focused,.formula-editor .ant-form-item .ant-input.ant-select-focused .ant-select-selector,.formula-editor .ant-form-item .ant-input-number.ant-select-focused .ant-select-selector,.formula-editor .ant-form-item .ant-select-selector.ant-select-focused .ant-select-selector{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1a}.formula-editor .ant-form-item .ant-input-number{width:100%}.formula-editor .ant-form-item .ant-switch{background:#d9d9d9}.formula-editor .ant-form-item .ant-switch.ant-switch-checked{background:#1677ff}@media (max-width: 768px){.formula-editor{padding:16px}.formula-editor .formula-editor-header{flex-direction:column;gap:16px;align-items:flex-start}.formula-editor .ant-row{margin:0!important}.formula-editor .ant-col{padding:0!important;margin-bottom:16px}.formula-editor .channel-group-content .section-block .ant-row .ant-col{margin-bottom:8px}}@media (prefers-color-scheme: dark){.formula-editor{background:#1f2937}.formula-editor .section-card,.formula-editor .ant-collapse-item{background:#374151;border-color:#4b5563}.formula-editor .ant-collapse-header{background:#4b5563!important;color:#f9fafb!important}.formula-editor .formula-editor-header h3,.formula-editor .panel-header span,.formula-editor .section-block h5{color:#f9fafb}.formula-editor .ant-form-item-label label{color:#d1d5db}.formula-editor .ant-table-thead>tr>th{background:#4b5563;color:#f9fafb;border-color:#6b7280}.formula-editor .ant-table-tbody>tr>td{border-color:#6b7280;color:#f9fafb}.formula-editor .ant-table-tbody>tr:hover>td{background:#4b5563}}
