/* 三项目版：校贫困生认定 + 国家励志奖学金 + 国家助学金 */
.nav-count--scholar { background: var(--amber); }
.nav-count--grant { background: var(--green-3); }

/* 学生项目中心 */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--green); padding: 20px 21px 0;
  display: flex; flex-direction: column; min-width: 0;
}
.project-card--scholarship { border-top-color: var(--red); }
.project-card--grant { border-top-color: var(--amber); }
.project-card.is-locked { background: #fbf9f2; }
.project-card-top { display: flex; align-items: flex-start; gap: 12px; }
.project-card-top > div { min-width: 0; flex: 1; }
.project-no {
  font-family: Georgia, var(--serif); font-size: 25px; color: var(--green);
  line-height: 1.1; flex: 0 0 34px;
}
.project-card--scholarship .project-no { color: var(--red); }
.project-card--grant .project-no { color: var(--amber); }
.project-kicker { font-size: 8.5px; letter-spacing: 0.12em; color: var(--faint); font-family: var(--mono); }
.project-card h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.04em; margin-top: 2px; }
.project-card-top p { font-size: 10.5px; color: var(--muted); line-height: 1.72; margin-top: 5px; }
.project-card-top .pill { flex: 0 0 auto; }
@media (max-width: 1180px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.project-meta {
  display: flex; flex-wrap: wrap; gap: 6px 15px; margin: 14px 0 0; padding: 9px 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  font-size: 9.5px; color: var(--muted);
}
.project-meta b { color: var(--faint); font-weight: 400; margin-right: 4px; }
.project-material-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.project-mat {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px;
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 9px; color: var(--faint); line-height: 1.4;
}
.project-mat svg { width: 11px; height: 11px; }
.project-mat.is-done { color: var(--green); border-color: rgba(30, 75, 58, 0.2); background: var(--green-mist); }
.project-lock {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 10px 11px;
  border: 1px dashed rgba(147, 101, 43, 0.3); background: var(--amber-wash);
}
.project-lock svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--amber); margin-top: 1px; }
.project-lock strong { display: block; font-size: 11px; color: var(--ink-2); }
.project-lock p { font-size: 9.5px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.project-lock--wait { border-color: rgba(60, 93, 114, 0.25); background: var(--blue-wash); }
.project-lock--wait svg { color: var(--blue); }
.project-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding: 14px 0; border-top: 1px solid var(--line-soft);
}
.project-card-foot .small { line-height: 1.55; }
.project-card-foot .btn { flex: 0 0 auto; }
.project-compare { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); }
.project-compare-head { padding: 17px 19px 13px; border-bottom: 1px solid var(--line-soft); }
.project-compare-head h2 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-top: 3px; }
.project-table th:nth-child(1) { width: 16%; }
.project-table td:first-child { color: var(--faint); font-size: 11px; white-space: nowrap; }

/* 学生奖学金申请 */
.rank-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 7px; }
.rank-pair input { min-width: 0; text-align: center; }
.rank-pair span { color: var(--faint); font-size: 12px; }
.scholarship-form .form-grid { gap: 17px 22px; }
.scholarship-form .sch-statement { min-height: 160px; }
.scholarship-layout {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(275px, 1fr);
  gap: 18px; align-items: start;
}
.scholarship-side { display: grid; gap: 14px; position: sticky; top: 82px; }
.scholarship-side .side-list dd { font-size: 10.5px; }
.recognition-file-chips { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.recognition-file-chips .mat-pill { justify-content: flex-start; }
.scholarship-tips { margin: 9px 0 0 16px; padding: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.scholarship-actions {
  display: flex; align-items: center; gap: 9px; margin: 20px -32px -8px;
  padding: 15px 32px; border-top: 1px solid var(--line);
  background: var(--surface-2); flex-wrap: wrap;
}
.scholarship-actions .spacer { flex: 1; }
.scholarship-errors {
  margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(169, 67, 46, 0.25);
  background: var(--red-wash); color: var(--red); font-size: 11px;
}
.scholarship-errors strong { display: block; margin-bottom: 4px; }
.scholarship-errors ul { margin: 0 0 0 16px; padding: 0; line-height: 1.7; }
.readonly-note {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 13px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--faint); font-size: 10.5px;
}
.readonly-note svg { width: 14px; height: 14px; }
.scholarship-gate {
  display: flex; align-items: flex-start; gap: 18px; max-width: 760px;
  padding: 27px 29px; background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}
.scholarship-gate--wait { border-top-color: var(--amber); }
.gate-icon {
  width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green-wash); color: var(--green);
}
.scholarship-gate--wait .gate-icon { background: var(--amber-wash); color: var(--amber); }
.gate-icon svg { width: 21px; height: 21px; }
.scholarship-gate h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-top: 2px; }
.scholarship-gate p { max-width: 610px; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.scholarship-gate .btn-row { margin-top: 14px; }
.scholarship-prep { max-width: 760px; margin-top: 16px; padding: 16px 19px; border: 1px solid var(--line); background: var(--surface); }
.scholarship-prep .sub-head { margin-bottom: 8px; }

/* 管理员励志奖学金列表 */
.sch-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 15px; }
.sch-stat {
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line);
  border-top: 2px solid var(--green-3);
}
.sch-stat--amber { border-top-color: var(--amber); }
.sch-stat--green { border-top-color: var(--green); }
.sch-stat span { display: block; font-size: 9px; letter-spacing: 0.09em; color: var(--faint); }
.sch-stat strong { display: block; font-family: Georgia, var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); line-height: 1.2; margin: 2px 0 1px; }
.sch-stat small { font-size: 9px; color: var(--faint); }
.scholarship-toolbar { margin-bottom: 10px; }
.scholarship-bulkbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 10px; padding: 9px 12px; border: 1px solid var(--line);
  background: var(--surface-2);
}
.scholarship-bulkbar .spacer { flex: 1; }
.scholarship-table td:nth-child(5) .cell-sub { margin-top: 2px; }
.scholarship-card-list { display: none; }
.scholarship-card { background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; }
.scholarship-card-head { display: flex; align-items: center; gap: 9px; }
.scholarship-card-head .cell-person { flex: 1; min-width: 0; min-height: 0; }
.scholarship-card-head .cell-person .avatar { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
.scholarship-card-head .pill { flex: 0 0 auto; }
.scholarship-card-body {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px;
  margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-soft);
}
.scholarship-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line-soft); }
.scholarship-review-panel { scroll-margin-top: 80px; }

@media (max-width: 1180px) {
  .scholarship-layout { grid-template-columns: minmax(0, 1fr); }
  .scholarship-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sch-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .table-wrap--scholarships { display: none; }
  .scholarship-card-list { display: flex; flex-direction: column; gap: 9px; }
  .scholarship-toolbar .search { flex: 1 1 100%; max-width: none; }
  .scholarship-toolbar select { flex: 1 1 42%; }
}
@media (max-width: 620px) {
  .project-card { padding: 17px 16px 0; }
  .project-card-top { flex-wrap: wrap; }
  .project-card-top .pill { margin-left: 46px; }
  .project-card h2 { font-size: 20px; }
  .project-card-foot { flex-direction: column; align-items: flex-start; }
  .project-card-foot .btn { width: 100%; }
  .scholarship-side { grid-template-columns: minmax(0, 1fr); }
  .scholarship-actions { margin-left: -20px; margin-right: -20px; padding: 13px 20px; }
  .scholarship-actions .spacer { display: none; }
  .scholarship-actions .btn { flex: 1 1 auto; }
  .scholarship-actions .small { flex: 1 0 100%; }
  .sch-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sch-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .scholarship-bulkbar .small.faint { display: none; }
  .scholarship-toolbar select { flex: 1 1 100%; }
  .scholarship-card-body { gap: 6px 10px; }
  .scholarship-gate { flex-direction: column; padding: 20px; }
}

/* 管理员总览：两项目入口 */
.module-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.module-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--green); color: var(--ink);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.module-card:hover { background: var(--green-mist); border-color: var(--green-3); }
.module-card--scholar { border-left-color: var(--red); }
.module-card--scholar:hover { background: var(--red-wash); border-color: rgba(169, 67, 46, 0.35); }
.module-card--grant { border-left-color: var(--amber); }
.module-card--grant:hover { background: var(--amber-wash); border-color: rgba(147, 101, 43, 0.35); }
.module-card--grant .module-icon { background: var(--amber-wash); color: var(--amber); }
.module-icon {
  width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green-wash); color: var(--green);
}
.module-card--scholar .module-icon { background: var(--red-wash); color: var(--red); }
.module-icon svg { width: 17px; height: 17px; }
.module-card strong { display: block; font-family: var(--serif); font-size: 15px; font-weight: 600; }
.module-card p { margin-top: 3px; font-size: 9.5px; color: var(--faint); }
.module-arrow { margin-left: auto; color: var(--faint); }
.module-arrow svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .module-strip { grid-template-columns: minmax(0, 1fr); } }

/* 官方申请表自动套打提示 */
.scholarship-doc-box {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  margin: 0 0 22px;
  border: 1px solid rgba(30, 75, 58, .22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-wash), #fff 72%);
}
.scholarship-doc-box h3 { margin: 4px 0 5px; font-size: 15px; }
.scholarship-doc-box p { margin: 0; max-width: 640px; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.scholarship-doc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; flex: 0 0 auto; }
@media (max-width: 760px) {
  .scholarship-doc-box { flex-direction: column; align-items: flex-start; }
  .scholarship-doc-actions { justify-content: flex-start; }
}


/* 奖学金页是单页申请表单，不套用 5 步编号 */
.step-head--single {
  border-left: 3px solid var(--green);
  padding-left: 16px;
}
@media (max-width: 620px) {
  .step-head--single { padding-left: 12px; border-left-width: 2px; }
}

/* 国家助学金 / 参考写法 */
.nav-count--grant { background: var(--green-3); }
.deadline-big { font-family: Georgia, var(--serif); font-size: 22px; color: var(--red); letter-spacing: 0.02em; margin: 4px 0 6px; }
.reference-text {
  margin-top: 12px; padding: 14px 16px; border-left: 3px solid var(--amber);
  background: var(--surface-2); color: var(--ink-2); font-family: var(--serif);
  font-size: 13px; line-height: 2; letter-spacing: 0.02em;
}
dialog.aid-dialog {
  width: min(620px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line);
  border-radius: 3px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lift);
}
dialog.aid-dialog::backdrop { background: rgba(22, 30, 24, 0.46); backdrop-filter: blur(2px); }
.dialog-card { padding: 0; }
.dialog-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 22px 10px; }
.dialog-head h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.dialog-head .icon-btn { margin-left: auto; }
.dialog-body { padding: 0 22px 20px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.review-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.review-summary > div {
  padding: 9px 11px; border: 1px solid var(--line-soft); background: var(--surface-2);
}
.review-summary span { display: block; font-size: 9.5px; color: var(--faint); }
.review-summary strong { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 560px) { .review-summary { grid-template-columns: minmax(0, 1fr); } }

/* 我的材料 */
.materials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.material-card { padding: 18px 19px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--green); }
.material-card.is-locked { background: #fbf9f2; border-top-color: var(--line); }
.material-head { display: flex; align-items: flex-start; gap: 11px; }
.material-no { flex: 0 0 38px; font-family: Georgia, var(--serif); font-size: 21px; color: var(--green); line-height: 1.1; }
.material-head > div { flex: 1; min-width: 0; }
.material-head h2 { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.material-head p { margin-top: 3px; color: var(--faint); font-size: 9.5px; }
.material-card > p { margin: 11px 0 12px; line-height: 1.7; }
@media (max-width: 760px) { .materials-grid { grid-template-columns: minmax(0, 1fr); } }

/* 三线导出中心 */
.export-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.export-line { padding: 16px 17px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--green); }
.export-line--scholarship { border-top-color: var(--red); }
.export-line--grant { border-top-color: var(--amber); }
.export-line-head { display: flex; align-items: flex-start; gap: 9px; }
.export-line-no { font-family: Georgia, var(--serif); font-size: 21px; color: var(--green); line-height: 1; }
.export-line--scholarship .export-line-no { color: var(--red); }
.export-line--grant .export-line-no { color: var(--amber); }
.export-line-head > div { flex: 1; min-width: 0; }
.export-line-head h2 { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.export-line-head p { margin-top: 2px; font-size: 9.5px; color: var(--faint); }
.export-line-head strong { font-family: Georgia, var(--serif); font-size: 27px; font-weight: 500; line-height: 1; }
.export-line > p { min-height: 42px; margin: 10px 0 12px; font-size: 10px; color: var(--muted); line-height: 1.65; }
.export-line-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.export-section-title { margin: 4px 0 12px; }
.export-section-title h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.export-section-title p { margin-top: 4px; color: var(--muted); font-size: 10.5px; }
@media (max-width: 1100px) { .export-lines { grid-template-columns: minmax(0, 1fr); } }

/* 班级邀请码 */
.invite-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.6fr); gap: 16px; align-items: start; }
.invite-form-card { position: sticky; top: 82px; }
.invite-code { display: inline-block; padding: 3px 7px; background: var(--surface-2); border: 1px dashed var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--green); }
.invite-layout .actions { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 1000px) { .invite-layout { grid-template-columns: minmax(0, 1fr); } .invite-form-card { position: static; } }

.grant-preview summary { cursor: pointer; color: var(--green); font-size: 11px; font-weight: 500; }
.grant-preview summary:hover { text-decoration: underline; }

/* 班级材料中心 */
.class-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.class-material-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px;
  padding: 15px 16px; background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}
.class-material-card--data { border-top-color: var(--amber); }
.cm-no { grid-row: span 2; font-family: Georgia, var(--serif); font-size: 21px; color: var(--green); line-height: 1; }
.class-material-card--data .cm-no { color: var(--amber); }
.class-material-card h2 { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.class-material-card p { margin-top: 4px; color: var(--muted); font-size: 9.5px; line-height: 1.65; }
.cm-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
@media (max-width: 760px) { .class-material-grid { grid-template-columns: minmax(0, 1fr); } }

.reason-reference { margin-top: 8px; padding: 9px 11px; border: 1px dashed var(--line); background: var(--surface-2); }
.reason-reference summary { cursor: pointer; color: var(--green); font-size: 10.5px; font-weight: 500; }
.reason-reference p { margin-top: 7px; color: var(--muted); font-size: 10.5px; line-height: 1.8; }

/* 批量账号导入 */
.import-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; min-height: 160px; padding: 18px; border: 1px dashed var(--line);
  background: var(--surface-2); text-align: center; cursor: pointer;
}
.upload-zone:hover { border-color: var(--green-3); background: var(--green-mist); }
.upload-zone input { display: none; }
.upload-zone .upload-icon { color: var(--green); }
.upload-zone .upload-icon svg { width: 25px; height: 25px; }
.upload-zone strong { font-size: 12px; }
@media (max-width: 900px) { .import-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- 项目中心：我的办理 */

.my-tasks {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.my-tasks-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 17px 20px 13px; border-bottom: 1px solid var(--line-soft);
}
.my-tasks-head h2 { font-size: 18px; font-weight: 700; margin-top: 3px; }
.my-task { display: grid; grid-template-columns: minmax(0, 1fr) 110px 160px 118px; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line-soft); }
.my-task:last-child { border-bottom: 0; }
.my-task-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.my-task-no {
  width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center;
  border-radius: 8px; background: var(--green-wash); color: var(--green);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
}
.my-task--scholarship .my-task-no { background: var(--violet-wash); color: var(--violet); }
.my-task--grant .my-task-no { background: var(--amber-wash); color: var(--amber); }
.my-task-name strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
.my-task-name small { display: block; margin-top: 2px; font-size: 10px; color: var(--faint); line-height: 1.4; }
.my-task-status .pill { white-space: nowrap; }
.my-task-time span { display: block; font-size: 9.5px; color: var(--faint); line-height: 1.4; }
.my-task-time strong { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.my-task-action { justify-self: end; }
.my-task-action .btn { white-space: nowrap; }
.my-tasks-empty { margin: 0; padding: 26px 20px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 767px) {
  .my-tasks-head { padding: 15px 16px 11px; }
  .my-task { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 13px 16px; }
  .my-task-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .my-task-time { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 7px; }
  .my-task-time span, .my-task-time strong { display: inline; margin: 0; }
  .my-task-action { grid-column: 1 / -1; justify-self: stretch; }
  .my-task-action .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- 项目中心：三条业务线对比（默认收起） */

.project-compare { overflow: hidden; }
.project-compare-summary {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 20px; cursor: pointer; list-style: none;
}
.project-compare-summary::-webkit-details-marker { display: none; }
.project-compare-summary:hover { background: var(--surface-2); }
.project-compare-summary-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.project-compare-title { font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: var(--ink); }
.project-compare-caret {
  margin-left: auto; width: 26px; height: 26px; flex: 0 0 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--muted);
  transition: transform 160ms var(--ease);
}
.project-compare-caret svg { width: 14px; height: 14px; }
.project-compare[open] .project-compare-caret { transform: rotate(90deg); }
.project-compare-body { border-top: 1px solid var(--line-soft); }
.project-compare-body .table-wrap { padding: 4px 0 0; }
@media (max-width: 767px) {
  .project-compare-summary { padding: 14px 16px; }
  .project-compare-title { font-size: 14px; }
  .project-compare-body .project-compare-mobile { padding: 12px 14px 14px; }
}

/* ---------------------------------------------------------------- 学生端三步向导 */

.wizard-steps { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.stepper--top { flex-direction: row; gap: 0; padding: 0; }
.stepper--top .step-item {
  flex: 1 1 0; display: grid; grid-template-columns: 30px minmax(0, 1fr);
  align-items: center; gap: 9px; min-width: 0;
  padding: 13px 16px; border: 0; border-right: 1px solid var(--line);
  border-radius: 0; background: transparent;
}
.stepper--top .step-item:last-child { border-right: 0; }
.stepper--top .step-item::after { display: none; }
.stepper--top .step-no { width: 30px; height: 30px; font-size: 12px; }
.stepper--top .step-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; padding-top: 0; }
.stepper--top .step-desc { display: block; font-size: 10px; color: var(--faint); line-height: 1.4; margin-top: 1px; }
.stepper--top .step-item.active { background: var(--surface); box-shadow: inset 0 -2px 0 var(--green); }
.stepper--top .step-item.active .step-label { color: var(--green); }
.stepper--top .step-item.done:not(.active) .step-label { color: var(--ink-2); }

.wizard-review {
  margin-top: 22px; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2);
}
.wizard-review-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 11px 15px; border-bottom: 1px solid var(--line-soft); background: var(--surface);
}
.wizard-review-head h4 { font-size: 13px; font-weight: 700; }
.wizard-review dl { margin: 0; padding: 5px 15px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.wizard-review dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.wizard-review dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.wizard-review dt { font-size: 11px; color: var(--faint); white-space: nowrap; }
.wizard-review dd { font-size: 11.5px; color: var(--ink-2); text-align: right; }

.wizard-issues {
  margin-top: 18px; padding: 13px 15px;
  border: 1px solid rgba(210, 81, 54, 0.22); border-radius: var(--radius-sm);
  background: var(--red-wash);
}
.wizard-issues-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--red); font-size: 12px; }
.wizard-issues-head strong { font-weight: 700; }
.wizard-issues-head span { font-size: 10.5px; }
.wizard-issue-list { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
.wizard-issue-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 10px; text-align: left;
  border: 1px solid rgba(210, 81, 54, 0.16); border-radius: 7px;
  background: var(--surface); color: var(--ink-2); font-size: 11.5px; cursor: pointer;
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.wizard-issue-item:hover { border-color: rgba(210, 81, 54, 0.4); background: #fff; }
.wizard-issue-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--red); }
.wizard-issue-text { flex: 1; min-width: 0; line-height: 1.5; }
.wizard-issue-go { color: var(--green); font-size: 11px; font-weight: 600; white-space: nowrap; }
.wizard-issues.is-clear { border-color: rgba(15, 138, 106, 0.22); background: var(--success-wash); }
.wizard-issues.is-clear .wizard-issues-head { color: var(--success); }
.wizard-issues-clear { margin: 0; font-size: 11.5px; color: var(--success); }

@media (max-width: 900px) {
  .stepper--top { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; border-bottom: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .stepper--top::-webkit-scrollbar { display: none; }
  .stepper--top .step-item {
    flex: 0 0 auto; min-width: 150px; justify-content: flex-start;
    padding: 11px 13px; border-right: 1px solid var(--line-soft);
  }
  .stepper--top .step-item > span:not(.step-no) { display: block; }
  .stepper--top .step-label { display: block; font-size: 12px; }
  .stepper--top .step-desc { display: block; font-size: 9.5px; }
  .stepper--top .step-no { width: 28px; height: 28px; font-size: 11px; }
  .wizard-steps .step-mobile-caption { display: flex; padding: 10px 14px 0; }
}
@media (max-width: 620px) {
  .wizard-review dl { grid-template-columns: minmax(0, 1fr); }
  .wizard-review dl > div:nth-last-child(-n+2) { border-bottom: 1px dashed var(--line-soft); }
  .wizard-review dl > div:last-child { border-bottom: 0; }
  .wizard-issues { padding: 12px; }
}

/* ---------------------------------------------------------------- 证件照 */
.photo-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #dbe5fb;
  border-left: 3px solid var(--violet);
  border-radius: var(--radius-sm);
  background: #f8faff;
}
.photo-card-frame {
  flex: 0 0 96px;
  width: 96px;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  border: 1px solid #cdd9ee;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-card-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 11px;
}
.photo-card-empty .icon { width: 24px; height: 24px; }
.photo-card-body { flex: 1; min-width: 0; }
.photo-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.photo-card-head h3 { margin: 0 0 5px; font-family: var(--sans); font-size: 15px; }
.photo-card-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.photo-card-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 11px; }
.photo-upload-btn { cursor: pointer; }
.photo-card--preview { margin: 0 0 14px; background: #fff; }
@media (max-width: 560px) {
  .photo-card { gap: 12px; padding: 13px; }
  .photo-card-frame { flex-basis: 78px; width: 78px; }
  .photo-card-head { flex-direction: column; gap: 7px; }
}
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 18px; }
.photo-grid .photo-card { margin: 0; }
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr; }
}
.photo-cell { width: 56px; }
.photo-cell img {
  display: block; width: 36px; height: 50px; object-fit: cover;
  border: 1px solid #d6e0f0; border-radius: 3px; background: #fff;
}
.photo-missing { font-size: 10px; color: var(--amber); white-space: nowrap; }

/* ---------------------------------------------------------------- 成绩自动识别工作台 */
.rank-workbench { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.rank-auto-tip {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px;
  border: 1px solid #dbe5fb; border-radius: 10px; background: #f7faff;
}
.rank-auto-tip > .icon { width: 17px; height: 17px; flex: 0 0 17px; color: var(--blue); margin-top: 1px; }
.rank-auto-tip div { display: flex; flex-direction: column; gap: 3px; }
.rank-auto-tip strong { font-family: var(--sans); font-size: 12.5px; color: var(--ink); }
.rank-auto-tip span { color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.rank-upload-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; align-items: stretch;
}
.rank-upload-grid .import-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 12px; overflow: hidden;
}
.rank-upload-grid .import-card-head { padding: 19px 20px 14px; }
.rank-upload-grid .import-card-head h2 { font-size: 18px; }
.rank-upload-grid .import-card-head h2 .tag { vertical-align: 2px; margin-left: 5px; }
.rank-upload-grid .import-card-head p { font-size: 11.5px; line-height: 1.7; }
.rank-upload-grid .import-drop {
  min-height: 196px; margin: 0 20px; border-radius: 9px;
}
.rank-upload-grid .import-file-name { margin: 8px 20px 0; }
.rank-upload-grid .import-note {
  min-height: 88px; margin: 12px 20px 0; border-radius: 0 7px 7px 0;
}
.rank-upload-grid .import-actions {
  margin-top: auto; padding: 13px 20px; border-top: 1px solid var(--line);
  background: #fbfcff;
}
.rank-upload-grid .import-actions .btn { min-width: 148px; }
.rank-support-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; align-items: stretch;
}
.rank-support-card {
  display: flex; flex-direction: column; height: 100%; border-radius: 12px;
}
.rank-support-card h3 { margin-bottom: 3px; }
.rank-support-card .ranking-upload-list { max-height: 345px; overflow: auto; padding-right: 4px; }
.rank-support-card .ranking-upload-item { padding: 10px 0; }
.rank-support-card > p { margin-top: 10px; }
@media (max-width: 1100px) {
  .rank-upload-grid, .rank-support-grid { grid-template-columns: minmax(0, 1fr); }
  .rank-upload-grid .import-drop { min-height: 170px; }
  .rank-support-card .ranking-upload-list { max-height: 300px; }
}
@media (max-width: 620px) {
  .rank-upload-grid .import-card-head { padding: 16px 15px 12px; }
  .rank-upload-grid .import-card-head h2 { font-size: 16px; }
  .rank-upload-grid .import-drop { margin: 0 15px; min-height: 155px; }
  .rank-upload-grid .import-file-name { margin: 7px 15px 0; }
  .rank-upload-grid .import-note { margin: 10px 15px 0; min-height: 0; }
  .rank-upload-grid .import-actions { padding: 12px 15px; }
  .rank-upload-grid .import-actions .small { display: none; }
  .rank-upload-grid .import-actions .btn { width: 100%; }
  .rank-auto-tip { padding: 12px 13px; }
}
.rank-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .rank-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
