:root{font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif;color:#15325b;background:#f5f8fc;font-synthesis:none;--blue: #1677ff;--deep-blue: #0b3d91;--border: #dce7f5;--muted: #6d82a3;--green: #16a34a;--red: #ef4444}*{box-sizing:border-box}html,body,#root{margin:0;min-width:1120px;min-height:100%}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.entry-page{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;background:url(/assets/township-tech-background.png) center/cover no-repeat}.entry-overlay{position:absolute;inset:0;background:linear-gradient(115deg,#1471dd12,#ebf9ff33)}.entry-card{width:min(770px,58vw);min-height:500px;padding:54px 64px 48px;position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;border:1px solid rgba(255,255,255,.88);border-radius:28px;background:linear-gradient(180deg,#ffffffe0,#f8fcffc7);box-shadow:0 34px 90px #1d5bab3d,inset 0 1px #ffffffe6;backdrop-filter:blur(22px)}.entry-card:after{content:"";position:absolute;inset:auto 0 0;height:155px;border-radius:0 0 28px 28px;background:linear-gradient(180deg,transparent,rgba(191,222,253,.3));pointer-events:none}.entry-logo{width:105px;height:92px;object-fit:contain;margin-bottom:18px;filter:drop-shadow(0 7px 9px rgba(24,91,174,.13))}.entry-card h1{margin:0;color:#0b3d91;font-size:clamp(42px,4vw,60px);letter-spacing:4px;line-height:1.2;text-shadow:0 2px white}.entry-subtitle{display:flex;align-items:center;gap:20px;margin-top:22px;color:#607da6;font-size:20px;letter-spacing:2px}.entry-subtitle span{width:58px;height:1px;background:#8aa7cc}.entry-note{display:flex;align-items:center;gap:7px;margin:28px 0 0;color:#5780b4;font-size:14px}.entry-button{width:390px;height:78px;margin-top:32px;border:0;border-radius:22px;display:flex;align-items:center;justify-content:center;gap:16px;color:#fff;font-size:27px;font-weight:700;letter-spacing:4px;background:linear-gradient(135deg,#35a5ff,#1266e5 74%);box-shadow:0 18px 28px #1665dc4d,inset 0 1px #ffffff80;position:relative;z-index:1;transition:transform .2s,box-shadow .2s}.entry-button:hover{transform:translateY(-3px);box-shadow:0 22px 38px #1665dc61}.entry-button:active{transform:translateY(0)}.app-shell{min-height:100vh;background:#f5f8fc}.topbar{position:fixed;z-index:20;top:0;left:0;right:0;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fffffff5;border-bottom:1px solid #e0eaf6;box-shadow:0 4px 18px #27528914}.topbar:after{content:"";position:absolute;inset:0 240px 0 360px;opacity:.36;pointer-events:none;background:url(/assets/township-tech-background.png) center 61%/cover no-repeat;mask-image:linear-gradient(90deg,transparent,black 30%,black 70%,transparent)}.brand-wrap,.admin-block{display:flex;align-items:center;position:relative;z-index:1}.brand-wrap img{width:52px;height:48px;object-fit:contain}.brand-wrap strong{margin-left:12px;color:#0a397f;font-size:25px;letter-spacing:1px}.menu-button{display:grid;place-items:center;margin-left:34px;border:0;background:transparent;color:#176edb}.admin-block{gap:10px;color:#203d66}.admin-block div{display:flex;flex-direction:column;gap:2px}.admin-block strong{font-size:14px}.admin-block small{font-size:12px;color:#8092ad}.admin-avatar{width:42px;height:42px;display:grid;place-items:center;color:#fff;border-radius:50%;background:linear-gradient(145deg,#2f8af3,#0d4ba5);border:3px solid #e8f2ff}.sidebar{position:fixed;z-index:10;left:0;top:76px;bottom:0;width:232px;padding:24px 14px;overflow:hidden;color:#dcecff;background:linear-gradient(180deg,#103f86,#052c68 68%,#0e4f9c)}.sidebar:before{content:"";position:absolute;inset:auto -40px 0 -80px;height:270px;opacity:.26;background:url(/assets/township-tech-background.png) left bottom/cover no-repeat;mask-image:linear-gradient(transparent,#000 30%)}.sidebar-label{padding:0 14px 12px;color:#88b7ee;font-size:12px;letter-spacing:1px}.sidebar nav{position:relative;z-index:1;display:flex;flex-direction:column;gap:8px}.sidebar nav button{width:100%;min-height:52px;padding:0 13px;border:1px solid transparent;border-radius:10px;display:flex;align-items:center;gap:11px;color:#cfe5ff;background:transparent;transition:.18s}.sidebar nav button:hover{background:#ffffff14;color:#fff}.sidebar nav button.active{color:#fff;border-color:#ffffff38;background:linear-gradient(135deg,#248dff,#1265e7);box-shadow:0 10px 22px #001b5b47}.sidebar nav button span{font-size:15px;font-weight:600;white-space:nowrap}.sidebar nav button em{margin-left:auto;padding:2px 5px;border-radius:5px;font-size:9px;font-style:normal;color:#89b5eb;background:#ffffff14}.sidebar nav button.active em{color:#dbeeff}.sidebar-art{position:absolute;z-index:1;left:0;right:0;bottom:30px;display:flex;flex-direction:column;align-items:center;gap:11px;color:#80b8f3;font-size:12px}.main-content{min-height:100vh;margin-left:232px;padding:98px 26px 22px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 14px}.breadcrumb{margin-bottom:13px;color:#8ba0bd;font-size:13px}.breadcrumb span{padding:0 8px;color:#b5c3d6}.page-heading h1{margin:0 0 7px;color:#123d7a;font-size:25px}.page-heading p{margin:0;color:#6e82a0;font-size:14px}.heading-actions{display:flex;gap:10px}.heading-actions button,.preview-actions button{height:39px;padding:0 15px;display:flex;align-items:center;gap:7px;border:1px solid #bad2f2;border-radius:9px;color:#176de1;background:#fff;font-weight:600;font-size:13px}.heading-actions button:hover,.preview-actions .secondary:hover{background:#f0f7ff;border-color:#7fb1f2}.privacy-banner{min-height:42px;margin-bottom:14px;padding:0 15px;display:flex;align-items:center;gap:6px;color:#215b9a;border:1px solid #cbe1f7;border-radius:10px;background:linear-gradient(90deg,#edf7ff,#f8fcff);font-size:13px}.workspace-grid,.lower-grid{display:grid;gap:14px}.workspace-grid{grid-template-columns:minmax(430px,.92fr) minmax(520px,1.08fr)}.lower-grid{grid-template-columns:minmax(710px,1fr) 330px;margin-top:14px}.card{border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 6px 18px #25548f12}.upload-card,.process-card{min-height:265px;padding:18px}.preview-card,.result-card{min-height:365px;padding:18px}.card-title{display:flex;align-items:center;gap:10px}.card-title>span{width:27px;height:27px;display:grid;place-items:center;flex:0 0 auto;color:#fff;border-radius:8px;background:linear-gradient(135deg,#2f92ff,#1767dd);font-size:13px;font-weight:700;box-shadow:0 5px 11px #1667dd38}.card-title h2{margin:0;color:#153e7b;font-size:16px}.card-title p{margin:3px 0 0;color:#8798b0;font-size:11px}.drop-zone{height:142px;margin-top:15px;border:1.5px dashed #7eb4f7;border-radius:11px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#2378e7;background:linear-gradient(145deg,#f8fbff,#eef6ff);outline:none;transition:.18s}.drop-zone:hover,.drop-zone:focus,.drop-zone.dragging{border-color:#1677ff;background:#eaf4ff;box-shadow:inset 0 0 0 2px #1677ff14}.drop-zone.dragging{transform:scale(1.005)}.drop-zone.has-error{border-color:#f3a6a6;background:#fff8f8;color:#d94444}.drop-zone>strong{margin-top:8px;color:#174f9b;font-size:14px}.drop-zone>span{margin-top:5px;color:#8a9db8;font-size:11px}.drop-zone>button{margin-top:10px;padding:6px 12px;border:0;border-radius:7px;display:flex;align-items:center;gap:5px;color:#fff;background:#1677ff;font-size:11px}.file-row{min-height:46px;margin-top:10px;padding:7px 10px;display:flex;align-items:center;gap:9px;border-radius:9px;color:#159457;background:#f2fbf6;border:1px solid #cfecdc}.file-row div{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.file-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#315374;font-size:12px}.file-row small{color:#8ca0b6;font-size:10px}.file-row.file-error{color:#df4242;background:#fff6f6;border-color:#f4cccc}.error-message{margin-top:8px;padding:8px 10px;display:flex;gap:7px;align-items:flex-start;color:#c63838;border-radius:8px;background:#fff1f1;font-size:11px;line-height:1.5}.steps{margin-top:35px;display:grid;grid-template-columns:repeat(4,1fr);position:relative}.steps:before{content:"";position:absolute;left:13%;right:13%;top:29px;height:2px;background:#e1eaf6}.step{display:flex;flex-direction:column;align-items:center;position:relative;color:#9aacbf}.step>div{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;color:#91a9c8;background:#f2f6fb;border:1px solid #dbe6f3;box-shadow:0 0 0 7px #fff}.step strong{margin-top:10px;color:#547093;font-size:12px}.step small{margin-top:3px;font-size:10px}.step.done>div{color:#fff;border-color:#6eadff;background:linear-gradient(135deg,#3da4ff,#1764dc);box-shadow:0 0 0 7px #fff,0 8px 16px #1668dd38}.step.done strong{color:#185bb4}.process-status{width:fit-content;margin:24px auto 0;padding:7px 13px;display:flex;align-items:center;gap:7px;border-radius:999px;color:#3973b6;background:#eff7ff;font-size:11px}.preview-head{display:flex;align-items:center;justify-content:space-between}.privacy-switch{display:flex;align-items:center;gap:7px;color:#647d9d;font-size:11px;cursor:pointer}.privacy-switch input{position:absolute;opacity:0}.privacy-switch span{width:32px;height:18px;position:relative;border-radius:99px;background:#ccd8e6;transition:.18s}.privacy-switch span:after{content:"";position:absolute;width:14px;height:14px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:.18s}.privacy-switch input:checked+span{background:#1677ff}.privacy-switch input:checked+span:after{transform:translate(14px)}.table-wrap{height:236px;margin-top:14px;overflow:auto;border:1px solid #dfe8f3;border-radius:9px}table{width:100%;border-collapse:collapse;font-size:11px}th{position:sticky;top:0;z-index:1;height:36px;color:#31587f;background:#f1f6fc;font-weight:600}td{height:34px;padding:0 9px;color:#405b7d;border-top:1px solid #e7eef6;text-align:center;white-space:nowrap}tr:hover td{background:#f8fbff}.id-cell{font-family:Consolas,ui-monospace,monospace;letter-spacing:.3px}.muted{color:#98a8ba}.gender{display:inline-grid;place-items:center;min-width:26px;height:21px;border-radius:6px;color:#1677ff;background:#eaf4ff;font-weight:700}.gender.female{color:#eb4b8a;background:#fff0f6}.row-status{padding:3px 7px;border-radius:99px;color:#278455;background:#effaf4}.row-status.invalid{color:#d54747;background:#fff0f0}.row-status.conflict{color:#c67313;background:#fff7e6}.empty-preview,.empty-result{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b0bfd0}.empty-preview strong,.empty-result strong{margin-top:10px;color:#637d9b;font-size:13px}.empty-preview span,.empty-result span{margin-top:5px;color:#a0afc1;font-size:10px;text-align:center}.preview-actions{display:flex;justify-content:space-between;margin-top:13px}.preview-actions button{min-width:120px;justify-content:center}.preview-actions .primary{color:#fff;border-color:#1677ff;background:linear-gradient(135deg,#2b91ff,#1667df);box-shadow:0 8px 16px #1667df2e}.preview-actions .primary:hover:not(:disabled){transform:translateY(-1px)}.result-card{display:flex;flex-direction:column}.empty-result{flex:1;min-height:260px}.success-panel{margin-top:15px;padding:13px;display:flex;align-items:center;gap:10px;border-radius:10px;color:#159c54;background:linear-gradient(90deg,#ebfaf2,#f7fffa);border:1px solid #ccebd9}.success-panel>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#19a858}.success-panel div{display:flex;flex-direction:column;gap:3px}.success-panel strong{font-size:15px}.success-panel small{color:#70a589;font-size:10px}.stat-grid{margin-top:12px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.stat-grid div{min-height:46px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;border-radius:8px;background:#f7f9fc;border:1px solid #edf1f6}.stat-grid span{color:#7c8da4;font-size:10px}.stat-grid strong{color:#24548f;font-size:17px}.stat-grid .green{color:var(--green)}.stat-grid .red{color:var(--red)}.stat-grid .orange{color:#e58b16}.export-button{width:100%;height:42px;margin-top:13px;border:0;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;background:linear-gradient(135deg,#2890ff,#1263dc);font-weight:700;box-shadow:0 9px 18px #1767dd33}.placeholder-card{min-height:calc(100vh - 126px);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 8px 24px #29548e12}.placeholder-card>span{width:72px;height:72px;display:grid;place-items:center;color:#1677ff;border-radius:20px;background:#edf6ff}.placeholder-card h2{margin:18px 0 7px;color:#173e73}.placeholder-card p{margin:0;color:#91a0b4}.placeholder-card button{margin-top:24px;padding:10px 20px;color:#fff;border:0;border-radius:9px;background:#1677ff}footer{padding:16px 0 0;text-align:center;color:#a0aec0;font-size:10px}.modal-backdrop{position:fixed;z-index:50;inset:0;display:grid;place-items:center;background:#081f4273;backdrop-filter:blur(3px)}.guide-modal{width:480px;position:relative;padding:30px;border-radius:16px;color:#344f70;background:#fff;box-shadow:0 28px 80px #02163847}.modal-close{position:absolute;right:14px;top:14px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:8px;color:#7990ab;background:#f3f6f9}.modal-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,#2f97ff,#1163df)}.guide-modal h2{margin:16px 0;color:#173f78}.guide-modal ol{margin:0;padding-left:22px;line-height:2;font-size:13px}.modal-tip{margin-top:15px;padding:10px;display:flex;align-items:flex-start;gap:7px;color:#a46810;border-radius:9px;background:#fff8e9;font-size:12px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1366px){.topbar{height:68px}.sidebar{top:68px;width:208px}.main-content{margin-left:208px;padding:84px 18px 18px}.brand-wrap strong{font-size:22px}.workspace-grid{grid-template-columns:45% 55%}.lower-grid{grid-template-columns:minmax(650px,1fr) 300px}.upload-card,.process-card{min-height:245px;padding:15px}.drop-zone{height:128px}.steps{margin-top:28px}.step>div{width:52px;height:52px}.table-wrap{height:205px}.preview-card,.result-card{min-height:330px;padding:15px}}
