:root{--ink:#172e2a;--muted:#687972;--green:#167158;--green-dark:#0b5741;--line:#dce4de;--paper:#fbfcf8;--mint:#e9f4ed;--amber:#996716;--blue:#4c6f9c;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,label.dropzone{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,label:focus-visible{outline:3px solid #77b6a0;outline-offset:3px}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.topbar{height:82px;padding:0 5.5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:750;letter-spacing:-.9px}.brandmark{display:grid;place-items:center;background:var(--green);color:#fff;border-radius:10px;width:34px;height:34px;font-size:32px;line-height:1}.brand-sub{font-size:12px;letter-spacing:0;font-weight:500;margin-left:9px;padding-left:18px;border-left:1px solid var(--line);color:var(--muted)}.local-badge{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.local-badge span{height:6px;width:6px;background:var(--green);border-radius:50%}main{max-width:1360px;margin:auto;padding:46px 5.5% 0}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:10px;color:var(--green);letter-spacing:2px;font-weight:700;margin:0 0 15px}h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.2px;line-height:1.35;margin:0 0 13px;font-weight:700}.lede{font-size:14px;color:var(--muted);line-height:1.7;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:42px;padding:10px 17px;border-radius:7px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s}.button.primary{background:var(--green);color:#fff}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.button.secondary:hover:not(:disabled){background:#f0f4ed}.button.text{background:transparent;color:var(--muted);padding:8px 10px}.button.text:hover{color:var(--green);background:var(--mint)}.button.danger{background:#a7463c;color:#fff}.steps{display:flex;align-items:center;max-width:650px;margin:37px 0 37px}.step{display:flex;align-items:center;gap:10px;background:transparent;font-size:13px;color:var(--muted);white-space:nowrap;padding:0}.step span{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;font-size:10px;background:#fff}.step.active{color:var(--green);font-weight:700}.step.active span{color:#fff;background:var(--green);border-color:var(--green)}.step-line{flex:1;height:1px;background:var(--line);margin:0 24px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-title h2{font-size:18px;font-weight:650;margin:0 0 9px;letter-spacing:-.25px}.section-title p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.subtle{font-size:11px;color:var(--muted)}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.upload-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;min-width:0;box-shadow:0 3px 8px #18372e03}.card-heading{display:flex;gap:12px;align-items:center;margin-bottom:24px}.file-tag{display:grid;place-items:center;flex-shrink:0;width:37px;height:40px;border:1px solid #cce1d4;border-radius:6px;color:var(--green);background:#f0f7f1;font-size:17px;font-weight:650}.file-tag.blue{background:#f0f4f9;border-color:#d7e0ed;color:var(--blue)}h3{font-size:15px;margin:0 0 6px;font-weight:650}.card-heading p{font-size:11px;color:var(--muted);margin:0}.pill{margin-left:auto;font-size:10px;background:#f2f5ef;color:var(--muted);padding:5px 8px;border-radius:5px;white-space:nowrap}.dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #c7d7cc;border-radius:8px;min-height:202px;background:linear-gradient(135deg,#fcfdf9,#f6faf5);cursor:pointer;padding:22px;gap:11px;text-align:center}.dropzone:hover,.dropzone.drag{background:var(--mint);border-color:var(--green)}.dropzone strong{font-weight:500;font-size:13px;word-break:break-all}.dropzone>span:last-child{color:var(--muted);font-size:11px}.upload-icon{font-size:28px;color:var(--green);margin-bottom:3px;border:1px solid #dce7dc;border-radius:10px;padding:3px 15px;background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.import-footer{display:flex;align-items:center;justify-content:space-between;margin-top:23px;gap:16px}.import-footer p{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.import-footer p span{font-size:15px;margin-right:7px}.how-it-works{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:53px;border-top:1px solid var(--line);padding-top:27px}.how-it-works span{font-size:9px;letter-spacing:1.5px;color:var(--green);font-weight:700}.how-it-works h3{font-size:13px;margin:12px 0 8px}.how-it-works p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:42px;padding:18px 0 22px;color:var(--muted);font-size:10px}.notice{padding:13px 17px;background:var(--mint);border:1px solid #c8e2d2;border-radius:7px;font-size:12px;line-height:1.7;margin-bottom:20px}.notice.error{background:#fdf0eb;border-color:#ecc9bd;color:#9a4231}.file-options{display:flex;gap:12px;align-items:flex-end;padding-top:17px}.file-options label{display:flex;flex-direction:column;gap:6px;font-size:11px;flex:1;min-width:0}.file-options label:nth-child(2){max-width:65px}input,select{background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--ink);font-size:12px;padding:10px;min-width:0}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;cursor:pointer}input[type=range]{padding:0;accent-color:var(--green);width:100%}.preview-wrap{max-width:100%;overflow:auto;margin-top:14px}.preview-wrap:empty{margin:0}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;color:var(--muted);font-weight:600;background:#f7f9f4}th,td{padding:13px 16px;border-bottom:1px solid #e6ece6;line-height:1.55}td{vertical-align:top}.preview-wrap th,.preview-wrap td{padding:9px 10px;white-space:nowrap;font-size:10px}.preview-caption{font-size:10px;color:var(--muted);margin:10px 0 0}.table-scroll{overflow:auto}.mapping-box{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.mapping-table td{vertical-align:middle}.mapping-table select{width:100%;min-width:150px}.mapping-table th:nth-child(n+3),.mapping-table td:nth-child(n+3){text-align:center}.settings{border-top:1px solid var(--line);background:#f6f9f3;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:40px}.settings label{display:flex;flex-direction:column;gap:12px;font-size:12px;font-weight:600}.settings small{font-size:11px;color:var(--muted);font-weight:400;line-height:1.7}.settings #threshold-label{color:var(--green)}.recipe-label{cursor:pointer}.actions{display:flex;gap:8px;flex-wrap:wrap}.warnings{margin-bottom:18px}.warnings:empty{display:none}.warning{background:#fff6e5;border:1px solid #eedab2;padding:11px 14px;margin:7px 0;border-radius:6px;font-size:11px;color:#806324;line-height:1.7}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0 0 24px}.metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px 18px}.metric-label{display:block;font-size:11px;color:var(--muted);margin-bottom:11px}.metric-value{font-size:29px;letter-spacing:-1px;font-weight:650}.metric:last-child .metric-value{color:var(--blue)}.metric.review .metric-value{color:var(--amber)}.metric small{display:block;color:var(--muted);font-size:9px;margin-top:7px}.result-workspace{display:grid;grid-template-columns:minmax(0,1fr) 365px;gap:18px;align-items:start}.records-panel,.detail-panel{background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden}.filters{padding:15px;display:flex;gap:10px;border-bottom:1px solid var(--line)}.filters select{max-width:170px}.filters input{flex:1;width:0}.records-table td{font-size:11px;padding:14px 15px}.record-title{font-size:12px;display:block;font-weight:600;margin-bottom:5px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-meta{color:var(--muted);font-size:10px}.record-row{cursor:pointer}.record-row:hover{background:#f8faf4}.record-row.selected{background:#eff7f0}.status{display:inline-block;padding:4px 7px;border-radius:5px;font-size:10px;white-space:nowrap;background:#f0f3ee;color:var(--muted)}.status.same{background:#eaf5ed;color:var(--green)}.status.changed{background:#eaf0fa;color:#4c6f9c}.status.review,.status.unresolved{background:#fff2d9;color:#936620}.status.left-only{background:#f3edf7;color:#80638f}.status.right-only{background:#eaf0fa;color:var(--blue)}.pagination{display:flex;justify-content:space-between;align-items:center;padding:7px 15px;font-size:10px;color:var(--muted)}.detail-panel{padding:22px;min-height:350px}.detail-topline{font-size:10px;color:var(--muted);letter-spacing:.5px;margin:0 0 12px}.detail-panel h3{font-size:18px;word-break:break-word;margin-bottom:10px}.detail-panel p{font-size:11px;color:var(--muted);line-height:1.8}.detail-empty{padding-top:44px;text-align:center}.detail-empty .big-icon{font-size:38px;color:#85aa94}.detail-empty h3{font-size:15px;margin-top:16px}.pair-card{border:1px solid var(--line);border-radius:8px;padding:14px;margin-top:14px}.pair-card strong{display:block;font-size:12px;word-break:break-word;margin:7px 0}.pair-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.pair-head span:last-child{color:var(--green);font-weight:600}.pair-card .button{width:100%;margin-top:10px;min-height:35px;font-size:11px}.source-values{font-size:11px;line-height:1.8;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}.value-line{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;margin:5px 0}.value-line span:first-child{color:var(--muted);font-size:10px}.value-line span:last-child{word-break:break-word}.compare-field{padding:11px 0;border-bottom:1px solid var(--line)}.compare-field>strong{font-size:11px;display:block;margin-bottom:7px}.compare-field span{display:block;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.compare-field.changed span:nth-child(2){background:#fdf0ec;color:#9b5038;padding:4px 7px;border-radius:4px;margin-bottom:4px}.compare-field.changed span:nth-child(3){background:#edf6ee;color:var(--green);padding:4px 7px;border-radius:4px}.detail-panel .full-width{width:100%;margin-top:14px}.manual-toggle{margin-top:16px;width:100%;font-size:11px}.manual-tools{margin-top:14px;display:flex;flex-direction:column;gap:9px}.manual-tools select{width:100%}.export-note{font-size:10px;line-height:1.8;color:var(--muted);margin-top:17px}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;max-width:470px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 90px #172e2a33}dialog::backdrop{background:#172e2a66}dialog h2{font-size:18px;margin:0 0 15px}dialog p{font-size:13px;line-height:1.9;color:var(--muted)}dialog .actions{justify-content:flex-end;margin-top:24px}.empty-row td{text-align:center;padding:50px 15px;color:var(--muted)}
@media(min-width:1500px){main{padding-left:60px;padding-right:60px}}@media(max-width:1000px){.result-workspace{grid-template-columns:minmax(0,1fr) 320px}.section-title{align-items:flex-start}.section-title .actions{justify-content:flex-end}.metrics{gap:8px}.metric{padding:14px}.records-table th,.records-table td{padding:12px 9px}}@media(max-width:760px){.topbar{height:68px;padding:0 20px}.brand-sub{display:none}.local-badge{font-size:10px}main{padding:30px 20px 0}.workspace-head{align-items:flex-start;flex-direction:column;gap:20px}.steps{margin:30px 0}.step-line{margin:0 12px}.step{font-size:11px;gap:7px}.step span{width:25px;height:25px}.section-title{flex-direction:column;gap:10px}.import-grid{grid-template-columns:1fr;gap:15px}.upload-card{padding:18px}.dropzone{min-height:170px}.import-footer{align-items:flex-start}.import-footer p{max-width:58%}.how-it-works{gap:20px;margin-top:35px}.how-it-works p{font-size:10px}.settings{grid-template-columns:1fr;gap:25px;padding:20px}.mapping-table th,.mapping-table td{padding:11px 9px}.mapping-table th{white-space:nowrap}.metrics{grid-template-columns:repeat(3,1fr);gap:8px}.metric{padding:14px}.metric-value{font-size:24px}.result-workspace{grid-template-columns:1fr}.detail-panel{min-height:200px}.record-title{max-width:170px}.section-title .actions{justify-content:flex-start}.actions .button{font-size:11px;padding:9px 12px}footer{font-size:9px;gap:10px}.how-it-works{grid-template-columns:1fr}.how-it-works>div{display:grid;grid-template-columns:90px 1fr;gap:0 12px}.how-it-works h3{margin:0}.how-it-works p{grid-column:2}.filters{padding:12px}.filters select{max-width:135px}.records-table td{font-size:10px}.records-table td:nth-child(3){max-width:100px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
