.rule-modal-ref{width:min(1120px,92vw);height:min(900px,92vh);max-height:92vh;display:flex;flex-direction:column}.rule-modal-ref>.modal-body{padding:17px 22px 20px;max-height:none;min-height:0;flex:1 1 auto;overflow-y:auto;background:#fff}.rule-modal-ref>header,.rule-modal-ref>footer{flex:0 0 auto}.rule-modal-ref h3{margin:0 0 13px;padding-left:9px;font-size:14px;line-height:17px}.rule-modal-ref .rule-basic{display:grid;grid-template-columns:1fr 1fr;gap:16px 42px;margin:0 24px 18px}.rule-modal-ref .rule-basic label,.rule-modal-ref .rule-form-row{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;color:#263044}.rule-modal-ref .rule-basic b,.rule-modal-ref .rule-form-row b{color:#ff4d4f;font-weight:400;margin-right:3px}.rule-modal-ref input,.rule-modal-ref select,.rule-modal-ref textarea{width:100%;height:33px;border:1px solid #d9e0eb;border-radius:4px;padding:0 10px;background:#fff;color:#4e5969;font:13px inherit}.rule-modal-ref textarea{height:59px;padding:8px 10px;resize:none}.rule-modal-ref .rule-basic .full{grid-column:1/-1}.rule-modal-ref .data-pane{display:grid;grid-template-columns:1fr 34px 1fr;align-items:start;gap:14px}.rule-modal-ref .pane{border:1px solid #edf0f5;border-radius:3px;overflow:hidden;padding-bottom:6px}.rule-modal-ref .pane-head{height:34px;display:flex;justify-content:center;align-items:center;font-size:14px;font-weight:600;color:#41536d;background:#f0f6ff}.rule-modal-ref .target-pane .pane-head{color:#307552;background:#effaf2}.rule-modal-ref .pane-body{padding:12px 28px 0}.rule-modal-ref .rule-form-row{position:relative;margin-bottom:10px}.rule-modal-ref .rule-form-row>b{position:absolute;left:-10px;top:8px;margin:0}.rule-modal-ref .rule-form-row>.dynamic-label{grid-column:1;white-space:nowrap;text-align:right}.rule-modal-ref .rule-form-row>input,.rule-modal-ref .rule-form-row>select,.rule-modal-ref .rule-form-row>textarea{grid-column:2;min-width:0}.rule-modal-ref .data-arrow{height:244px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#50617a}.rule-modal-ref .rule-tip{margin:0 0 9px;padding:6px 9px;min-height:0;background:#f5f8fc;color:#738199;font-size:11px;line-height:17px}.rule-modal-ref .hidden{display:none!important}.rule-modal-ref .mapping-section{margin-top:15px}.rule-modal-ref .mapping-grid-ref{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:18px;align-items:center}.rule-modal-ref .mapping-box{border:1px solid #e5eaf1;border-radius:3px;overflow:hidden}.rule-modal-ref .mapping-box .pane-head{height:34px}.rule-modal-ref .map-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.rule-modal-ref .map-table th,.rule-modal-ref .map-table td{height:33px;padding:0;border:1px solid #e6ebf2;text-align:center;vertical-align:middle;white-space:nowrap;overflow:visible;text-overflow:clip;color:#44506a}.rule-modal-ref .map-table th{font-weight:600;background:#fff}.rule-modal-ref .map-table th:nth-child(1),.rule-modal-ref .map-table td:nth-child(1){width:14%}.rule-modal-ref .map-table th:nth-child(2),.rule-modal-ref .map-table td:nth-child(2){width:52%}.rule-modal-ref .map-table th:nth-child(3),.rule-modal-ref .map-table td:nth-child(3){width:34%}.rule-modal-ref .map-arrow{text-align:center;font-size:23px;color:#50617a}.rule-modal-ref .ddl-head{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.rule-modal-ref .ddl-actions{display:flex;align-items:center;gap:14px;color:#50617a;font-size:12px}.rule-modal-ref .ddl-actions label{display:flex;align-items:center;gap:5px;white-space:nowrap}.rule-modal-ref .ddl-actions input{width:15px;height:15px;padding:0}.rule-modal-ref .generate-btn{height:28px;border:1px solid #bcd9ff;background:#f5faff;color:#1677ff;border-radius:4px;padding:0 10px;cursor:pointer}.rule-modal-ref .ddl-wrap{position:relative;margin-top:8px}.rule-modal-ref .ddl-wrap textarea{height:118px;padding:9px 46px 9px 40px;font-family:Consolas,"SFMono-Regular",monospace}.rule-modal-ref .ddl-wrap:before{content:'1';position:absolute;top:9px;left:14px;color:#9aa5b5;font-size:12px}.rule-modal-ref .ddl-count{position:absolute;right:11px;bottom:9px;color:#8b96a9;font-size:12px}.rule-modal-ref footer{justify-content:center}.rule-modal-ref footer button{min-width:122px}
/* Split rule creation and DDL tool panels. */
.filters #ruleTool{margin-left:auto}.filters #ruleAdd{margin-left:0}
.rule-create-modal{width:min(900px,92vw);height:auto;max-height:min(820px,92vh)}
.rule-create-modal .modal-body{padding-bottom:24px}.rule-create-modal .write-basic{margin-bottom:0}
.write-field-table{grid-column:1/-1;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:10px;color:#263044}
.write-field-table>span{padding-top:8px;text-align:right;white-space:nowrap}.write-field-table>span b{color:#ff4d4f;font-weight:400;margin-right:3px}
.write-field-table table{width:100%;border-collapse:collapse;table-layout:fixed}.write-field-table th,.write-field-table td{height:42px;padding:0;border:1px solid #dfe5ed;text-align:center;color:#4e5969}.write-field-table th{background:#f7f9fc;font-weight:600}.write-field-table th:first-child,.write-field-table td:first-child{width:14%}
.table-tool-modal{width:min(1100px,92vw)}
