* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f0f2f5; color: #333; min-height: 100vh; }
.top-nav { display: flex; align-items: center; justify-content: space-between; background: #001529; color: #fff; padding: 0 24px; height: 56px; }
.nav-brand { font-size: 18px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { color: rgba(255,255,255,0.65); text-decoration: none; padding: 6px 14px; border-radius: 4px; font-size: 14px; transition: all 0.2s; }
.nav-link:hover, .nav-link.active { color: #fff; background: #1890ff; }
.nav-user { color: rgba(255,255,255,0.85); margin-left: 16px; font-size: 13px; }
.main-content { max-width: 1400px; margin: 24px auto; padding: 0 16px; }
.card { background: #fff; border-radius: 8px; padding: 24px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.card h2 { margin-bottom: 20px; font-size: 20px; color: #001529; }
.tabs { display: flex; gap: 0; border-bottom: 2px solid #e8e8e8; margin-bottom: 20px; }
.tab-btn { padding: 10px 20px; border: none; background: none; cursor: pointer; font-size: 14px; color: #666; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-btn.active { color: #1890ff; border-bottom-color: #1890ff; font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.form-section { margin-bottom: 24px; }
.form-section h3 { font-size: 16px; color: #333; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.form-row { display: flex; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; align-items: flex-end; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 13px; color: #666; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: #1890ff; outline: none; box-shadow: 0 0 0 2px rgba(24,144,255,0.2); }
.flex-1 { flex: 1; }
.form-group textarea { resize: vertical; min-height: 80px; font-family: "Consolas", monospace; }
.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; cursor: pointer; }
.btn { padding: 8px 20px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; color: #333; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.btn:hover { color: #1890ff; border-color: #1890ff; }
.btn-primary { background: #1890ff; color: #fff; border-color: #1890ff; }
.btn-primary:hover { background: #40a9ff; border-color: #40a9ff; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.data-table th { background: #fafafa; padding: 10px 12px; text-align: left; border-bottom: 2px solid #e8e8e8; font-weight: 600; }
.data-table td { padding: 8px 12px; border-bottom: 1px solid #f0f0f0; }
.data-table tr:hover { background: #f5f5f5; }
.table-wrapper { overflow-x: auto; max-height: 500px; overflow-y: auto; }
.task-progress { margin-top: 16px; padding: 12px; background: #f6f8fa; border-radius: 4px; font-size: 13px; }
.progress-bar { height: 6px; background: #e8e8e8; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: #1890ff; width: 0%; transition: width 0.3s; border-radius: 3px; }
.report-text { background: #1e1e1e; color: #d4d4d4; font-family: "Consolas", monospace; padding: 16px; border-radius: 4px; font-size: 13px; white-space: pre-wrap; max-height: 600px; overflow-y: auto; margin-top: 12px; }
.login-container { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 80px); }
.login-card { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); width: 400px; }
.login-card h2 { text-align: center; margin-bottom: 32px; color: #001529; }
.login-error { color: #ff4d4f; font-size: 13px; margin-top: 8px; text-align: center; }
.result-actions { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.toast { position: fixed; top: 20px; right: 20px; padding: 12px 24px; background: #52c41a; color: #fff; border-radius: 4px; font-size: 14px; z-index: 9999; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.toast.error { background: #ff4d4f; }
