/* 全局样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 14px; color: #1f2329; background: #f0f2f5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button { cursor: pointer; font-family: inherit; font-size: 14px; }
input, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
a { color: #1a73e8; text-decoration: none; transition: color .2s; }
a:hover { color: #1557b0; }

/* 登录页 */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 50%, #4a7ba6 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  position: relative; overflow: hidden;
}
.login-page::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.login-page::after {
  content: ''; position: absolute; bottom: -20%; left: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.login-card {
  background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: 960px; max-width: 100%; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; z-index: 1;
}
.login-banner {
  background: linear-gradient(160deg, #1e4d8c 0%, #2563a8 40%, #3b7fc4 100%);
  padding: 48px 40px; color: #fff; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.login-banner::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
}
.login-banner .logo { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; position: relative; z-index: 1; }
.login-banner .logo img { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 5px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.login-banner .logo .text { font-size: 20px; font-weight: 600; line-height: 1.4; }
.login-banner .title { font-size: 30px; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.login-banner .sub { font-size: 14px; opacity: 0.88; line-height: 1.9; position: relative; z-index: 1; }

/* 新增 banner 布局样式 */
.login-banner .banner-body { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.login-banner .banner-footer { position: relative; z-index: 1; margin-top: auto; }
.login-banner .footer-divider { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent); margin-bottom: 16px; }
.login-banner .footer-text { font-size: 12px; color: rgba(255,255,255,0.78); line-height: 1.8; }
.login-banner .sub-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.login-banner .sub-tag { display: inline-block; padding: 4px 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; font-size: 12px; font-weight: 500; backdrop-filter: blur(4px); }
.login-banner .sub-desc { font-size: 13.5px; line-height: 1.85; opacity: 0.9; margin-top: 0; }
.login-form { padding: 52px 44px; }
.login-form h2 { font-size: 24px; margin-bottom: 8px; color: #1a1a2e; font-weight: 700; }
.login-form .tip { color: #8c8c8c; margin-bottom: 32px; font-size: 13px; }
.login-form .form-group { margin-bottom: 20px; }
.login-form label { display: block; margin-bottom: 6px; color: #4a5568; font-size: 13px; font-weight: 500; }
.login-form input, .login-form select {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d9d9d9; border-radius: 8px;
  transition: all .2s; background: #fafafa;
}
.login-form input:hover, .login-form select:hover { border-color: #b3d8ff; }
.login-form input:focus, .login-form select:focus { border-color: #1a73e8; background: #fff; box-shadow: 0 0 0 3px rgba(26,115,232,0.1); }
.login-form .btn-login {
  width: 100%; height: 46px;
  background: linear-gradient(135deg, #1a73e8, #2563a8);
  color: #fff; border: none; border-radius: 8px;
  font-size: 16px; font-weight: 600; margin-top: 16px;
  transition: all .3s; box-shadow: 0 4px 14px rgba(26,115,232,0.3);
}
.login-form .btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.4);
}
.login-form .btn-login[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* 验证码样式 */
.captcha-group { margin-bottom: 16px; }
.captcha-hint { font-weight: 400; color: #999; font-size: 11px; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; min-width: 0; height: 44px; }
.captcha-box {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #d9d9d9; border-radius: 8px;
  padding: 2px; flex-shrink: 0;
}
.captcha-box canvas {
  border-radius: 6px; cursor: pointer; display: block;
  width: 180px; height: 56px;
}
.captcha-box canvas:hover { border-color: #1a73e8; }
.captcha-refresh {
  width: 36px; height: 36px; border-radius: 6px;
  border: none; background: #f0f2f5; cursor: pointer;
  font-size: 20px; line-height: 1; color: #666;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.captcha-refresh:hover { background: #e6f7ff; color: #1a73e8; transform: rotate(180deg); }
.captcha-refresh:active { transform: rotate(360deg); }

/* 安全提示 */
.security-notice {
  font-size: 11px; color: #999; text-align: center;
  padding: 8px 0; margin-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.demo-accounts { background: #f8fafc; border: 1px solid #e8edf2; border-radius: 8px; padding: 16px; margin-top: 12px; }
.demo-accounts h4 { font-size: 13px; color: #64748b; margin-bottom: 10px; }
.demo-accounts .acc { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; color: #475569; cursor: pointer; transition: color .15s; }
.demo-accounts .acc:hover { color: #1a73e8; }

/* ===== 快捷登录（学工办主任一键登录）===== */
.quick-login { margin-top: 22px; }
.quick-login-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: #94a3b8; margin-bottom: 12px;
}
.quick-login-title::before,
.quick-login-title::after {
  content: ''; flex: 1; height: 1px; background: #e8edf2;
}
.quick-acc {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; cursor: pointer; text-align: left;
  background: linear-gradient(135deg, #f5f9ff 0%, #eef4ff 100%);
  border: 1px solid #d6e4ff; border-radius: 10px;
  font-family: inherit; transition: all .18s ease;
}
.quick-acc:hover {
  border-color: #1a73e8; background: linear-gradient(135deg, #eaf2ff 0%, #e0ecff 100%);
  box-shadow: 0 4px 14px rgba(26,115,232,0.15); transform: translateY(-1px);
}
.quick-acc:active { transform: translateY(0); box-shadow: none; }
.quick-acc[disabled] { opacity: .65; cursor: progress; transform: none !important; box-shadow: none !important; }
.quick-acc .qa-avatar {
  flex: none; width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a3a5c 0%, #1e4d8c 100%);
  color: #fff; font-size: 15px; font-weight: 700;
}
.quick-acc .qa-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.quick-acc .qa-info b { font-size: 14px; color: #1a3a5c; font-weight: 600; }
.quick-acc .qa-info i { font-size: 11px; color: #7d8fa3; font-style: normal; }
.quick-acc .qa-arrow {
  flex: none; color: #1a73e8; font-size: 16px; font-weight: 700;
  transition: transform .18s ease;
}
.quick-acc:hover .qa-arrow { transform: translateX(3px); }
.quick-login-note { margin-top: 8px; font-size: 11px; color: #a8b3c2; text-align: center; }

/* 顶部栏 */
.app-header {
  background: linear-gradient(135deg, #1a3a5c 0%, #1e4d8c 100%);
  height: 60px; box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  display: flex; align-items: center; padding: 0 24px; position: sticky; top: 0; z-index: 100;
}
.app-header .logo-area { display: flex; align-items: center; gap: 12px; }
.app-header .logo-area img { height: 40px; border-radius: 6px; }
.app-header .logo-area .title-stack { line-height: 1.3; }
.app-header .logo-area .title-stack .t1 { font-size: 15px; font-weight: 600; color: #fff; }
.app-header .logo-area .title-stack .t2 { font-size: 11px; color: rgba(255,255,255,0.7); }
.app-header .nav { margin-left: 40px; display: flex; gap: 4px; }
.app-header .nav a {
  padding: 8px 14px; border-radius: 6px; color: rgba(255,255,255,0.75); font-size: 14px; transition: all .2s;
}
.app-header .nav a.active, .app-header .nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.app-header .user-area { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.app-header .user-area .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.app-header .user-area .user-info .name { font-size: 14px; color: #fff; }
.app-header .user-area .user-info .role { font-size: 11px; color: rgba(255,255,255,0.7); }
.btn-logout {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 6px;
  color: rgba(255,255,255,0.85); transition: all .2s; font-size: 13px;
}
.btn-logout:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.4); }

/* 汉堡菜单按钮（移动端） */
.hamburger-btn {
  display: none;
  background: none; border: none; color: #fff; font-size: 24px;
  cursor: pointer; padding: 6px 10px; margin-right: 12px; border-radius: 6px;
  transition: background .2s; line-height: 1;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.12); }

/* 侧边栏遮罩（移动端） */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200;
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.sidebar-overlay.show { opacity: 1; pointer-events: auto; }

/* 侧边栏 */
.app-body { display: flex; min-height: calc(100vh - 60px); }
.app-sidebar {
  width: 230px; background: #fff; border-right: 1px solid #e8edf2;
  padding: 20px 0; overflow-y: auto; box-shadow: 2px 0 8px rgba(0,0,0,0.03);
  transition: transform .25s ease;
}
.app-sidebar .menu-group { margin-bottom: 12px; }
.app-sidebar .menu-title {
  padding: 8px 24px; font-size: 11px; color: #94a3b8; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.app-sidebar .menu-item {
  display: flex; align-items: center; padding: 11px 24px; color: #475569; font-size: 14px;
  border-left: 3px solid transparent; transition: all .18s; cursor: pointer;
  margin: 0 8px; border-radius: 0 8px 8px 0;
}
.app-sidebar .menu-item:hover { background: #f1f5f9; color: #1a73e8; }
.app-sidebar .menu-item.active {
  background: linear-gradient(90deg, #e8f0fe, #f0f6ff);
  color: #1a73e8; border-left-color: #1a73e8; font-weight: 600;
}
.app-sidebar .menu-item .icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; margin-right: 10px; font-size: 15px; }

/* 内容区 */
.app-content { flex: 1; padding: 24px 28px; overflow-y: auto; background: #f1f5f9; }
.page-header {
  background: linear-gradient(135deg, #fff, #fafbfc);
  padding: 22px 28px; border-radius: 12px; margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04); border: 1px solid #e8edf2;
}
.page-header h1 { font-size: 21px; font-weight: 700; margin-bottom: 4px; color: #1a1a2e; }
.page-header .crumb { color: #94a3b8; font-size: 12px; }
.page-header .crumb a { color: #94a3b8; }
.page-header .crumb a:hover { color: #1a73e8; }

/* 卡片 */
.card {
  background: #fff; border-radius: 12px; padding: 22px 26px; margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04); border: 1px solid #e8edf2;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.card-title {
  font-size: 16px; font-weight: 700; margin-bottom: 18px; color: #1a1a2e;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 2px solid #f1f5f9;
}
.card-title .sub { font-size: 13px; color: #94a3b8; font-weight: 400; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 18px; border-radius: 8px; border: 1px solid #d9d9d9;
  background: #fff; color: #475569; font-weight: 500; transition: all .2s;
}
.btn:hover { color: #1a73e8; border-color: #1a73e8; background: #f8faff; }
.btn-primary {
  background: linear-gradient(135deg, #1a73e8, #2563a8); color: #fff; border-color: transparent;
  box-shadow: 0 2px 8px rgba(26,115,232,0.25);
}
.btn-primary:hover { background: linear-gradient(135deg, #1d5bd4, #1f4e8c); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,115,232,0.35); }
.btn-danger { background: #fff; color: #ef4444; border-color: #fca5a5; }
.btn-danger:hover { background: #fef2f2; color: #dc2626; border-color: #ef4444; }
.btn-cancel {
  background: #f1f5f9; color: #64748b; border-color: #e2e8f0;
}
.btn-cancel:hover { background: #e2e8f0; color: #475569; border-color: #cbd5e1; }
.btn-success { background: #10b981; color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(16,185,129,0.25); }
.btn-success:hover { background: #059669; color: #fff; }
.btn-warn { background: #f59e0b; color: #fff; border-color: transparent; }
.btn-warn:hover { background: #d97706; color: #fff; }
.btn-sm { padding: 4px 11px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 10px 26px; font-size: 15px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 11px 14px; border-bottom: 1px solid #f1f5f9; text-align: left; }
.table th {
  background: #f8fafc; font-weight: 600; color: #475569; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.table tr:hover td { background: #f8faff; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table .actions .btn { padding: 3px 9px; font-size: 12px; }

/* 表单 */
.form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.form-item { flex: 1; min-width: 220px; }
.form-item label { display: block; margin-bottom: 6px; font-size: 13px; color: #475569; font-weight: 500; }
.form-item label .req { color: #ef4444; margin-left: 2px; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; height: 38px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 8px;
  transition: all .2s; background: #fafafa;
}
.form-item input:hover, .form-item select:hover { border-color: #93c5fd; }
.form-item textarea { height: auto; padding: 10px 12px; min-height: 80px; resize: vertical; border-radius: 8px; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
  border-color: #1a73e8; background: #fff; box-shadow: 0 0 0 3px rgba(26,115,232,0.08);
}
.form-item.full { flex: 1 1 100%; }
.form-item .help { font-size: 11px; color: #94a3b8; margin-top: 5px; }

/* 状态徽章 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.badge-pending { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-approved { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-rejected { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.badge-warn { background: #fff7e6; color: #d46b08; border: 1px solid #ffd591; }
.badge-withdrawn { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.badge-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* 进度条 */
.progress { background: #e2e8f0; border-radius: 12px; height: 8px; overflow: hidden; }
.progress-bar { background: linear-gradient(90deg, #1a73e8, #3b82f6); height: 100%; transition: width .4s ease; border-radius: 12px; }
.progress-bar.success { background: linear-gradient(90deg, #10b981, #34d399); }
.progress-bar.warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.progress-bar.danger { background: linear-gradient(90deg, #ef4444, #f87171); }

/* 标签 */
.tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; margin: 2px; font-weight: 500; }
.tag-blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.tag-orange { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.tag-green { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.tag-gray { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.tag-warn { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* 提示信息 */
.alert { padding: 13px 18px; border-radius: 10px; margin-bottom: 16px; border-left: 4px solid; font-size: 13px; line-height: 1.6; }
.alert-info { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.alert-warn { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.alert-error { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.alert-success { background: #ecfdf5; border-color: #10b981; color: #065f46; }

/* 模态框 */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,0.5); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .2s; backdrop-filter: blur(2px);
}
.modal-dialog {
  background: #fff; border-radius: 14px; min-width: 420px; max-width: 640px;
  max-height: 88vh; overflow: hidden; display: flex; flex-direction: column;
  animation: zoomIn .25s; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-dialog-large { min-width: 720px; max-width: 960px; }
.modal-header {
  padding: 18px 24px; border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 17px; font-weight: 700; color: #1a1a2e; }
.modal-close { background: none; border: none; font-size: 22px; color: #94a3b8; padding: 4px; line-height: 1; cursor: pointer; transition: color .15s; border-radius: 6px; }
.modal-close:hover { color: #ef4444; background: #fef2f2; }
.modal-body { padding: 22px 26px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 14px 24px; border-top: 1px solid #f1f5f9; display: flex; justify-content: flex-end; gap: 10px; }

/* 加分项模板模态框 */
.bt-section {
  background: #fafbfc; border: 1px solid #eef1f5; border-radius: 10px;
  padding: 16px 20px; margin-bottom: 14px;
}
.bt-section:last-of-type { margin-bottom: 0; }
.bt-section-title {
  font-size: 14px; font-weight: 700; color: #1a1a2e;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid #eef1f5;
  display: flex; align-items: center; gap: 6px;
}
.bt-section-title .opt {
  font-size: 11px; font-weight: 400; color: #94a3b8;
  background: #f1f5f9; padding: 2px 8px; border-radius: 10px;
}
.bt-toggles {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.bt-toggle {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 14px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 8px; cursor: pointer; transition: all .18s;
  user-select: none; flex: 1; min-width: 200px;
}
.bt-toggle:hover { border-color: #93c5fd; background: #f8faff; }
.bt-toggle:has(input:checked) {
  border-color: #1a73e8; background: #eff6ff;
  box-shadow: 0 1px 4px rgba(26,115,232,0.1);
}
.bt-toggle input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: #1a73e8; margin-top: 2px; flex-shrink: 0;
}
.bt-toggle-label { font-size: 13px; font-weight: 500; color: #334155; }
.bt-toggle:has(input:checked) .bt-toggle-label { color: #1a73e8; }
.bt-toggle-hint {
  display: block; font-size: 11px; color: #94a3b8; margin-top: 2px;
}
.bt-toggle:has(input:checked) .bt-toggle-hint { color: #64748b; }
.form-item label .opt {
  font-size: 11px; font-weight: 400; color: #94a3b8;
  background: #f1f5f9; padding: 1px 7px; border-radius: 10px;
  margin-left: 6px; vertical-align: middle;
}

/* Toast */
.toast {
  position: fixed; top: 80px; left: 50%; transform: translate(-50%, -10px);
  padding: 11px 22px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 500;
  opacity: 0; transition: all .3s; z-index: 9999; min-width: 200px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-info { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.toast-success { background: linear-gradient(135deg, #10b981, #059669); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast-warn { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* 指标卡片 */
.indicator-card {
  border: 1px solid #f0f0f0; border-radius: 6px; padding: 16px; margin-bottom: 12px; background: #fff;
}
.indicator-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.indicator-card .head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.indicator-card .head .name { font-size: 15px; font-weight: 600; color: #1f2329; }
.indicator-card .meta { font-size: 12px; color: #8c8c8c; }
.indicator-card .children { padding-left: 16px; border-left: 2px solid #e6f7ff; margin-top: 10px; }
.indicator-card .child {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed #f0f0f0;
}
.indicator-card .child:last-child { border-bottom: none; }

/* 评分输入 */
.score-input {
  width: 90px; height: 30px; padding: 0 8px; border: 1px solid #d9d9d9; border-radius: 4px; text-align: center;
}

/* 空状态 */
.empty { text-align: center; padding: 60px 20px; color: #8c8c8c; }
.empty .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

/* 时间线 */
.timeline { padding-left: 20px; border-left: 2px solid #f0f0f0; }
.timeline-item { position: relative; padding: 8px 0 16px 20px; }
.timeline-item:before {
  content: ''; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px;
  border-radius: 50%; background: #1890ff; border: 2px solid #fff; box-shadow: 0 0 0 1px #1890ff;
}
.timeline-item .time { font-size: 12px; color: #8c8c8c; }
.timeline-item .action { color: #1f2329; }

/* 工具栏 */
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .filter { display: flex; align-items: center; gap: 6px; }
.toolbar .filter input, .toolbar .filter select {
  height: 32px; padding: 0 10px; border: 1px solid #d9d9d9; border-radius: 4px;
}
.toolbar .spacer { flex: 1; }

/* 网格 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }


/* ===== 级联选择器 ===== */
.cascader-wrap { position: relative; width: 100%; }
.cascader-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cascader-col { flex: 1; min-width: 200px; }
.cascader-col label { display: block; font-weight: 500; font-size: 13px; color: #1f2329; margin-bottom: 6px; }
.cascader-col label .hint { color: #999; font-weight: 400; font-size: 12px; }

.cascader-input-wrap { position: relative; }
.cascader-input-wrap input {
  width: 100%; padding: 8px 32px 8px 12px; border: 1px solid #d9d9d9;
  border-radius: 6px; font-size: 14px; outline: none; transition: border-color 0.2s;
  box-sizing: border-box;
}
.cascader-input-wrap input:focus { border-color: #1890ff; box-shadow: 0 0 0 2px rgba(24,144,255,0.1); }
.cascader-arrow {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: #bfbfbf; font-size: 12px; pointer-events: none; transition: transform 0.2s;
}
.cascader-dropdown {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: #fff; border: 1px solid #d9d9d9; border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12); max-height: 280px; overflow-y: auto;
  display: none; margin-top: 4px;
}
.cascader-dropdown.show { display: block; animation: fadeIn 0.15s ease; }
.cascader-option {
  padding: 9px 16px; cursor: pointer; font-size: 14px; transition: background 0.15s;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #f5f5f5;
}
.cascader-option:last-child { border-bottom: none; }
.cascader-option:hover { background: #e6f7ff; }
.cascader-option.selected { background: #1890ff; color: #fff; }
.cascader-option.selected .cascader-badge { background: rgba(255,255,255,0.2); color: #fff; }
.cascader-option .cascader-badge {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: #f0f0f0; color: #666; white-space: nowrap;
}
.cascader-option .cascader-badge.national { background: #fff1f0; color: #cf1322; }
.cascader-option .cascader-badge.province { background: #fff7e6; color: #d46b08; }
.cascader-option .cascader-badge.city { background: #e6f7ff; color: #096dd9; }
.cascader-option .cascader-badge.school { background: #f6ffed; color: #389e0d; }
.cascader-option .cascader-badge.dept { background: #f9f0ff; color: #722ed1; }
.cascader-option .cascader-badge.sports { background: #e6fffb; color: #08979c; }
.cascader-no-result {
  padding: 24px 16px; text-align: center; color: #999; font-size: 14px;
}

/* Score preview */
.score-preview {
  margin-top: 8px; padding: 12px 16px; background: #f6ffed; border: 1px solid #b7eb8f;
  border-radius: 6px; font-size: 13px; display: flex; align-items: center; gap: 12px;
}
.score-preview .score-value {
  font-size: 24px; font-weight: 700; color: #389e0d;
}
.score-preview .score-label { color: #666; }
.score-preview .score-note { color: #999; font-size: 12px; margin-left: auto; }

/* Other award warning */
.other-warning {
  margin-top: 12px; padding: 12px 16px; background: #fffbe6; border: 1px solid #ffe58f;
  border-radius: 6px; font-size: 13px; color: #d48806; line-height: 1.6;
}
.other-warning strong { color: #cf1322; }
.other-approval-flow {
  margin-top: 8px; padding: 8px 12px; background: #fff1f0; border: 1px solid #ffccc7;
  border-radius: 4px; font-size: 12px; color: #cf1322;
}

/* 动画 */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* 附件上传 */
.upload-zone { transition: all 0.3s ease; }
.upload-zone:hover { border-color: #1890ff !important; background: #e6f7ff !important; }
.upload-file-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; margin: 4px 0;
  background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 8px; font-size: 13px;
  transition: all 0.2s;
}
.upload-file-item:hover { box-shadow: 0 1px 4px rgba(16,185,129,0.12); }
.upload-status { color: #1890ff; font-size: 12px; margin-left: 8px; }
.upload-msg-item { padding: 4px 0; font-size: 12px; border-bottom: 1px dashed #f0f0f0; }
.upload-msg-item:last-child { border-bottom: none; }

.file-tree-item {
  padding: 6px 12px; margin: 2px 0; border-radius: 4px; cursor: pointer;
  transition: background 0.2s; display: flex; align-items: center; gap: 8px;
}
.file-tree-item:hover { background: #e6f7ff; }
.file-tree-dir { font-weight: 500; color: #1890ff; }
.file-tree-file { color: #1f2329; }
.file-tree-indent { margin-left: 24px; }

/* 附件预览区 */
.attachment-preview-card {
  padding: 10px 14px; border: 1px solid #e8edf2; border-radius: 8px; margin-bottom: 8px;
  background: #fafbfc; transition: box-shadow 0.2s;
}
.attachment-preview-card:hover { box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.attachment-link-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; background: #eff6ff; color: #2563eb; border-radius: 12px;
  font-size: 12px; font-weight: 500;
}

/* ===== 发展性素质分类展示 ===== */
.dev-category-section { margin-bottom: 16px; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; }
.dev-category-header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: #fafafa; border-bottom: 1px solid #f0f0f0;
}
.dev-category-title { font-weight: 600; font-size: 14px; color: #1f2329; }
.dev-category-desc { color: #8c8c8c; font-size: 12px; }
.dev-category-count { margin-left: auto; font-size: 12px; color: #1890ff; background: #e6f7ff; padding: 2px 8px; border-radius: 10px; }
.dev-empty { padding: 20px; text-align: center; color: #bfbfbf; font-size: 13px; }
.dev-total-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #f6ffed; border-top: 2px solid #b7eb8f; margin-top: 8px;
}
.dev-total-label { font-weight: 600; color: #1f2329; }
.dev-total-value { font-size: 20px; font-weight: 700; color: #389e0d; margin-left: auto; }
.dev-total-detail { color: #8c8c8c; font-size: 12px; }

/* ===== 基础性素质预览卡片 ===== */
.basic-quality-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 12px;
}
.bq-card {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 14px;
  transition: box-shadow 0.2s;
}
.bq-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.bq-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bq-name { font-weight: 600; font-size: 14px; color: #1f2329; }
.bq-weight { font-size: 12px; color: #1890ff; background: #e6f7ff; padding: 2px 8px; border-radius: 10px; }
.bq-score { font-size: 22px; font-weight: 700; color: #1890ff; margin-bottom: 6px; }
.bq-max { font-size: 14px; color: #8c8c8c; font-weight: 400; }
.bq-bar { height: 6px; background: #f0f0f0; border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.bq-bar-inner { height: 100%; background: linear-gradient(90deg, #1890ff, #40a9ff); border-radius: 3px; transition: width 0.5s ease; }
.bq-items { display: flex; flex-wrap: wrap; gap: 4px; }
.bq-item { font-size: 11px; color: #595959; background: #f5f5f5; padding: 2px 8px; border-radius: 4px; }
.bq-total {
  padding: 12px 16px; background: #e6f7ff; border-radius: 6px; margin-top: 12px;
  font-size: 14px; color: #1f2329;
}

/* ===== 评分界面 ===== */
.score-category-box { margin-bottom: 16px; border: 1px solid #f0f0f0; border-radius: 8px; padding: 14px; background: #fafafa; }
.score-category-title { font-weight: 600; font-size: 14px; color: #1f2329; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; }
.score-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.score-item-box { background: #fff; padding: 10px 12px; border-radius: 6px; border: 1px solid #e8e8e8; }
.score-item-box label { display: block; font-size: 13px; color: #4a5568; margin-bottom: 6px; }
.score-item-box input { width: 70px; height: 32px; padding: 0 8px; border: 1px solid #d9d9d9; border-radius: 4px; text-align: center; }
.score-max { font-size: 12px; color: #8c8c8c; margin-left: 4px; }

/* ===== 结果展示 ===== */
.result-total-card { background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%); color: white; border: none; }
.result-total-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 20px; }
.result-total-item { text-align: center; padding: 8px; }
.result-total-item.secondary { border-left: 1px solid rgba(255,255,255,0.2); }
.result-total-label { font-size: 13px; opacity: 0.9; margin-bottom: 6px; }
.result-total-value { font-size: 32px; font-weight: 700; }
.result-total-formula { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.formula-steps { padding: 8px; }
.formula-step { margin-bottom: 16px; padding: 14px; background: #fafafa; border-radius: 8px; border-left: 4px solid #1890ff; }
.formula-step:last-child { margin-bottom: 0; border-left-color: #52c41a; background: #f6ffed; }
.formula-label { font-weight: 600; color: #1f2329; margin-bottom: 6px; }
.formula-calc { color: #595959; font-size: 13px; line-height: 1.8; }

/* ===== 激活状态 ===== */
.cat-active { border-color: #1890ff !important; background: #e6f7ff !important; }
.subcat-active { border-color: #722ed1 !important; background: #f9f0ff !important; color: #722ed1 !important; }
.hlvl-active { border-color: #fa8c16 !important; background: #fff7e6 !important; color: #d46b08 !important; }
.sres-active { border-color: #52c41a !important; background: #f6ffed !important; color: #389e0d !important; }
.lvl-active { border-color: #52c41a !important; background: #f6ffed !important; }

/* ===== 小表格 ===== */
.table-sm th, .table-sm td { padding: 8px 10px; font-size: 13px; }

/* ===== 详情行 ===== */
.detail-row { display: flex; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.detail-row:last-child { border-bottom: none; }
.detail-row label { width: 100px; flex-shrink: 0; color: #8c8c8c; font-size: 13px; }
.detail-row div { flex: 1; color: #1f2329; font-size: 13px; }

/* ===== select样式 ===== */
.form-select {
  width: 100%; height: 38px; padding: 0 10px; border: 1px solid #d1d5db;
  border-radius: 8px; background: #fafafa; font-size: 14px; transition: all .2s;
}
.form-select:hover { border-color: #93c5fd; }
.form-select:focus { border-color: #1a73e8; background: #fff; box-shadow: 0 0 0 3px rgba(26,115,232,0.08); }

/* ===== 加分项模板选择 ===== */
.tpl-option {
  padding: 12px 16px; border-bottom: 1px solid #f1f5f9; cursor: pointer;
  transition: all 0.15s; display: flex; justify-content: space-between; align-items: center;
}
.tpl-option:last-child { border-bottom: none; }
.tpl-option:hover { background: #f0f6ff; }
.tpl-active { background: #eff6ff !important; border-left: 3px solid #1a73e8; }
.tpl-lvl-option {
  padding: 10px 16px; border: 2px solid #d1d5db; border-radius: 8px;
  cursor: pointer; transition: all 0.2s; font-size: 13px; user-select: none;
  text-align: center; min-width: 110px;
}
.tpl-lvl-option:hover { border-color: #10b981; background: #f0fdf4; transform: translateY(-1px); }
.tpl-lvl-active { border-color: #10b981 !important; background: #f0fdf4 !important; box-shadow: 0 2px 8px rgba(16,185,129,0.15); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .login-card { grid-template-columns: 1fr; }
  .login-banner { padding: 28px; }
  .hamburger-btn { display: block; }
  .sidebar-overlay { display: block; }
  .app-sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; z-index: 300;
    transform: translateX(-100%);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    padding-top: 70px;
    width: 260px;
  }
  .app-sidebar.sidebar-open { transform: translateX(0); }
  .app-body { flex-direction: column; }
  .app-content { padding: 16px; }
  .result-total-grid { grid-template-columns: 1fr 1fr; }
  .basic-quality-grid { grid-template-columns: 1fr; }
  .score-items-grid { grid-template-columns: 1fr; }
  .modal-dialog { min-width: auto; max-width: 95vw; }
  .modal-dialog-large { min-width: auto; max-width: 95vw; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-header { padding: 16px 18px; }
  .card { padding: 16px 18px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-wrap table { min-width: 600px; }
  .filter-row { flex-direction: column; gap: 8px; }
  .search-bar { flex-direction: column; }
}
@media (max-width: 600px) {
  .app-header { padding: 0 10px; height: 52px; }
  .app-header .logo-area img { height: 30px; }
  .app-header .logo-area .t1 { font-size: 12px; }
  .app-header .logo-area .t2 { display: none; }
  .app-header .user-area .user-info { display: none; }
  .app-header .user-area .btn-logout { padding: 4px 8px; font-size: 11px; }
  .hamburger-btn { margin-right: 8px; font-size: 22px; padding: 4px 8px; }
  .login-page { padding: 10px; }
  .login-card { border-radius: 12px; }
  .login-form { padding: 20px 16px; }
  .login-form h2 { font-size: 18px; }
  .login-banner .title { font-size: 22px; }
  .login-banner .logo img { width: 56px; height: 56px; }
  .btn, .btn-primary, .btn-danger, .btn-success { min-height: 38px; }
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .tabs::-webkit-scrollbar { display: none; }
  .stat-row { flex-direction: column; gap: 8px; }
  .stat-card { min-width: auto; }
  .form-row { flex-direction: column; }
  .form-row > * { width: 100%; }
  .action-bar { flex-direction: column; gap: 8px; }
  .action-bar .btn-group { flex-wrap: wrap; }
  .demo-accounts .acc { font-size: 12px; padding: 6px 10px; }
  .card table th, .card table td { padding: 6px 8px; font-size: 12px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .app-body { flex-direction: row; }
}

/* 分值规则页 - 小输入框 */
.input-sm {
  padding: 4px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
}
.input-sm:focus {
  border-color: #1890ff;
}

/* 全院分数总览 - 班级Tab切换 */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tab-btn {
  padding: 8px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
}
.tab-btn.active {
  background: #1890ff;
  color: #fff;
  border-color: #1890ff;
}
.college-tab-content {
  animation: fadeIn 0.3s;
}