.dropdown a{display:block;padding:8px 14px;white-space:nowrap;font-size:14px}
.dropdown a:hover{background:#f5f5f5}
.import-dialog{width:920px;max-width:calc(100vw - 64px);max-height:calc(100vh - 64px);border:0;border-radius:6px;padding:0;background:#fff;color:var(--text);box-shadow:0 12px 48px #0003;overflow:auto}
.import-dialog::backdrop{background:#00000073}
.import-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #f0f0f0}
.import-header h2{font-size:18px;font-weight:600;margin:0}
.import-body{padding:20px 24px 16px}
.import-steps{display:flex;align-items:center;gap:12px;margin-bottom:20px;color:#595959;font-size:13px}
.import-steps span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.import-steps b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#edf3ff;color:var(--primary);font-size:12px}
.import-steps i{height:1px;flex:1;background:#e8e8e8}
.import-template-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}
.import-template-heading h3{margin:0 0 4px;font-size:14px;font-weight:600}
.import-template-heading p{margin:0;color:#8c8c8c;font-size:12px}
.import-sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.import-sheet{border:1px solid #e8e8e8;border-radius:4px;padding:12px 14px}
.import-sheet h4{font-size:14px;margin:0 0 8px;font-weight:500}
.import-sheet h4 span{float:right;color:#8c8c8c;font-size:12px;font-weight:400}
.import-sheet p{margin:0;font-size:12px;line-height:22px;color:#595959}
.import-sheet strong{color:var(--primary);font-weight:400}
.import-rule-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin-bottom:10px}
.import-rule-table th,.import-rule-table td{height:36px;padding:6px 12px;border-bottom:1px solid #f0f0f0;font-size:12px;line-height:20px}
.import-rule-table th{background:#fafafa;font-weight:500}
.import-rule-table th:after{display:none}
.import-hint{margin:0 0 16px;color:#8c8c8c;font-size:12px;line-height:20px}
.import-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:120px;border:1px dashed #c4cad4;border-radius:4px;background:#fafafa;cursor:pointer}
.import-dropzone:hover,.import-dropzone.dragging,.import-dropzone:focus-within{border-color:var(--primary);background:#f5f8ff}
.import-dropzone svg{width:28px;height:28px;color:var(--primary);margin-bottom:2px}
.import-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
#import-file-name{max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.import-dropzone small{font-size:12px;color:#8c8c8c}
.import-status{min-height:22px;margin:8px 0 0;font-size:12px;line-height:22px;color:#595959}
.import-status.error{color:#f5222d}
.import-footer{height:64px;padding:0 24px;border-top:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.import-footer>span{font-size:12px;color:#8c8c8c}
.import-footer>div{display:flex;gap:8px}
.import-footer .button:disabled{background:#f5f5f5;color:#bfbfbf;border-color:#d9d9d9;box-shadow:none}
.transfer-notice{position:fixed;top:68px;left:50%;transform:translateX(-50%);z-index:30;padding:10px 16px;border-radius:6px;background:white;box-shadow:0 4px 20px #0002;font-size:14px}
.transfer-notice[hidden]{display:none}
