:root{color:#1f2937;font-synthesis:none;background:#f3f6fa;font-family:Microsoft YaHei UI,PingFang SC,Arial,sans-serif}*{box-sizing:border-box}body{min-width:760px;margin:0}.hero{color:#fff;background:#1f4e79;justify-content:space-between;align-items:center;height:82px;padding:12px 26px;display:flex;box-shadow:0 2px 8px #0002}.hero h1{margin:0;font-size:22px}.hero h1 span{background:#ffffff26;border-radius:12px;padding:3px 7px;font-size:13px}.hero p{color:#dce9f5;margin:5px 0 0;font-size:13px}.hero-actions{gap:8px;display:flex}main{max-width:1500px;margin:auto;padding:14px}.card{background:#fff;border:1px solid #d7e0e9;border-radius:8px;box-shadow:0 1px 3px #19324d0d}.inputs{padding:16px}.section-title{justify-content:space-between;align-items:center;display:flex}.section-title h2{color:#1f4e79;margin:0 0 12px;font-size:16px}.badge{border-radius:20px;padding:5px 10px;font-size:12px}.badge.waiting{color:#765b00;background:#fff2cc}.badge.ready{color:#256029;background:#e2f0d9}.file-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.file-grid label,.settings-grid label{color:#475467;font-size:13px;font-weight:600}.file-row{margin-top:6px;display:flex}.file-row input{border-radius:5px 0 0 5px}.file-row button{border-radius:0 5px 5px 0}input,select,button{font:inherit}input,select{background:#fff;border:1px solid #b9c6d3;border-radius:5px;width:100%;height:38px;padding:0 10px}button{color:#1f4e79;cursor:pointer;background:#fff;border:1px solid #9eb0c0;border-radius:5px;padding:8px 14px;font-weight:600}button:hover{filter:brightness(.97)}button:disabled{opacity:.45;cursor:not-allowed}.primary{color:#fff;background:#2f75b5;border-color:#2f75b5}.secondary{background:#e8f0fa}.ghost{color:#fff;background:#ffffff16;border-color:#fff6}.ghost.ok{background:#387a4b}.settings-grid{grid-template-columns:140px 180px 220px 100px 1fr;align-items:end;gap:12px;margin-top:14px;display:grid}.settings-grid label input,.settings-grid label select{margin-top:6px}.action-group{justify-content:flex-end;gap:8px;display:flex}.kpis{grid-template-columns:repeat(6,1fr);gap:10px;margin:12px 0;display:grid}.kpi{padding:12px 14px}.kpi small{color:#667085;display:block}.kpi strong{color:#1f4e79;margin-top:4px;font-size:22px;display:block}.results{height:500px;overflow:hidden}.tabs{border-bottom:1px solid #d7e0e9;height:46px;padding:5px 8px}.tab{color:#475467;background:0 0;border:0}.tab.active{color:#1f4e79;background:#e8f0fa}.tab-panel{height:calc(100% - 46px);padding:8px;display:none}.tab-panel.active{display:block}.table-wrap{border:1px solid #d7e0e9;height:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{color:#1f4e79;text-align:left;z-index:1;background:#e8f0fa;position:sticky;top:0}th,td{vertical-align:top;border:1px solid #d7e0e9;padding:7px 8px}tr.err{background:#fdecec}tr.warn{background:#fff6d8}tr.info{background:#eef5fb}.num{text-align:right;white-space:nowrap}.empty{text-align:center;color:#98a2b3;padding:30px}pre{color:#d9e9f7;white-space:pre-wrap;background:#0f2236;border-radius:5px;height:100%;margin:0;padding:12px;font:12px/1.6 Consolas,monospace;overflow:auto}footer{color:#475467;background:#eaf0f6;border-top:1px solid #ced8e3;justify-content:space-between;align-items:center;height:42px;padding:0 18px;font-size:12px;display:flex;position:sticky;bottom:0}.modal{z-index:10;background:#0b2035aa;place-items:center;display:grid;position:fixed;inset:0}.modal.hidden,.hidden{display:none!important}.modal-card{background:#fff;border-radius:12px;width:min(520px,90vw);padding:26px;box-shadow:0 20px 60px #0005}.modal-card h2{color:#1f4e79;margin:0}.modal-card p{color:#667085;line-height:1.7}.progress{background:#e7edf3;border-radius:8px;height:12px;overflow:hidden}.progress i{background:#2f75b5;width:0;height:100%;transition:width .2s;display:block}.progress-info{color:#667085;justify-content:space-between;margin:8px 0 18px;font-size:12px;display:flex}.toast{color:#fff;opacity:0;pointer-events:none;background:#1f4e79;border-radius:7px;padding:12px 18px;transition:all .2s;position:fixed;bottom:58px;right:24px;transform:translateY(10px)}.toast.show{opacity:1;transform:none}.busy{cursor:progress}@media (max-width:1000px){.file-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:repeat(2,1fr)}.action-group{grid-column:1/-1}.kpis{grid-template-columns:repeat(3,1fr)}}
