:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fa;
  --card: #ffffff;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ecfdf5;
  --accent: #f59e0b;
  --danger: #dc2626;
  --warn: #b45309;
  --ok: #15803d;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 30px; }
h2 { font-size: 21px; }
p { margin: 0 0 .8em; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; }
.req-mark { color: var(--danger); font-style: normal; }
.tight { margin: .4em 0 0; padding-left: 1.2em; }
.full { grid-column: 1 / -1; }

/* ---------- 头部 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center; flex: none;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; }
.brand-text small { color: var(--muted); font-size: 11.5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px;
}
.nav a:hover { background: #f1f5f9; text-decoration: none; }
.nav a.on { color: var(--brand); background: var(--brand-soft); font-weight: 500; }
.nav .nav-cta {
  margin-left: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px;
  font-variant-numeric: tabular-nums;
}
.nav .nav-cta:hover { background: #000; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 500; cursor: pointer; transition: .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--ink-2); cursor: pointer; font: inherit; padding: 8px 12px; border-radius: 8px; }
.link-btn:hover { background: #f1f5f9; }
.inline-form { display: inline; margin: 0; }

/* ---------- 首页 ---------- */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; }
.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: .04em; color: var(--brand);
  background: var(--brand-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: 34px; letter-spacing: -.02em; margin-bottom: 14px; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
.hero-points li::before { content: "✓"; color: var(--brand); margin-right: 6px; font-weight: 600; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 17px; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; }
.steps li > span {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.steps strong { display: block; font-size: 14.5px; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.section { padding: 48px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head h2 { font-size: 22px; }
.section-head p { color: var(--muted); font-size: 14px; margin: 0; }

.mat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mat-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px;
}
.mat-item .mat-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; margin-top: 8px; }
.mat-item.is-req .mat-dot { background: var(--brand); }
.mat-item strong { font-size: 14.5px; display: block; }
.mat-item p { margin: 3px 0 0; color: var(--muted); font-size: 12.8px; line-height: 1.5; }
.mat-item > div { flex: 1; }
.tag { font-size: 11.5px; padding: 2px 7px; border-radius: 6px; flex: none; margin-left: 6px; }
.tag-req { background: #fef2f2; color: var(--danger); }
.tag-opt { background: #f1f5f9; color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 500; font-size: 15px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }

.cta-band { padding: 40px 0 56px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--brand); color: #fff; border-radius: 18px; padding: 30px 34px;
}
.cta-inner h2 { color: #fff; margin-bottom: 4px; }
.cta-inner .muted { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-inner .btn-primary { background: #fff; color: var(--brand-dark); }

/* ---------- 页脚 ---------- */
.site-foot { background: #0f172a; color: #cbd5e1; padding: 36px 0; font-size: 13.5px; }
.foot-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col strong { color: #fff; display: block; margin-bottom: 8px; font-size: 14px; }
.foot-col p { margin: 0 0 3px; }
.site-foot .muted { color: #94a3b8; }
.site-foot a { color: #cbd5e1; }

/* ---------- 表单 ---------- */
.page-head { padding: 36px 0 20px; }
.page-head h1 { font-size: 26px; }
.form-shell { padding-bottom: 60px; display: grid; gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
fieldset.card { margin: 0; min-width: 0; border: 1px solid var(--line); }
legend { font-size: 17px; font-weight: 600; padding: 0 0 14px; display: flex; align-items: center; gap: 9px; }
.step-no {
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.legend-tip { color: var(--muted); font-size: 13px; margin: -6px 0 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; width: 100%;
  transition: .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
input.invalid, select.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 3px 0 0; flex: none; accent-color: var(--brand); }
.checks { display: grid; gap: 7px; }

.up-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.up-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fcfdfe; }
.up-head strong { font-size: 14.5px; }
.up-hint { margin: 4px 0 10px; color: var(--muted); font-size: 12.5px; }
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 1.5px dashed #cbd5e1; border-radius: 10px; padding: 16px 10px; cursor: pointer;
  background: #f8fafc; transition: .15s; text-align: center;
}
.drop:hover, .drop.dragover { border-color: var(--brand); background: var(--brand-soft); }
.drop input[type=file] { display: none; }
.drop-ico { font-size: 18px; color: var(--brand); line-height: 1; }
.drop-text { font-size: 12.5px; color: var(--muted); }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.file-list li {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  background: #eff6ff; border: 1px solid #dbeafe; border-radius: 7px; padding: 5px 8px;
}
.file-list li .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li .fsize { color: var(--muted); flex: none; }
.file-list li button { border: 0; background: none; color: var(--danger); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }

.submit-card { display: grid; gap: 14px; }
.submit-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- 证明落款日期（极速页） ---------- */
.sign-block {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
  margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line);
}
.sign-form { display: flex; align-items: flex-end; gap: 8px; margin: 0; }
.sign-field { display: flex; flex-direction: column; gap: 5px; }
.sign-field > span { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.sign-field input[type="date"] { width: auto; min-width: 150px; padding: 7px 10px; font-size: 13.5px; border-radius: 8px; }
.sign-last { padding-bottom: 8px; }
.sign-last b { color: var(--ink); font-size: 13.5px; }

/* ---------- 公示 / 述职 / 述职人数（极速页，紧接落款日期） ---------- */
.pd-block { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.pd-form { margin: 0; }
.pd-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pd-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.pd-grid { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.pd-field { display: flex; flex-direction: column; gap: 5px; }
.pd-field > span { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.pd-field input[type="date"],
.pd-field input[type="number"] { width: 158px; padding: 7px 10px; font-size: 13.5px; border-radius: 8px; }
.pd-field input[type="number"] { width: 110px; }
.pd-last { font-size: 11.5px; color: var(--muted); font-style: normal; line-height: 1.5; }
.pd-last b { color: var(--ink-2); font-weight: 600; }

/* ---------------------- 状态小标签（继续教育 / 生成结果共用） ---------------------- */
.pill {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; line-height: 1.7; white-space: nowrap;
}
.pill-ok { background: #dcfce7; color: #166534; }
.pill-warn { background: #fef3c7; color: #92400e; }
.pill-muted { background: #f1f5f9; color: #475569; }

/* ------------------------------ 生成结果卡片 ------------------------------ */
.dp-shell { display: grid; gap: 12px; margin: 14px 0 0; }
.dp-sum {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  padding: 10px 14px; background: var(--brand-soft); border: 1px solid #a7f3d0;
  border-radius: 9px; font-size: 13.5px; color: var(--brand-dark);
}
.dp-sum b { font-size: 15px; }

.dp-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  padding: 12px 14px 10px; display: grid; gap: 8px;
  /* 生成完会跳到这张卡片：留出吸顶导航的高度，别让标题被盖住 */
  scroll-margin-top: 72px;
}
/* 论文生成文件：给块淡底，一眼看到「这里能改字」 */
.dp-paper-files { background: #f4fbf6; border-color: #cfe9d7; scroll-margin-top: 72px; }
/* 论文卡里的提示区（图上的 ③）：论文已生成 / 已拼好的 Word / 19 份资料汇总，三行一档间距 */
.dp-paper-chrome { display: grid; gap: 8px; margin: 2px 0 0; }
.dp-paper-chrome .dp-sum { margin: 0; }
/* 论文的 9 个录入窗口：生成完还要能接着传下一篇，从顶部点过来时别被导航盖住 */
#paperSets { scroll-margin-top: 72px; }
.dp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-no {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px;
  color: var(--muted); background: #f8fafc; border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px;
}
.dp-title { font-size: 14.5px; }
.dp-list { margin: 0; padding-left: 1.15em; font-size: 12.5px; color: var(--muted); }
.dp-list li { margin: 3px 0; }
.dp-more { font-size: 12.5px; color: var(--muted); }
.dp-more summary { cursor: pointer; color: var(--ink-2); }

.dp-file { border-top: 1px dashed var(--line); padding-top: 8px; }
.dp-file:first-of-type { border-top: none; padding-top: 0; }
.dp-group { border-top: 1px dashed var(--line); padding-top: 8px; }
.dp-group:first-of-type { border-top: none; padding-top: 0; }
.dp-group > summary { cursor: pointer; display: flex; align-items: baseline; gap: 8px; list-style: none; }
.dp-group > summary::-webkit-details-marker { display: none; }
.dp-group > summary::before { content: '▸'; color: var(--muted); font-size: 11px; }
.dp-group[open] > summary::before { content: '▾'; }
.dp-group[open] > summary { margin-bottom: 8px; }
.dp-group .dp-file { padding-left: 14px; }

/* 客户上传的公开课证明读成了什么（060）：一张小表，认错了马上看得出来 */
.dp-proof { border: 1px solid #d8e6f2; border-radius: 10px; padding: 10px 12px; margin: 8px 0 12px; background: #f7fbfe; }
.dp-proof-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.dp-proof-tb { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dp-proof-tb th, .dp-proof-tb td { border-bottom: 1px solid #e3eef7; padding: 5px 6px; text-align: left; vertical-align: top; }
.dp-proof-tb th { color: var(--muted); font-weight: 600; background: #eef6fc; white-space: nowrap; }
.dp-proof-tb tr:last-child td { border-bottom: none; }
.dp-lv { display: inline-block; padding: 0 7px; border-radius: 999px; background: #eaf4ff; color: #1f5f96; font-size: 11.5px; }
.dp-weak { color: var(--danger); }

/* 每套材料的清单（060）：01–05 必须齐，06/07 是补充材料 */
.dp-check { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0 12px; background: #fbfdfc; }
.dp-check-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.dp-check-row { border-top: 1px dashed var(--line); padding: 9px 0 4px; }
.dp-check-row:first-of-type { border-top: none; padding-top: 2px; }
.dp-check-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.dp-chip { font-size: 12px; line-height: 1.6; padding: 1px 9px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); white-space: nowrap; }
.dp-chip.ok { border-color: #bbe3c8; background: #f0fbf3; color: var(--ok); }
.dp-chip.miss { border-color: #f3c8c8; background: #fdf3f3; color: var(--danger); font-weight: 600; }
.dp-chip.opt { border-style: dashed; color: var(--muted); }
/* 020-05 育人工作经验材料：生成后卡片底部那一条「两份文档」 */
.dp-cu-docs { border: 1px solid var(--line); border-radius: 10px; background: #fbfdfc;
  padding: 9px 12px; margin: 10px 0 4px; }
.dp-cu-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.dp-cu-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.dp-cu-files .dp-chip { font-size: 12.5px; padding: 2px 10px; }
.dp-thumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.dp-thumbs img { height: 56px; width: auto; max-width: 120px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; }
.dp-thumb-file { font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }

/* 030-02 教学计划：每套上传窗口上面的教材版本选择栏 */
.dp-plan-ver { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 6px 9px; margin: 6px 0 8px; border: 1px dashed var(--line);
  border-radius: 8px; background: #fcfefe; }
.dp-plan-ver-lab { font-size: 12.5px; font-weight: 600; }
.dp-plan-ver select, .dp-plan-ver input[type=text] { font-size: 12.5px; padding: 3px 8px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; min-width: 150px; }
.dp-plan-ver input[type=text][hidden] { display: none; }
.dp-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 2px 0; }
.dp-up { cursor: pointer; }
.dp-up input[type=file] { display: none; }

/* 清单要、但还没生成的栏：告诉客户点一下就出什么，别只给一张空卡 */
.dp-pend {
  border: 1px dashed #bcd3e7; background: #f5fafd; border-radius: 10px;
  padding: 10px 12px; margin: 8px 0 10px;
}

/* 060 的 7 个录入窗口：一个学年一行，01–07 各一格，客户在格子里传对应的材料 */
.dp-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(134px, 1fr)); gap: 8px; margin-top: 8px; }

/* 060 每个学年上传栏上面的「公开课信息」输入框（客户 2026-11 要求） */
.dp-ocinfo {
  border: 1px dashed #bcd3e7; background: #f5fafd; border-radius: 10px;
  padding: 8px 10px; margin-top: 8px;
}
.dp-ocinfo-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-ocinfo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 10px; margin-top: 6px; }
.dp-ocinfo-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.dp-ocinfo-grid input, .dp-ocinfo-grid select {
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; font-size: 13px; background: #fff;
}

/* 030-07 成绩单：一个学年一块，上面数据栏、下面上传口 */
.dp-sec {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.dp-sec b { font-size: 15px; color: var(--brand-dark); }
.dp-scinfo {
  border: 1px dashed #bcd3e7; background: #f5fafd; border-radius: 10px;
  padding: 8px 10px; margin-top: 8px;
}
.dp-scinfo-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.dp-sc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dp-sc-table th, .dp-sc-table td { border: 1px solid var(--line); padding: 3px 6px; text-align: center; }
.dp-sc-table th { background: #eef5fb; font-weight: 600; color: var(--muted); }
/* 080-01 指导学生获奖：统计表（第 3 列是成果名称，宽一点；不在「能提供」年份里的行淡一点） */
.dp-st-table td:nth-child(3) { text-align: left; }
.dp-st-table select { font-size: 12px; padding: 1px 2px; }
.dp-st-table tr.dp-st-out td { color: #9aa4ad; }
/* 080-04 指导青年教师：统计表 6 列，成果名称那列左对齐并给足宽度 */
.dp-m4-table td:nth-child(3), .dp-m4-table th:nth-child(3) { text-align: left; min-width: 260px; }
.dp-m4-table td:nth-child(6) { white-space: nowrap; }
.dp-sc-table td:first-child { text-align: left; white-space: nowrap; }
.dp-sc-table input {
  width: 74px; border: 1px solid var(--line); border-radius: 5px; padding: 3px 5px;
  font-size: 13px; text-align: center; background: #fff;
}
.dp-scinfo-grid { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.dp-scinfo-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.dp-scinfo-grid input {
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; font-size: 13px; background: #fff;
  min-width: 190px;
}
/* 030-05 年度考核表：只有一个下拉，样式跟成绩单数据栏一致 */
.dp-apinfo {
  border: 1px dashed #bcd3e7; background: #f5fafd; border-radius: 10px;
  padding: 8px 10px; margin-top: 8px;
}
.dp-apinfo-grid { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.dp-apinfo-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.dp-apinfo-grid select {
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; font-size: 13px;
  background: #fff; min-width: 110px; color: var(--ink);
}
.dp-slot {
  display: flex; flex-direction: column; gap: 5px; min-height: 100px;
  border: 1px dashed var(--line); border-radius: 10px; padding: 7px 8px; background: #fff;
}
.dp-slot.ok { border-style: solid; border-color: #bbe3c8; background: #f6fdf8; }
.dp-slot.miss { border-color: #f3c8c8; background: #fffafa; }
.dp-slot.opt { background: #fcfcfd; }
.dp-slot-head { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink); }
.dp-slot-head b { color: var(--brand-dark); }
.dp-slot-state { margin-left: auto; font-size: 11px; color: var(--muted); }
.dp-slot.miss .dp-slot-state { color: var(--danger); font-weight: 600; }
.dp-slot.ok .dp-slot-state { color: var(--ok); }
.dp-slot-files { display: flex; flex-wrap: wrap; gap: 5px; max-height: 100px; overflow: auto; align-items: flex-start; }
.dp-slot-item { position: relative; display: inline-flex; }
.dp-slot-link { display: inline-block; }
.dp-slot-link img { height: 38px; width: auto; max-width: 78px; object-fit: cover;
  border-radius: 5px; border: 1px solid var(--line); background: #fff; display: block; }
.dp-slot-file { font-size: 11px; padding: 1px 6px; border: 1px solid var(--line);
  border-radius: 5px; background: #fff; color: var(--ink); }
.dp-slot-del {
  position: absolute; top: -5px; right: -5px; width: 15px; height: 15px; padding: 0;
  line-height: 13px; text-align: center; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 11px;
}
.dp-slot-del:hover { color: var(--danger); border-color: #f3c8c8; }
/* 选完还没传：先在这儿排着，点「上传」才真进文件夹 */
.dp-slot-pend { display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  padding: 4px 0 0; border-top: 1px dashed var(--line); }
.dp-slot-pend[hidden] { display: none; }
.dp-pend-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 11px;
  border: 1px dashed var(--brand); border-radius: 5px; background: #f5f9ff; color: var(--ink);
  padding: 1px 2px 1px 5px; max-width: 100%; }
.dp-pend-chip a { color: var(--brand-dark); text-decoration: none; max-width: 86px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-pend-chip a:hover { text-decoration: underline; }
.dp-pend-chip button { border: 0; background: none; color: var(--muted); cursor: pointer;
  font-size: 11px; padding: 0 2px; line-height: 1; }
.dp-pend-chip button:hover { color: var(--danger); }
.dp-slot-pend .btn { font-size: 11px; padding: 2px 7px; }
.dp-slot-word { border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit; }
.dp-slot-word .dp-slot-file { border-color: var(--brand); color: var(--brand-dark); }
.dp-slot-word:hover .dp-slot-file { background: #eef5ff; }

/* 085-01 选修课（社团）：一套一块，信息栏在上、7 个上传口在下 */
.dp-el-info { margin: 6px 0 8px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 10px; background: #fbfcfe; }
.dp-el-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px 10px; }
.dp-el-f { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.dp-el-f input { font-size: 13px; padding: 4px 7px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.dp-el-f input:focus { outline: none; border-color: var(--brand); }
.dp-el-acts { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.dp-el-msg { flex: 1; min-width: 200px; }
.dp-slot-up {
  margin-top: auto; padding-top: 4px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--brand-dark); cursor: pointer;
}
.dp-slot-up:hover { text-decoration: underline; }
.dp-slot-up input[type=file] { display: none; }
.dp-file-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-fname {
  font-size: 13px; font-weight: 600; color: var(--ink); background: none; border: 0;
  padding: 0; margin: 0; font-family: inherit; cursor: pointer; text-align: left;
  border-bottom: 1px dashed transparent;
}
.dp-fname:hover { color: var(--brand-dark); border-bottom-color: var(--brand); }
.dp-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); }
.dp-tag-open { color: #9a3412; background: #fff7ed; border-color: #fed7aa; }
.dp-tag-sync { color: var(--brand-dark); background: var(--brand-soft); border-color: #99f6e4; }

.dp-acts { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }

/* 011 现职聘任证明：几个单位并成一份，只摆文档图标 + 「用 Word 打开编辑」 */
.dp-file-doc .dp-file-head {
  padding: 9px 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 9px;
}
.dp-file-doc .dp-fname { font-size: 13.5px; }
.dp-doc-ico {
  width: 26px; height: 30px; flex: none; border-radius: 5px;
  background: #1d4ed8; color: #fff; font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(29, 78, 216, .3);
}

/* 060 合并稿：合并期间盖一层遮罩（调 Word 要 1–3 分钟，不能让客户以为没反应） */
.dp-mask {
  position: fixed; inset: 0; z-index: 9999; background: rgba(15, 23, 42, .45);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.dp-mask-box {
  max-width: 420px; background: #fff; border-radius: 12px; padding: 20px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .28); text-align: center;
}
.dp-mask-box b { font-size: 15px; }
.dp-mask-box p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: #475569; }

.dp-preview {
  margin: 8px 0 0; padding: 18px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; max-height: 420px; overflow: auto;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}
.dp-preview.editing { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dp-preview .dp { margin: 0 0 8px; font-size: 14.5px; line-height: 1.95; color: #111; }
.dp-preview .dp-empty { margin: 0 0 6px; height: .9em; }
.dp-preview .dp-tbl { border-collapse: collapse; width: 100%; margin: 6px 0 10px; font-size: 13px; }
.dp-preview .dp-tbl td { border: 1px solid #cbd5e1; padding: 4px 8px; vertical-align: top; }
.dp-preview.editing [data-pi] { outline: 1px dashed #cbd5e1; border-radius: 3px; }
.dp-preview.editing [data-pi]:focus { outline: 2px solid var(--brand); background: #f0fdfa; }
.dp-hint { margin: 4px 0 0; }

/* 客户总表信息栏（在卡片里直接改总表字段） */
.dp-fields {
  border: 1px solid var(--line); border-radius: 9px; background: #f8fafc;
  padding: 10px 12px; display: grid; gap: 8px; margin: 2px 0 2px;
}
.dp-fields-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.dp-fields-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 12px; }
.dp-field { display: flex; flex-direction: column; gap: 3px; }
.dp-field > span { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.dp-field > span i { font-style: normal; margin-left: 5px; }
.dp-field input {
  width: 100%; padding: 6px 9px; font-size: 13px; border: 1px solid #cbd5e1;
  border-radius: 7px; background: #fff; color: var(--ink); font-family: inherit;
}
.dp-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dp-fields-msg { color: var(--brand-dark); }

/* 论文卡：总表信息默认收起，只留一行入口（客户说那几行是多余的）。
   .dp-fields-fold 同时带 .dp-fields，保存按钮脚本靠 closest('.dp-fields') 找容器，
   所以这里必须把 .dp-fields 的 grid 覆盖成普通块。 */
.dp-fields-fold {
  display: block; background: #fbfcfd; border: 1px dashed #dbe3ec; padding: 7px 10px;
}
.dp-fields-fold > summary {
  cursor: pointer; font-size: 12.5px; color: var(--ink-2); list-style: none;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.dp-fields-fold > summary::-webkit-details-marker { display: none; }
.dp-fields-fold > summary::before { content: '▸'; color: #94a3b8; font-size: 11px; }
.dp-fields-fold[open] > summary::before { content: '▾'; }
.dp-fields-fold[open] > summary { margin-bottom: 8px; }
.dp-fields-fold .dp-fields-grid { margin-bottom: 8px; }

.sd-mask {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(15, 23, 42, .45);
}
.sd-mask[hidden] { display: none; }
.sd-box {
  width: 100%; max-width: 540px; background: var(--card); border-radius: var(--radius);
  box-shadow: 0 10px 40px -8px rgba(15, 23, 42, .35); padding: 22px 24px;
}
.sd-box h3 { font-size: 18px; margin: 0 0 8px; }
.sd-list { margin: 6px 0 16px; padding-left: 1.15em; font-size: 13.5px; color: var(--ink-2); }
.sd-list li { margin: 5px 0; }
.progress { position: relative; height: 26px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.progress-text { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #fff; mix-blend-mode: difference; }

.alert { border-radius: 9px; padding: 11px 14px; font-size: 13.5px; margin: 0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-ok { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #a7f3d0; }

/* ---------- 成功页 ---------- */
.success-shell { padding-bottom: 70px; }
.success-card { text-align: center; max-width: 560px; margin: 0 auto; padding: 36px 28px; }
.success-ico {
  width: 54px; height: 54px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 26px; margin: 0 auto 16px;
}
.result-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; text-align: left; }
.result-box > div { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.result-box span { display: block; font-size: 12.5px; color: var(--muted); }
.result-box strong { font-size: 17px; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.success-card .hero-actions { justify-content: center; }

/* ---------- 查询 ---------- */
.query-card { display: grid; gap: 16px; }
.query-card .btn { justify-self: start; }
.status-banner {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 10px;
  background: #eff6ff; color: #1e40af; margin-bottom: 20px;
}
.status-banner span { font-size: 13px; opacity: .8; }
.status-banner strong { font-size: 18px; }
.tone-warn { background: #fffbeb; color: #92400e; }
.tone-danger { background: #fef2f2; color: #991b1b; }
.tone-ok { background: var(--brand-soft); color: var(--brand-dark); }
.tone-info { background: #eff6ff; color: #1e40af; }
.tone-muted { background: #f1f5f9; color: #475569; }
.timeline { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 0; }
.timeline li { display: flex; gap: 12px; padding: 10px 0 10px 0; position: relative; color: var(--muted); }
.timeline li .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; margin-top: 5px; z-index: 1; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 22px; bottom: -10px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.done .dot { background: var(--brand); border-color: var(--brand); }
.timeline li.done strong { color: var(--ink); }
.timeline li.now .dot { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
.timeline li.now strong { color: var(--brand); }
.note-box { background: #f8fafc; border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; padding: 12px 16px; margin-bottom: 18px; }
.note-box p { margin: 4px 0 0; color: var(--ink-2); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0 0 20px; }
.kv-2 { grid-template-columns: 1fr 1fr; }
.kv > div { display: flex; gap: 8px; }
.kv dt { color: var(--muted); font-size: 13.5px; flex: none; min-width: 5.5em; }
.kv dd { margin: 0; font-size: 14px; word-break: break-all; }

/* ---------- 后台 ---------- */
.admin-body { background: #f1f5f9; }
.admin-head { background: #fff; border-bottom: 1px solid var(--line); }
.admin-main { padding: 26px 20px 60px; }
.admin-head h1 { font-size: 22px; margin: 0; }
.admin-main > .admin-head { background: none; border: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding: 0; }
.admin-main .admin-head h1 { margin: 0; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.filter-bar { display: flex; gap: 8px; }
.search { width: 260px; }
.stats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px; color: var(--ink);
}
.stat:hover { text-decoration: none; border-color: #cbd5e1; }
.stat.on { border-color: var(--brand); background: var(--brand-soft); }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat strong { font-size: 19px; }
.table-card { padding: 0; overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.8px; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #eef2f6; vertical-align: top; }
.table th { background: #f8fafc; font-size: 12.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.table tbody tr:hover { background: #fcfdfe; }
.table-tight th, .table-tight td { padding: 9px 12px; }
.row-empty td { color: var(--muted); }
.badge { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.badge.tone-warn { background: #fffbeb; color: #92400e; }
.badge.tone-danger { background: #fef2f2; color: #991b1b; }
.badge.tone-ok { background: var(--brand-soft); color: var(--brand-dark); }
.badge.tone-info { background: #eff6ff; color: #1e40af; }
.badge.tone-muted { background: #f1f5f9; color: #475569; }
.link { color: var(--brand); }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.file-row { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }
.grid-main { display: grid; grid-template-columns: 1fr 330px; gap: 18px; align-items: start; }
.col-main, .col-side { display: grid; gap: 18px; }
.col-side .card h2, .col-main .card h2 { font-size: 16px; margin-bottom: 14px; }
.login-body { display: grid; place-items: center; min-height: 100vh; }
.login-wrap { width: 100%; max-width: 380px; padding: 20px; }
.login-card { display: grid; gap: 12px; }
.login-card h1 { font-size: 22px; margin: 0; }
.login-card .muted { margin: 0; }
.login-card form { display: grid; gap: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .grid-main { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .head-inner { height: 58px; }
  .brand-text small { display: none; }
  .nav a { padding: 7px 9px; font-size: 13.5px; }
  .nav .nav-cta { display: none; }
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 26px; }
  .lead { font-size: 15px; }
  .grid-2, .up-grid, .mat-grid, .kv, .kv-2, .result-box { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .search { width: 100%; }
  .filter-bar { width: 100%; }
  .cta-inner { padding: 24px; }
  .table { font-size: 13px; }
  .table th, .table td { padding: 9px 10px; }
}

/* ================= 会员 / 下单 / 支付 ================= */
.center { text-align: center; }
.xsmall { font-size: 12px; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.readonly { background: #f8fafc; color: var(--ink-2); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }

.user-bar {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  max-width: 1080px; margin: 0 auto; padding: 10px 20px 0; font-size: 13.5px;
}
.ub-name { font-weight: 600; }
.ub-link { color: var(--brand); }

.auth-wrap { max-width: 460px; margin: 0 auto; padding: 40px 20px 70px; }
.auth-wrap.wide { max-width: 900px; }
.auth-head { margin-bottom: 20px; }
.auth-head h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card { display: grid; gap: 14px; }
.auth-card .field > span { font-size: 13px; }

.login-split { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: start; max-width: 760px; margin: 0 auto; }
.login-split.single { grid-template-columns: 1fr; }
.qr-card { text-align: center; display: grid; gap: 8px; justify-items: center; }
.qr-card h2 { font-size: 15px; margin: 0; }
.qr-img { width: 100%; max-width: 200px; height: auto; border-radius: 8px; border: 1px solid var(--line); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-card {
  display: grid; gap: 2px; text-align: left; cursor: pointer; font: inherit;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 14px 15px; transition: .15s; color: var(--ink);
}
.cat-card:hover { border-color: #94a3b8; transform: translateY(-1px); }
.cat-card strong { font-size: 16px; }
.cat-card em { font-style: normal; color: var(--brand); font-size: 13px; font-weight: 500; }
.cat-card.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }

.level-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.level-btn {
  font: inherit; cursor: pointer; background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 10px 20px; color: var(--ink); transition: .15s; min-width: 110px;
}
.level-btn:hover { border-color: #94a3b8; }
.level-btn.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 500; }
.level-btn small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.level-btn.on small { color: var(--brand); }

.pay-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sum-left { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sum-left strong { font-size: 28px; color: var(--brand); font-variant-numeric: tabular-nums; }

.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.order-list li a {
  display: grid; grid-template-columns: 150px 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink);
}
.order-list li a:hover { text-decoration: none; background: #f8fafc; }

.pay-wrap { max-width: 620px; padding-bottom: 70px; }
.pay-card { display: grid; gap: 18px; }
.price { font-size: 22px; color: var(--brand); }
.pay-qr { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 10px 0; }
.pay-qr img { width: 220px; height: 220px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pay-steps { display: grid; gap: 6px; background: #f8fafc; border-radius: 10px; padding: 14px 16px; }
.pay-steps p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

.locked-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--brand-soft); border: 1px solid #a7f3d0; border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 4px;
}
.lb-main { display: grid; gap: 2px; }
.lb-main strong { font-size: 17px; color: var(--brand-dark); }
.lb-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.lb-year {
  font-style: normal; font-size: 12.5px; font-weight: 600; line-height: 1.5;
  color: var(--brand-dark); background: #fff; border: 1px solid #a7f3d0;
  border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.lb-meta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.payable-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ops { display: flex; gap: 6px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .login-split { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .auth-wrap { padding: 24px 16px 60px; }
  .order-list li a { grid-template-columns: 1fr auto; row-gap: 4px; }
  .lb-meta { margin-left: 0; }
  .level-btn { flex: 1 1 44%; min-width: 0; }
  .cat-grid { gap: 8px; }
  .cat-card { padding: 12px; }
  .user-bar { padding-top: 8px; }
}

/* ================= 合规文档页 ================= */
.foot-legal { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.foot-legal span { color: var(--line-2, #cbd5e1); }

.doc-page { max-width: 860px; padding: 34px 20px 70px; }
.doc-head { margin-bottom: 18px; }
.doc-head h1 { font-size: 28px; margin: 4px 0 8px; }
.doc-body { padding: 30px 34px 34px; line-height: 1.85; }
.doc-body h2 {
  font-size: 17px; margin: 26px 0 10px; padding-left: 10px;
  border-left: 3px solid var(--brand); color: var(--brand-dark);
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { margin: 0 0 10px; color: var(--ink-2); font-size: 14.5px; }
.doc-body ol, .doc-body ul { margin: 0 0 12px; padding-left: 22px; color: var(--ink-2); font-size: 14.5px; }
.doc-body li { margin-bottom: 6px; }
.doc-body strong { color: var(--ink); }
.doc-body a { color: var(--brand); }
.doc-lead {
  background: #f8fafc; border-radius: 10px; padding: 14px 16px;
  font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px;
}
.doc-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; }
.doc-table th, .doc-table td {
  border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; color: var(--ink-2);
}
.doc-table th { background: #f8fafc; color: var(--ink); font-weight: 600; white-space: nowrap; }
.doc-back { margin-top: 18px; }

@media (max-width: 640px) {
  .doc-body { padding: 20px 18px 24px; }
  .doc-head h1 { font-size: 22px; }
  .doc-table th, .doc-table td { padding: 7px 9px; font-size: 13px; }
}

/* 后台登录页 logo */
.login-logo { display: block; width: 56px; height: 56px; object-fit: contain; margin: 0 auto 2px; }

/* ================= 申报登记（地区 / 学校 / 学科） ================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* 申报页的登记信息条 */
.decl-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 4px;
}
.decl-main { margin: 2px 0 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }

/* 登记完成提示卡 */
.decl-done { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dd-ico {
  width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 17px; font-weight: 700;
}
.dd-body { flex: 1 1 320px; }

/* 后台：归档目录 */
.folder-box h3, .card h3 { font-size: 14px; margin: 0 0 6px; }
.folder-path {
  width: 100%; box-sizing: border-box; margin: 4px 0 6px;
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px;
  background: #f8fafc; color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px;
}

/* ================= 登记字段提示 / 后台调整归档 ================= */
.field-tip {
  display: block; margin-top: 5px; font-style: normal;
  font-size: 12px; line-height: 1.6; color: var(--muted, #64748b);
}
.field.full { grid-column: 1 / -1; }
.grid-2 .field.full { grid-column: 1 / -1; }

.lock-note h2 { color: var(--brand-dark); }

details.relocate { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
details.relocate > summary {
  cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--brand);
  list-style: none; padding: 4px 0;
}
details.relocate > summary::-webkit-details-marker { display: none; }
details.relocate > summary::before { content: '＋ '; }
details.relocate[open] > summary::before { content: '－ '; }
.relocate-form { display: grid; gap: 10px; margin-top: 8px; }
.relocate-form .grid-3 { gap: 10px 12px; }
.relocate-form .field > span { font-size: 12.5px; }
.relocate-form .btn { justify-self: start; }

@media (max-width: 760px) {
  .relocate-form .grid-3 { grid-template-columns: 1fr; }
}

/* ==================== 资料工作台（两种整理方式） ==================== */
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 4px; align-items: stretch; }
.mode-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 18px; box-shadow: var(--shadow);
  color: inherit; transition: .18s ease; position: relative;
}
.mode-card:hover {
  text-decoration: none; border-color: #7fd1c6; transform: translateY(-3px);
  box-shadow: 0 16px 36px -18px rgba(15, 118, 110, .45);
}
.mode-card.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* 标题条：客户一眼就能认出两个入口 */
.mode-box {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 2px solid var(--brand); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  transition: .18s ease;
}
.mode-card:hover .mode-box { background: linear-gradient(135deg, #ccfbf1, #d1fae5); }
.mode-no {
  flex: none; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--brand); border-radius: 999px; padding: 3px 10px;
}
.mode-box h2 { font-size: 19px; margin: 0; flex: 1; min-width: 0; color: var(--brand-dark); line-height: 1.35; }
.mode-time {
  flex: none; font-size: 12px; color: var(--brand-dark); background: #fff;
  border: 1px solid #a7f3d0; border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}

.mode-lead { color: var(--ink-2); font-size: 14px; line-height: 1.75; margin: 0 0 12px; }
.mode-list { list-style: none; padding: 0; margin: 0 0 16px; }
.mode-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.6; }
.mode-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.mode-list li.best {
  margin-top: 10px; padding: 9px 12px 9px 30px; background: #f8fafc;
  border-radius: 8px; color: var(--muted); font-size: 13px;
}
.mode-list li.best::before { content: "★"; color: var(--accent); left: 11px; }
.mode-cta {
  margin-top: auto; display: block; text-align: center;
  font-weight: 600; font-size: 14px; color: #fff; background: var(--brand);
  border-radius: 10px; padding: 11px 14px; transition: .16s ease;
}
.mode-card:hover .mode-cta, .mode-card.on .mode-cta { background: var(--brand-dark); }

.wf-bar { padding: 0 0 10px; }
.wf-bar-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted);
}
.wf-line { flex: 1; height: 6px; background: #e6ebf0; border-radius: 999px; overflow: hidden; }
.wf-line i { display: block; height: 100%; background: linear-gradient(90deg, #0f766e, #14b8a6); border-radius: 999px; transition: width .3s; }
.wf-step strong { color: var(--ink); font-size: 15px; }

.mod-group { border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 12px; }
.mod-group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.mod-group-title { font-size: 14.5px; margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; }
.mod-group-title .xsmall { font-weight: 400; }
.mod-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: 10px; color: inherit; border: 1px solid transparent;
}
.mod-row:hover { background: #f8fafc; text-decoration: none; border-color: var(--line); }
.mod-row.done { background: #fbfefd; }
.mod-no { width: 30px; flex: none; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brand-dark); font-size: 13px; }
.mod-name { flex: 1; font-size: 14px; }
.mod-go { color: #cbd5e1; font-size: 18px; }

.module-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 20px; align-items: start; }
.preview-col { position: sticky; top: 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #e9edf1; }
.preview-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.preview-frame { display: block; width: 100%; height: min(78vh, 820px); border: 0; background: #e9edf1; }

.file-list { list-style: none; padding: 0; margin: 12px 0 0; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; font-size: 13.5px; }
.file-name { flex: 1; word-break: break-all; }
.link-btn.danger { color: var(--danger); }
.upload-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upload-row input[type=file] { flex: 1; min-width: 200px; font-size: 13.5px; }

.nav-foot { display: flex; justify-content: space-between; gap: 12px; margin: 18px auto 40px; }
.mod-big-no { display: inline-block; font-size: 15px; font-weight: 600; color: #fff; background: var(--brand); border-radius: 8px; padding: 2px 9px; margin-right: 10px; vertical-align: middle; }
.guide-start .submit-row { margin-top: 10px; }

@media (max-width: 900px) {
  .mode-cards { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .preview-col { position: static; }
  .preview-frame { height: 460px; }
}

/* ==================== 基本证件材料（照片 / 学历） ==================== */
.mat-card { margin-bottom: 18px; }
.mat-card h2 { display: flex; align-items: center; gap: 10px; }

/* --- 照片 --- */
.photo-row { display: flex; gap: 20px; align-items: flex-start; margin-top: 6px; }
.photo-thumb {
  width: 118px; height: 165px; flex: none; border-radius: 10px;
  border: 1px dashed #cbd5e1; background: #f8fafc; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-empty { color: #94a3b8; font-size: 12.5px; }
.photo-side { flex: 1; min-width: 0; }
.upload-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0 6px; }
.upload-form input[type=file] { flex: 1; min-width: 190px; font-size: 13.5px; }

.chk-list { list-style: none; padding: 0; margin: 6px 0 0; }
.chk-list li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.chk-list li::before { content: "○"; position: absolute; left: 4px; color: #cbd5e1; }
.chk-list li.ok::before { content: "✓"; color: var(--brand); font-weight: 700; }
.chk-list li.warn::before { content: "!"; color: #b45309; font-weight: 700; }
.chk-list li.bad::before { content: "×"; color: var(--danger); font-weight: 700; }
.chk-list li.warn { color: #92400e; }
.chk-list li.bad { color: #991b1b; }

/* --- 学历窗口 --- */
/* 5 段学历排两列：收起时两两并排，展开的那一段横跨整行（里面才是左右两格的窗口） */
.edu-panels {
  display: grid; gap: 10px; margin: 6px 0 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.edu-panel {
  border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden;
  min-width: 0;
}
.edu-panel[open] {
  grid-column: 1 / -1;
  border-color: #b7ddd7; box-shadow: 0 6px 18px -14px rgba(15,118,110,.5);
}
.edu-panel summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 14px; background: #fbfdfd; list-style: none;
}
.edu-panel summary::-webkit-details-marker { display: none; }
.edu-panel summary::after { content: "▾"; margin-left: 4px; color: #94a3b8; transition: transform .15s; }
.edu-panel[open] summary::after { transform: rotate(180deg); }
.edu-no {
  width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--brand);
  color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.edu-name { font-weight: 600; font-size: 14.5px; }
.edu-hint { color: var(--muted); font-size: 12.5px; flex: 1; }
.edu-badge { flex: none; }

/* 展开后：左右两格（左毕业证/学历鉴定，右学位证/学位鉴定），窄屏退回一列 */
.edu-body {
  padding: 6px 14px 14px;
  display: grid; gap: 0 20px;
  grid-template-columns: minmax(0, 1fr);
}
.edu-cols .edu-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edu-col { min-width: 0; }
.edu-tip { color: var(--muted); font-size: 12px; margin: 8px 0 0; grid-column: 1 / -1; }

.slot { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed #eef2f6; }
.slot:first-child { border-top: 0; }
.edu-col > .slot:first-child { border-top: 0; }
.slot-sub { padding-left: 22px; background: #fcfdfe; }
.slot-label { width: 150px; flex: none; display: flex; align-items: center; gap: 6px; font-size: 13.5px; padding-top: 6px; }
.slot-branch { color: #cbd5e1; font-family: monospace; }
.slot-name { color: var(--ink); }
.slot-main { flex: 1; min-width: 0; }

/* 一格只有半幅宽，标签挪到上面一行，上传框占满 */
.edu-cols .slot { flex-direction: column; gap: 6px; }
.edu-cols .slot-label { width: auto; padding-top: 0; }
.edu-cols .slot-sub { padding-left: 18px; }
.edu-cols .upload-inline input[type=file] { min-width: 0; }
.edu-cols .file-chip-name { max-width: 160px; }
.upload-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upload-inline input[type=file] { flex: 1; min-width: 170px; font-size: 13px; }
.slot-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.slot-empty { color: #94a3b8; font-size: 12.5px; }
.file-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 3px 4px 3px 10px;
}
.file-chip-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.file-chip-name { color: var(--brand); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; cursor: pointer; }
a.file-chip-name:hover { color: #0b5c56; text-decoration-style: solid; }
.gen-thumb { width: 56px; height: 40px; object-fit: contain; background: #fff; border: 1px solid #e2e8f0; border-radius: 3px; cursor: zoom-in; display: block; }
.gen-thumb:hover { border-color: var(--brand); }
.gen-table input.in-txt { padding: 3px 6px; font-size: 12px; }
.gen-table td { vertical-align: middle; }
/* 补件表按内容收缩：列宽跟着输入框走，避免 width:100%/min-width 把各框撑得老远 */
.gen-table { width: auto; min-width: 0; }
.gen-table th, .gen-table td { padding: 6px 5px; white-space: nowrap; }
.file-chip-size { color: var(--muted); }
.chip-del { display: inline-flex; }
.chip-del button {
  border: 0; background: transparent; color: #94a3b8; cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0 4px;
}
.chip-del button:hover { color: var(--danger); }

.btn-sm { padding: 7px 14px; font-size: 13px; }

/* --- 读取条 --- */
.read-bar { margin-top: 14px; padding: 14px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--line); }
.read-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* --- 提示区 --- */
.edu-notes { display: grid; gap: 10px; margin-top: 14px; }
.note-box { background: #fffdf7; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 14px; }
.note-box h4 { margin: 0 0 6px; font-size: 13.5px; color: #92400e; }
/* 鉴定报告时效不合格：强制阻断，红框 */
.gate-box { background: #fef2f2; border: 1px solid #fca5a5; border-left: 4px solid #dc2626; border-radius: 0 10px 10px 0; padding: 14px 16px; margin: 14px 0 0; }
.gate-box h4 { margin: 0 0 8px; font-size: 14.5px; color: #991b1b; }
.gate-box p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.7; color: #7f1d1d; }
.gate-box .chk-list { margin: 8px 0 0; }
.gate-box .chk-list li.bad { color: #991b1b; }

/* --- 核对表 --- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.edu-table { min-width: 1120px; }
.edu-table th { white-space: nowrap; }
.edu-table td { padding: 6px 6px; }
/* 图片识别提示：列出哪些文件是 OCR 读出来的 */
.ocr-list { margin: 8px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.7; }
.ocr-list li { margin: 2px 0; }
.edu-table .in-txt {
  border: 1px solid #dbe3ea; border-radius: 6px; padding: 6px 8px;
  font-size: 13px; font-family: inherit; background: #fff; color: var(--ink);
}
.edu-table .in-txt:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
/* 何职务列：文字常较长（如「兼安全主任」），加上下行距避免挤在输入框里 */
.edu-table .in-txt.post-input { padding-top: 10px; padding-bottom: 10px; line-height: 1.5; }

/* 学历核对：一条记录分两行显示，字段自带标签，不再靠横向滚动找列 */
.edu-records { display: flex; flex-direction: column; gap: 14px; }
.edu-record { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.edu-rec-head { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.edu-f-row { display: grid; gap: 10px; }
.edu-f-row + .edu-f-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.edu-f-row.cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.edu-f-row.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.edu-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.edu-f-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.edu-f .in-txt, .edu-f .in-sel {
  width: 100%; box-sizing: border-box; border: 1px solid #dbe3ea; border-radius: 6px;
  padding: 6px 8px; font-size: 13px; font-family: inherit; background: #fff; color: var(--ink);
}
.edu-f .in-txt:focus, .edu-f .in-sel:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.edu-f .in-miss { border-color: #fca5a5; background: #fff7f7; }
.edu-f-ro .edu-f-val { font-size: 13px; color: var(--ink-2); padding: 6px 2px; white-space: nowrap; }
@media (max-width: 1100px) {
  .edu-f-row.cols-7, .edu-f-row.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .edu-f-row.cols-7, .edu-f-row.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 历史教学情况表「职务」：下拉挑常用职务；选了「其他（自己填写）」才露出下面那格输入框 */
.edu-table .post-cell { display: flex; flex-direction: column; gap: 4px; }
.edu-table .post-cell .in-txt { box-sizing: border-box; }
.edu-table .post-cell .post-pick { font-size: 12px; padding: 4px 4px; }
.edu-table .post-cell .post-txt[hidden] { display: none; }
.edu-table .in-miss { border-color: #fca5a5; background: #fff7f7; }
.edu-table .in-sel { border: 1px solid #dbe3ea; border-radius: 6px; padding: 6px 4px; font-size: 13px; }
.edu-table .cell-ro { font-size: 13px; color: var(--ink-2); white-space: nowrap; padding-left: 10px; }
.edu-table .op-cell { white-space: nowrap; text-align: center; }
.edu-table .resume-del { color: #b91c1c; border-color: #fecaca; padding: 4px 8px; }
.edu-table .resume-del:hover { background: #fef2f2; border-color: #fca5a5; }
.edu-table .award-del { color: #b91c1c; border-color: #fecaca; padding: 4px 10px; }
.edu-table .award-del:hover { background: #fef2f2; border-color: #fca5a5; }
/* 「能否提供资料和盖章」选「不能」的行：明细置灰，只留起止/单位/职务 */
.edu-table tr.row-off td { background: #fbfbfc; }
.edu-table tr.row-off .in-txt,
.edu-table tr.row-off .in-sel { background: #f4f5f7; color: var(--ink-2); }
.edu-table tr.row-off .in-txt:disabled { cursor: not-allowed; }
/* 历史教学情况表列多，横向滚动时把序号列钉住 */
.edu-table.teach-table { min-width: 1560px; }
.edu-table.teach-table th:first-child,
.edu-table.teach-table td:first-child {
  position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line);
}
.edu-table.teach-table th:first-child { background: #f8fafc; }
.edu-table.teach-table td:first-child { background: #fff; }
.edu-table.teach-table tr.row-off td:first-child { background: #fbfbfc; }

@media (max-width: 980px) {
  .edu-panels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .photo-row { flex-direction: column; }
  .slot { flex-direction: column; gap: 4px; }
  .slot-label { width: auto; padding-top: 0; }
  .slot-sub { padding-left: 14px; }
  .edu-hint { display: none; }
  .edu-cols .edu-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* 一、基本证件材料：子区块 */
.mat-sub { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.mat-sub:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.mat-h {
  display: flex; align-items: center; gap: 9px; font-size: 15.5px;
  margin: 0 0 8px; font-weight: 600;
}
.mat-no {
  width: 20px; height: 20px; flex: none; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.mat-h .badge { font-weight: 400; }

/* ---------- 教师资格证：读到的三个字段（可改，改完回写总表） ---------- */
.tcert-result {
  margin-top: 16px; padding: 14px; border-radius: 10px;
  background: #f8fafc; border: 1px solid var(--line);
}
.tcert-result-h {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.tcert-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tcert-fields .field-tip { font-size: 11.5px; line-height: 1.5; }
.tcert-in { font-size: 14px; }
.tcert-in[type="date"] { padding: 9px 10px; }
@media (max-width: 860px) {
  .tcert-fields { grid-template-columns: 1fr; }
}

/* ---------- 登录 / 手机找回密码 ---------- */
.login-aux {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 13px; margin: -4px 0 0;
}
.login-aux a { font-weight: 500; }
.inline-check { align-items: center; font-size: 13px; color: var(--ink-2); }
.inline-check input { width: 15px; height: 15px; margin: 0; }
.forgot-steps {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 760px; margin: 0 auto 16px; font-size: 13px;
}
.fs-item { padding: 6px 13px; border-radius: 999px; background: #eef2f6; color: var(--muted); }
.fs-item.on { background: var(--brand); color: #fff; font-weight: 600; }
.fs-item.done { background: var(--brand-soft); color: var(--brand-dark); }
.fs-sep { color: #94a3b8; }
.forgot-foot { max-width: 760px; margin: 16px auto 0; }

/* ---------- 材料归属核验 ---------- */
.owner-guard { max-width: 1120px; margin: 0 auto 18px; border-left: 4px solid var(--ok); }
.owner-guard-warn { border-left-color: var(--danger); background: #fff7f7; }
.owner-guard-ok { background: #f7fdf9; }
.owner-guard h2 { margin-top: 0; font-size: 17px; }
.owner-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; }
.owner-list li { display: grid; grid-template-columns: minmax(160px, 1fr) 140px 2fr; gap: 10px; align-items: baseline; }
.owner-list .mono { word-break: break-all; }
.stat-danger strong { color: var(--danger); }
@media (max-width: 720px) {
  .owner-list li { grid-template-columns: 1fr; gap: 2px; }
  .forgot-steps { flex-wrap: wrap; }
}

/* ---------- 290 单位材料（020-05 下面那一栏） ---------- */
.um-anchor { display: block; height: 0; scroll-margin-top: 80px; }
.um-card { border-left: 3px solid var(--brand); }
.um-src { margin: 2px 0 0; line-height: 1.5; word-break: break-all; }
.um-info {
  border: 1px solid var(--line); border-radius: 9px; background: #f8fafc;
  padding: 10px 12px; margin: 10px 0 0;
}
.um-info-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.um-info-head b { font-size: 13.5px; color: var(--brand-dark); }
.um-info-head .xsmall { flex: 1; min-width: 220px; line-height: 1.55; }
.um-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 7px 10px; }
.um-f { display: grid; gap: 3px; font-size: 12px; color: var(--ink-2); }
.um-f > span { color: var(--muted); }
.um-f input {
  padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 13px; font-family: inherit; color: var(--ink); background: #fff;
  width: 100%; box-sizing: border-box;
}
.um-f input:focus { outline: none; border-color: var(--brand); }
.um-doc { margin-top: 12px; }
.um-preview { max-height: 520px; }
.um-preview[contenteditable="true"] { background: #fffef8; }
.um-preview [data-pi0] { cursor: text; }
.um-preview[contenteditable="true"] [data-pi],
.um-preview[contenteditable="true"] [data-pi0] { outline: 1px dashed #cbd5e1; border-radius: 3px; }
.um-preview[contenteditable="true"] [data-pi]:focus,
.um-preview[contenteditable="true"] [data-pi0]:focus { outline: 2px solid var(--brand); background: #f0fdfa; }
.um-slots { margin-top: 8px; }
.um-card .dp-slot { min-height: 132px; }
@media (max-width: 720px) {
  .um-grid { grid-template-columns: 1fr; }
}
.um-f.um-judges { grid-column: 1 / -1; }
.um-judge-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.um-judge-row input { text-align: center; padding: 4px 4px; }
@media (max-width: 720px) {
  .um-judge-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 140 述职报告（290 单位材料下面那一栏） ---------- */
.dr-card { border-left-color: #7c3aed; }
.um-ro { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.dr-slot { max-width: 460px; }
.dr-preview { max-height: 560px; }
