.lead-form-designer{padding:16px 0;color:#365261}.lead-schema-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:18px}.lead-schema-toolbar>span{flex:1;color:#8596a2;font-size:12px}.lead-form-designer fieldset,.lead-runtime-drawer fieldset{border:0;padding:0;margin:0;min-width:0}.lead-schema-group{border:1px solid #e3ebf1;margin-bottom:22px}.lead-schema-group>header{display:flex;align-items:center;gap:8px;background:#f6f9fc;padding:12px}.lead-schema-group h3{flex:1;font-size:14px;margin:0;border-left:3px solid #1890ff;padding-left:10px}.lead-schema-group h3 small{font-weight:400}.lead-schema-table{overflow:auto}.lead-schema-table table{border-collapse:collapse;width:100%;min-width:1450px;font-size:12px}.lead-schema-table th,.lead-schema-table td{padding:10px 8px;border-bottom:1px solid #e5edf3;text-align:left}.lead-schema-table th{background:#f9fbfd}.lead-schema-table input:not([type=checkbox]),.lead-schema-table select{box-sizing:border-box;width:120px;height:32px;border:1px solid #d4e0ea;border-radius:3px;padding:4px 8px;color:inherit}.lead-schema-table td:nth-child(9) input{width:60px}.lead-schema-bounds{display:flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:170px}.lead-schema-bounds input{width:68px!important}.lead-schema-table td:last-child{white-space:nowrap}.lead-schema-table td button,.lead-schema-add{border:0!important;background:none!important;color:#1890ff;cursor:pointer}.lead-schema-add{padding:12px}.lead-schema-error{color:#d93025;padding:8px 0;font-size:13px}.lead-schema-mask,.lead-runtime-mask{position:fixed;inset:0;z-index:4400;background:rgba(31,49,58,.5)}.lead-schema-mask{display:flex;align-items:flex-start;justify-content:center;padding-top:15vh}.lead-schema-dialog{background:white;width:min(500px,calc(100vw - 24px));border-radius:4px;box-shadow:0 14px 48px #22334435;color:#365261}.lead-schema-dialog>header,.lead-runtime-drawer>header{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4edf3}.lead-schema-dialog h3,.lead-runtime-drawer h3{margin:0;font-size:16px}.lead-schema-dialog>header button,.lead-runtime-drawer>header button{border:0;background:none;font-size:22px;color:#8598a4;cursor:pointer}.lead-schema-dialog main{padding:22px 20px}.lead-schema-dialog main label{display:grid;grid-template-columns:72px 1fr;align-items:center;gap:8px;margin-bottom:20px;font-size:13px}.lead-schema-dialog input,.lead-schema-dialog select{box-sizing:border-box;width:100%;height:32px;border:1px solid #d4e0ea;border-radius:3px;padding:5px 10px}.lead-schema-dialog footer,.lead-runtime-drawer footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px}.lead-schema-dialog i,.lead-runtime-field>span>i{font-style:normal;color:#ff4d4f}.lead-schema-dialog button,.lead-runtime-drawer button,.lead-schema-toolbar button{min-height:32px;border:1px solid #d4e0ea;background:white;border-radius:3px;padding:5px 14px;color:#426173;cursor:pointer}.lead-schema-dialog button.primary,.lead-runtime-drawer button.primary,.lead-schema-toolbar button.primary{background:#1890ff;color:white;border-color:#1890ff}.lead-runtime-drawer{position:absolute;right:0;top:0;bottom:0;width:min(570px,100vw);display:flex;flex-direction:column;background:white;color:#365261;box-shadow:-12px 0 40px #23384720}.lead-runtime-drawer main{padding:20px 24px;flex:1;overflow:auto;min-height:0}.lead-runtime-drawer footer{border-top:1px solid #e4edf3}.lead-runtime-group{margin-bottom:26px}.lead-runtime-group h4,.lead-extra-values h4{font-size:14px;border-left:3px solid #1890ff;padding-left:10px;margin:0 0 18px}.lead-runtime-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.lead-runtime-field{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:6px;font-size:12px}.lead-runtime-field>span{padding-top:9px}.lead-runtime-field.wide{grid-column:1/-1}.lead-runtime-control{min-width:0;position:relative}.lead-runtime-control input:not([type=radio]):not([type=checkbox]):not([type=file]),.lead-runtime-control select,.lead-runtime-control textarea,.lead-runtime-region>button,.lead-runtime-tags>summary{box-sizing:border-box;min-width:0;width:100%;height:34px;border:1px solid #d4e0ea;border-radius:3px;padding:6px 10px;font:inherit;background:white;color:#365261}.lead-runtime-control textarea{height:120px;resize:vertical;padding-bottom:20px}.lead-runtime-control>small{position:absolute;bottom:7px;right:8px;color:#8597a2}.lead-runtime-control input:focus,.lead-runtime-control textarea:focus,.lead-runtime-control select:focus{outline:1px solid #1890ff}.lead-runtime-choices{display:flex;flex-wrap:wrap;gap:12px;min-height:34px;align-items:center}.lead-runtime-choices label,.lead-runtime-tags label{display:flex;align-items:center;gap:4px;white-space:nowrap}.lead-runtime-tags{position:relative}.lead-runtime-tags>summary{cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lead-runtime-tags>div{position:absolute;top:37px;left:0;z-index:5;min-width:180px;max-height:240px;overflow:auto;padding:12px;display:grid;gap:10px;border:1px solid #d4e0ea;background:white;box-shadow:0 6px 16px #203b5420}.lead-runtime-region>div{display:grid;gap:6px;margin-top:6px}.lead-extra-values dl{display:grid;grid-template-columns:100px 1fr;gap:14px;font-size:13px}.lead-extra-values dd{margin:0}.lead-extra-values{margin-bottom:24px}.lead-runtime-drawer button:disabled,.lead-form-designer button:disabled{cursor:wait;opacity:.5}@media(max-width:520px){.lead-runtime-grid{grid-template-columns:1fr}.lead-runtime-field.wide{grid-column:auto}.lead-runtime-drawer main{padding:16px}.lead-schema-toolbar{flex-wrap:wrap}.lead-schema-toolbar>span{flex-basis:100%}}

.lead-schema-group>header .lead-schema-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:5px;border:0;border-radius:3px;background:transparent;color:#1890ff;cursor:pointer}
.lead-schema-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.lead-schema-icon:hover,.lead-schema-icon:focus-visible{background:#e6f4ff;outline:1px solid #91caff}
.lead-schema-icon::after{content:attr(data-tooltip);position:absolute;right:0;bottom:calc(100% + 8px);padding:7px 10px;border-radius:3px;background:#303133;color:#fff;font-size:12px;line-height:18px;white-space:nowrap;pointer-events:none;opacity:0;z-index:10}
.lead-schema-icon:hover::after,.lead-schema-icon:focus-visible::after{opacity:1}
.lead-runtime-control input::placeholder,.lead-runtime-control textarea::placeholder,.lead-rich-editor:empty::before{color:#365261;opacity:1}
.lead-runtime-control .lead-choice-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:34px;box-sizing:border-box;text-align:left;padding:6px 10px;font:inherit;color:#365261;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-choice-trigger>span{overflow:hidden;text-overflow:ellipsis}.lead-choice-trigger svg{flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;margin-left:8px}.lead-choice-trigger svg.up{transform:rotate(180deg)}
.lead-tag-mask{position:fixed;inset:0;z-index:4600;background:#0006;display:flex;align-items:flex-start;justify-content:center;padding-top:15vh}
.lead-tag-dialog{width:min(956px,calc(100vw - 32px));max-height:75vh;display:flex;flex-direction:column;background:white;border-radius:5px;box-shadow:0 6px 20px #0003;color:#365261;font-size:13px}
.lead-tag-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e4edf3}.lead-tag-dialog h3{font-size:14px;font-weight:500;margin:0}.lead-tag-dialog header button{border:0;background:none;color:#8598a4;font-size:22px;cursor:pointer}
.lead-tag-dialog main{padding:20px;overflow:auto;min-height:200px}.lead-tag-toolbar{display:flex;gap:10px;margin-bottom:30px}.lead-tag-toolbar input,.lead-tag-toolbar select{height:32px;border:1px solid #d4e0ea;border-radius:3px;padding:5px 10px;color:inherit;box-sizing:border-box}.lead-tag-toolbar input{width:250px;min-width:0}.lead-tag-toolbar select{width:160px}
.lead-tag-dialog h4{font-size:14px;border-left:3px solid #1890ff;padding-left:10px;margin:0 0 16px}.lead-tag-dialog main>section{margin-bottom:30px}.lead-tag-chips{display:flex;flex-wrap:wrap;gap:10px}.lead-tag-chips button{padding:7px 16px;border:1px solid transparent;border-radius:3px;background:#f3f6fa;color:inherit;cursor:pointer}.lead-tag-chips button.selected{color:#1890ff;border-color:#1890ff;background:#e6f4ff}
.lead-tag-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px}.lead-tag-dialog footer span{margin-right:auto;color:#8598a4}.lead-tag-dialog footer button{height:32px;padding:5px 15px;border:1px solid #d4e0ea;background:white;border-radius:3px;color:inherit;cursor:pointer}.lead-tag-dialog footer button.primary{background:#1890ff;color:white;border-color:#1890ff}
.lead-region-picker{position:relative}.lead-region-dropdown{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:20;display:flex;border:1px solid #d4e0ea;border-radius:3px;background:white;box-shadow:0 5px 16px #203b5426;overflow:auto}.lead-region-dropdown ul{list-style:none;margin:0;padding:6px 0;min-width:125px;flex:1;max-height:220px;overflow:auto;border-right:1px solid #e4edf3}.lead-region-dropdown ul:last-child{border:0}.lead-region-dropdown li{display:flex;align-items:center}.lead-region-dropdown li.active{background:#f3f6fa}.lead-region-dropdown li button{border:0;background:none;padding:7px 8px;display:flex;align-items:center;gap:7px;font:inherit;white-space:nowrap;text-align:left;flex:1;border-radius:0}.lead-region-dropdown li .lead-region-expand{flex:0;font-size:18px;padding:4px 8px}.lead-region-dropdown i{width:12px;height:12px;border:1px solid #d4e0ea;border-radius:50%;flex:none}.lead-region-dropdown i.selected{border:4px solid #1890ff;box-sizing:border-box}.lead-region-dropdown button[aria-pressed=true]{color:#1890ff}
.lead-rich-control{border:1px solid #d4e0ea;border-radius:3px}.lead-rich-toolbar{display:flex;flex-wrap:wrap;background:#f6f9fc;padding:4px;gap:3px}.lead-rich-toolbar button{font-size:12px;padding:3px 6px;min-height:26px}.lead-rich-editor{min-height:120px;padding:8px 10px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}.lead-rich-editor:empty::before{content:attr(data-placeholder);pointer-events:none}
.lead-schema-table .lead-field-status{display:inline-flex;align-items:center;justify-content:space-between;gap:5px;width:60px;height:22px;border:0;border-radius:12px;background:#1890ff;color:white;padding:2px 3px 2px 8px;cursor:pointer;font-size:12px;white-space:nowrap}.lead-field-status i{width:16px;height:16px;background:white;border-radius:50%;flex:none}.lead-schema-table .lead-field-status.off{flex-direction:row-reverse;padding:2px 8px 2px 3px;background:#d7dce3}.lead-field-status:focus-visible{outline:2px solid #91caff;outline-offset:2px}
.lead-boundary-help{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border:0;border-radius:50%;background:#1890ff;color:white;font-size:11px;font-style:italic;cursor:help;padding:0}.lead-boundary-tooltip{position:fixed;width:300px;box-sizing:border-box;z-index:4800;white-space:pre-line;font-size:12px;line-height:18px;color:#606266;background:white;padding:12px;border-radius:3px;box-shadow:0 4px 20px #203b5433;pointer-events:none}
.lead-schema-bounds input[type=date]{width:145px!important}.lead-runtime-tags>summary{list-style:none}.lead-runtime-tags>summary::-webkit-details-marker{display:none}
.lead-schema-table td .lead-default-trigger{display:flex;align-items:center;gap:4px;width:120px;height:32px;min-height:32px;box-sizing:border-box;padding:5px 9px;border:1px solid #dce6ee!important;background:#fff!important;border-radius:3px;color:#606266;font-size:12px;font-family:inherit;font-weight:400;text-align:left;cursor:pointer}
.lead-default-trigger:focus-visible{outline:2px solid #91caff;outline-offset:1px}
.lead-default-trigger>span{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lead-default-trigger small,.lead-default-trigger b{flex:none;font-weight:400}.lead-default-trigger small{color:#1890ff}
.lead-default-popup [role=option]{display:flex;gap:8px;align-items:flex-start}.lead-default-popup [role=option] i{width:14px;height:14px;flex:none;border:1px solid #dce6ee;border-radius:2px;line-height:14px;text-align:center;font-style:normal}.lead-default-popup [aria-selected=true] i{background:#1890ff;color:white;border-color:#1890ff}.lead-default-popup [role=option] span{overflow-wrap:anywhere}
.lead-default-popup footer{display:flex;gap:10px;padding-top:8px;border-top:1px solid #edf0f5;font-size:12px}.lead-default-popup footer span{margin-right:auto}.lead-default-popup footer button{border:0;background:none;color:#1890ff;cursor:pointer}
@media(max-width:520px){.lead-tag-toolbar{flex-wrap:wrap}.lead-tag-toolbar input,.lead-tag-toolbar select{width:100%}.lead-region-dropdown ul{min-width:105px}.lead-tag-mask{padding-top:8vh}.lead-tag-dialog{max-height:84vh}}
.lead-schema-table .lead-dictionary-trigger{display:flex;justify-content:space-between;align-items:center;width:150px;min-height:32px;padding:5px 10px;background:#fff!important;border:1px solid #dce6ee!important;border-radius:3px;color:#606266;text-align:left;font-size:12px;gap:8px}.lead-dictionary-trigger span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-schema-table .lead-dictionary-trigger:disabled{background:#f5f7fa!important;color:#a8abb2;cursor:not-allowed}.lead-dictionary-dismiss{position:fixed;inset:0;z-index:4890}.lead-dictionary-popup{position:fixed;z-index:4900;background:#fff;border:1px solid #dce6ee;border-radius:4px;box-shadow:0 4px 14px #203b5426;padding:8px;box-sizing:border-box;color:#606266}.lead-dictionary-popup>input{box-sizing:border-box;width:100%;height:32px;border:1px solid #dce6ee;border-radius:3px;padding:0 8px;margin-bottom:6px}.lead-dictionary-popup [role=listbox]{max-height:240px;overflow:auto}.lead-dictionary-popup [role=option]{display:block;width:100%;border:0;background:#fff;padding:9px 12px;text-align:left;font-size:13px;color:#606266;cursor:pointer}.lead-dictionary-popup [role=option]:hover,.lead-dictionary-popup [role=option]:focus-visible{background:#f5f7fa}.lead-dictionary-popup [aria-selected=true]{color:#1890ff;font-weight:600;background:#ecf5ff}.lead-dictionary-popup button:disabled{color:#a8abb2;cursor:not-allowed}
