.kdx-page{display:grid;gap:20px;min-width:0}
.kdx-heading{display:flex;align-items:center;gap:16px;padding:8px 0 4px}
.kdx-heading-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #d6e5c8;background:#eef6e5;border-radius:13px;flex:none;color:#55764b}
.kdx-heading-icon svg{width:22px;height:22px}.kdx-heading>div:nth-child(2){min-width:0}
.kdx-heading h2{font-size:25px;letter-spacing:-.6px;margin:5px 0 7px}.kdx-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}
.kdx-scope{margin-left:auto;max-width:240px;font-size:11px;color:#617653;border:1px solid #dce6d3;border-radius:20px;padding:8px 12px;background:#f6faf1;overflow-wrap:anywhere}
.kdx-form{margin:0;min-width:0}.kdx-workbench{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}
.kdx-config,.kdx-guide{margin:0!important;min-width:0}.kdx-config{padding:24px!important}
.kdx-section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:18px}.kdx-section-title>span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:#eef3e9;color:#728b60;font-size:10px;font-weight:700}
.kdx-section-title h3{font-size:15px;margin:0 0 5px}.kdx-section-title p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}
.kdx-route{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:28px}
.kdx-field-node{border:1px solid var(--line);border-radius:11px;padding:16px;background:#fbfcfa;min-width:0}.kdx-field-node.is-target{background:#f5faee;border-color:#cdddba}
.kdx-field-node>small{display:block;font-size:9px;letter-spacing:1px;color:#88977b;font-weight:700;margin-bottom:13px}.kdx-field-node .field{margin:0;min-width:0}.kdx-field-node .field>span{font-size:11px;margin-bottom:7px}
.kdx-route .field select,.kdx-rules .field select{width:100%;min-width:0;box-sizing:border-box;padding:10px 30px 10px 10px;height:42px;border:1px solid #dce4d5;border-radius:7px;background:#fff;font:inherit;font-size:12px;color:var(--ink)}
.kdx-route-arrow{display:grid;place-items:center;color:#8fa17e}.kdx-route-arrow svg{width:22px;height:22px}.kdx-field-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:24px;margin-top:12px;font-size:10px;color:#91a080}
.kdx-type{display:inline-flex;padding:4px 7px;border-radius:5px;background:#ecf2e6;color:#687f57;font-size:10px;line-height:1.4;font-weight:500}
.kdx-rules{gap:16px}.kdx-rules .field{min-width:0;margin:0}.kdx-rules .field>span{font-size:11px}
.kdx-rule-help{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0 20px}.kdx-rule-help>div{font-size:10px;line-height:1.6;color:#8a987d}.kdx-rule-help b{display:block;color:#697c5c;font-weight:600;margin-bottom:2px}
.kdx-check-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:18px;border-top:1px solid var(--line);margin-top:20px}.kdx-check-bar>span{display:flex;align-items:center;gap:8px;max-width:300px;font-size:10px;line-height:1.6;color:var(--muted)}.kdx-check-bar>span svg{width:16px;height:16px;flex:none}.kdx-check-bar .btn{flex:none;gap:10px;min-height:40px}
.kdx-guide{padding:22px!important;background:#f8faf4}.kdx-guide>.eyebrow{font-size:9px;color:#8a9b78}.kdx-guide h3{font-size:15px;margin:8px 0 22px}.kdx-guide ol{list-style:none;margin:0;padding:0;display:grid;gap:22px}.kdx-guide li{display:flex;gap:10px;align-items:flex-start}.kdx-guide li>span{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;border:1px solid #dbe5d0;background:#fff;color:#7a9166;font-size:10px}.kdx-guide li b{font-size:11px;font-weight:700}.kdx-guide li p{margin:6px 0 0;font-size:11px;color:#8b9980;line-height:1.7}.kdx-guide-note{font-size:10px;line-height:1.7;color:#8a987f;border-top:1px solid #dfe6d7;padding-top:17px;margin-top:22px}
.kd-transfer-mapping{margin:18px 0}.kd-transfer-mapping summary{font-size:12px;font-weight:600;cursor:pointer}.kd-transfer-mapping .field{margin:0}.kd-transfer-mapping table td{padding:8px}
.kd-transfer-preview{margin:20px 0 0!important;padding:24px!important;min-width:0}.kdx-preview-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.kdx-preview-head .eyebrow{font-size:9px;color:#8b9d7b}.kdx-preview-head h3{font-size:18px;margin:6px 0 0}
.kdx-readiness{font-size:10px;padding:7px 10px;border-radius:20px;background:#edf5e3;color:#65844d;white-space:nowrap}.kdx-readiness.is-blocked{background:#fff0ec;color:#aa6352}
.kd-transfer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.kd-transfer-stats>span{padding:16px;background:#f7faf3;border:1px solid #e2eadb;border-radius:9px;font-size:10px;color:#869579;line-height:1.6}.kd-transfer-stats b{display:block;font-size:25px;font-weight:600;line-height:1.2;color:#3f6038;margin-bottom:7px}
.kd-transfer-preview>.kd-note{font-size:11px;line-height:1.7;color:#8a987f}.kd-transfer-preview .notice ul{max-height:250px;overflow:auto;line-height:1.7;padding-left:20px}
.kdx-preview-table,.kdx-history-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.kdx-preview-table th,.kdx-history-table th{padding:12px;background:#f5f8ef;color:#859576;font-size:10px;font-weight:600;white-space:nowrap}.kdx-preview-table td,.kdx-history-table td{padding:14px 12px;border-bottom:1px solid #e7eddf;vertical-align:middle;line-height:1.6;color:#4f6650;max-width:280px;overflow-wrap:anywhere;white-space:pre-wrap}.kdx-preview-table tr:last-child td,.kdx-history-table tr:last-child td{border-bottom:0}.kdx-preview-table tbody tr:hover,.kdx-history-table tbody tr:hover{background:#fafcf7}.kdx-preview-table td small,.kdx-history-table td small{display:block;color:#96a38b;font-size:10px;margin-top:5px}.kdx-preview-table th:first-child{min-width:200px}.kdx-history-table{min-width:600px}.kdx-history-arrow{color:#a0b08e;padding:0 6px}
.kdx-apply-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px;background:#f4f9eb;border:1px solid #dce8cd;border-radius:9px;margin-top:20px}.kdx-apply-bar .kn-check{font-size:11px;line-height:1.6;max-width:550px}.kdx-apply-bar .btn{flex:none;min-height:40px}
.kdx-history{margin:0!important;padding:0!important;min-width:0;overflow:hidden}.kdx-history>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;list-style:none;cursor:pointer}.kdx-history>summary::-webkit-details-marker{display:none}.kdx-history>summary>span{display:flex;align-items:center;gap:10px;font-size:14px}.kdx-history>summary svg{width:16px;height:16px;color:#90a07e}.kdx-history>summary small{font-size:10px;background:#eef3e7;padding:4px 7px;border-radius:5px;color:#859775}.kdx-history[open]>summary{border-bottom:1px solid var(--line)}.kdx-history-empty{padding:20px 24px;color:var(--muted);font-size:12px}
@media(max-width:1100px){.kdx-workbench{grid-template-columns:minmax(0,1fr)}.kdx-guide ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kdx-guide h3{margin-bottom:16px}.kdx-guide-note{margin-top:16px;padding-top:12px}.kdx-scope{max-width:180px}}
@media(max-width:700px){.kdx-heading{align-items:flex-start;flex-wrap:wrap}.kdx-heading>div:nth-child(2){flex:1}.kdx-heading h2{font-size:22px}.kdx-scope{margin-left:0;max-width:100%}.kdx-config,.kd-transfer-preview{padding:16px!important}.kdx-route{grid-template-columns:1fr;gap:8px}.kdx-route-arrow{transform:rotate(90deg)}.kdx-field-node{padding:14px}.kdx-guide ol,.kdx-rule-help,.kdx-rules{grid-template-columns:1fr}.kdx-guide ol{gap:16px}.kdx-check-bar,.kdx-apply-bar{align-items:stretch;flex-direction:column;gap:12px}.kdx-check-bar .btn,.kdx-apply-bar .btn{width:100%;white-space:normal;justify-content:center}.kdx-preview-head{align-items:flex-start;flex-direction:column}.kd-transfer-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kd-transfer-stats>span{padding:12px}.kdx-route .field select,.kdx-rules .field select{font-size:16px}.kdx-history>summary{padding:16px}.kdx-preview-table{min-width:700px}}
