/* ========== 三金评优系统 · 样式表 ========== */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --ink: #23262b;
  --ink-soft: #525860;
  --muted: #8b9099;
  --line: #e6e8eb;
  --navy: #2e3238;
  --navy-2: #3e434b;
  --gold: #c0392b;
  --gold-dark: #a32a20;
  --gold-soft: #fdeceb;
  --green: #3f8f6b;
  --green-soft: #eaf5f0;
  --red: #d64545;
  --red-soft: #fdebeb;
  --blue: #5b7a9d;
  --blue-soft: #eef2f6;
  --purple: #a35656;
  --shadow: 0 2px 12px rgba(46, 50, 56, .06);
  --shadow-lg: 0 18px 50px rgba(46, 50, 56, .18);
  --radius: 12px;
  --sidebar-w: 236px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cdd0d5; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ========== 登录页 ========== */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 18% 20%, #5a2b2b 0%, #2e3238 45%, #23262b 100%);
  padding: 32px; position: relative; overflow: hidden;
}
.login-wrap::before, .login-wrap::after {
  content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(192,57,43,.16);
}
.login-wrap::before { width: 620px; height: 620px; right: -180px; top: -220px; }
.login-wrap::after { width: 420px; height: 420px; left: -140px; bottom: -180px; }
.login-card {
  position: relative; z-index: 2; width: 920px; max-width: 100%; min-height: 540px;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.login-brand {
  background: linear-gradient(155deg, #3d2b2d 0%, #2e3238 70%);
  color: #fff; padding: 54px 46px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.login-brand::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,.25), transparent 70%);
  right: -110px; bottom: -90px;
}
.brand-mark {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e0675b, #b02a1e); color: #fff; font-weight: 800; font-size: 22px;
  box-shadow: 0 8px 22px rgba(192,57,43,.35); margin-bottom: 40px;
}
.login-brand h1 { font-size: 34px; letter-spacing: 4px; margin: 0 0 12px; font-weight: 700; }
.login-brand .en { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.42); text-transform: uppercase; }
.login-brand .desc { margin-top: 26px; color: rgba(255,255,255,.65); line-height: 1.9; font-size: 13px; max-width: 300px; }
.brand-tags { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.brand-tags span {
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px;
  font-size: 11px; color: rgba(255,255,255,.7);
}
.login-form { padding: 54px 46px; display: flex; flex-direction: column; justify-content: center; }
.login-form h2 { margin: 0 0 6px; font-size: 24px; }
.login-form .sub { color: var(--muted); margin: 0 0 30px; font-size: 13px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: #fbfcfe; color: var(--ink); outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(198,155,60,.12);
}
.field textarea { resize: vertical; min-height: 88px; }
.btn {
  border: none; border-radius: 9px; padding: 11px 18px; cursor: pointer; font-weight: 600;
  transition: .18s; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: #eef1f6; color: var(--ink-soft); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #d64a3c, #ad2b1f); color: #fff; box-shadow: 0 6px 16px rgba(192,57,43,.25); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(192,57,43,.34); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); background: #fffdf6; }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: 7px; }
.btn-block { width: 100%; }
.demo-title { margin: 26px 0 12px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.demo-title::before, .demo-title::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.demo-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 11px 10px;
  cursor: pointer; text-align: left; transition: .18s; display: flex; align-items: center; gap: 9px;
}
.demo-btn:hover { border-color: var(--gold); background: #fffdf7; transform: translateY(-1px); }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.demo-btn b { display: block; font-size: 12px; }
.demo-btn small { color: var(--muted); font-size: 10px; }
.login-error { color: var(--red); font-size: 12px; min-height: 18px; margin-top: 8px; }

/* ========== 应用外壳 ========== */
.app { min-height: 100vh; display: flex; }
.sidebar {
  width: var(--sidebar-w); background: var(--navy); color: #fff; position: fixed;
  inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 20;
}
.side-logo {
  height: 76px; display: flex; align-items: center; gap: 12px; padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.side-logo .mark {
  width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg,#e0675b,#b02a1e);
  color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.side-logo b { font-size: 16px; letter-spacing: 2px; }
.side-logo small { display: block; font-size: 9px; color: rgba(255,255,255,.35); letter-spacing: 2px; }
.side-nav { padding: 18px 12px; flex: 1; overflow-y: auto; }
.nav-label { font-size: 10px; color: rgba(255,255,255,.3); letter-spacing: 1px; padding: 12px 12px 8px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 9px;
  color: rgba(255,255,255,.67); cursor: pointer; margin-bottom: 3px; transition: .16s; font-size: 13px;
}
.nav-item svg { width: 17px; height: 17px; flex: none; opacity: .85; }
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(192,57,43,.24), rgba(192,57,43,.06)); color: #ffb3a8; font-weight: 600; }
.nav-item.active svg { opacity: 1; }
.nav-item .pill { margin-left: auto; background: var(--gold); color: var(--navy); font-size: 10px; padding: 1px 7px; border-radius: 10px; font-weight: 700; }
.side-foot { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; color: rgba(255,255,255,.3); }
.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; }
.topbar {
  height: 76px; background: #fff; border-bottom: 1px solid var(--line); display: flex;
  align-items: center; justify-content: space-between; padding: 0 30px; position: sticky; top: 0; z-index: 10;
}
.topbar .crumb { color: var(--muted); font-size: 12px; }
.topbar h3 { margin: 3px 0 0; font-size: 17px; }
.top-right { display: flex; align-items: center; gap: 16px; }
.cycle-chip {
  background: var(--gold-soft); color: var(--gold-dark); padding: 7px 13px; border-radius: 20px;
  font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 7px;
}
.cycle-chip i { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.user-box { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.avatar {
  width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg,#4a4f58,#2e3238);
  color: #f2b5ae; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.user-box b { display: block; font-size: 13px; }
.user-box small { color: var(--muted); font-size: 11px; }
.logout { color: var(--muted); font-size: 12px; border-left: 1px solid var(--line); padding-left: 14px; cursor: pointer; }
.logout:hover { color: var(--red); }
.content { padding: 26px 30px 46px; max-width: 1600px; margin: 0 auto; }

/* ========== 通用组件 ========== */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.page-head h2 { margin: 0 0 6px; font-size: 21px; }
.page-head p { margin: 0; color: var(--muted); font-size: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.card-head b { font-size: 14px; }
.card-head small { color: var(--muted); font-size: 11px; margin-left: 8px; font-weight: 400; }
.card-body { padding: 20px; }
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g-2-1 { grid-template-columns: 2fr 1fr; }
.g-1-2 { grid-template-columns: 1fr 2fr; }
.mt18 { margin-top: 18px; }
.mb18 { margin-bottom: 18px; }

.stat-card { padding: 20px 22px; position: relative; overflow: hidden; }
.stat-card .label { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.stat-card .value { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.stat-card .value small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.stat-card .foot { margin-top: 14px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat-card .foot em { font-style: normal; color: var(--green); font-weight: 600; }
.stat-card .icon {
  position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.icon.gold { background: var(--gold-soft); color: var(--gold-dark); }
.icon.blue { background: var(--blue-soft); color: var(--blue); }
.icon.green { background: var(--green-soft); color: var(--green); }
.icon.purple { background: #f0edfb; color: var(--purple); }
.icon.gray { background: #f1f3f6; color: #8a95a7; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.gold { background: var(--gold-soft); color: var(--gold-dark); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.gray { background: #f0f2f6; color: var(--muted); }
.badge.purple { background: #f0edfb; color: var(--purple); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; padding: 12px 14px; background: #fafbfd; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid #f0f2f6; font-size: 13px; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fcfdff; }
.table-wrap { overflow-x: auto; }
.cell-name { font-weight: 600; }
.cell-sub { color: var(--muted); font-size: 11px; margin-top: 2px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.link-btn { border: none; background: none; color: var(--blue); cursor: pointer; font-size: 12px; padding: 3px 4px; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--red); }
.link-btn.gold { color: var(--gold-dark); }
.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty .ico { font-size: 34px; opacity: .35; margin-bottom: 10px; }

/* 进度条 / 图表 */
.progress { height: 7px; background: #eef1f6; border-radius: 6px; overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg,#e0675b,#b02a1e); transition: width .5s; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.bar-row .bar-label { width: 96px; font-size: 12px; color: var(--ink-soft); flex: none; }
.bar-row .bar-track { flex: 1; height: 9px; background: #f0f2f6; border-radius: 6px; overflow: hidden; }
.bar-row .bar-fill { height: 100%; border-radius: 6px; transition: width .6s; }
.bar-row .bar-val { width: 38px; text-align: right; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.donut { width: 148px; height: 148px; border-radius: 50%; position: relative; flex: none; }
.donut::after { content: ''; position: absolute; inset: 26px; background: #fff; border-radius: 50%; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.donut-center b { font-size: 22px; }
.donut-center small { color: var(--muted); font-size: 11px; }
.legend { flex: 1; min-width: 130px; }
.legend-item { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-size: 12px; }
.legend-item i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend-item span { color: var(--muted); flex: 1; }
.legend-item b { font-size: 13px; }

/* 周期时间轴 */
.timeline { display: flex; gap: 0; margin-top: 8px; }
.tl-step { flex: 1; position: relative; text-align: center; font-size: 11px; color: var(--muted); }
.tl-step::before { content: ''; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.tl-step:first-child::before { display: none; }
.tl-step.done::before { background: var(--gold); }
.tl-step .tl-dot {
  width: 24px; height: 24px; border-radius: 50%; background: #eef1f6; color: var(--muted);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; position: relative; z-index: 1;
  font-size: 11px; font-weight: 700;
}
.tl-step.done .tl-dot { background: var(--gold); color: #fff; }
.tl-step.current .tl-dot { background: var(--gold); color: #fff; box-shadow: 0 0 0 5px var(--gold-soft); }
.tl-step.current { color: var(--gold-dark); font-weight: 700; }

/* 榜单 */
.rank-row { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-bottom: 1px solid #f0f2f6; transition: .16s; }
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: #fcfdff; }
.rank-num {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; background: #f2f4f8; color: var(--muted); flex: none;
}
.rank-num.top1 { background: linear-gradient(135deg,#f0d488,#c99a2c); color: #fff; }
.rank-num.top2 { background: linear-gradient(135deg,#d4dae4,#9aa8bc); color: #fff; }
.rank-num.top3 { background: linear-gradient(135deg,#e3b98f,#b4784b); color: #fff; }
.rank-main { flex: 1; min-width: 0; }
.rank-main b { font-size: 14px; }
.rank-meta { color: var(--muted); font-size: 11px; margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }
.rank-score { text-align: right; flex: none; }
.rank-score b { font-size: 22px; font-weight: 700; color: var(--gold-dark); }
.rank-score small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.podium-item { padding: 20px 16px; text-align: center; border-radius: 12px; position: relative; overflow: hidden; }
.podium-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.podium-item.p1 { background: linear-gradient(160deg,#fff6f5,#fff); border: 1px solid #f2d5d1; }
.podium-item.p1::before { background: linear-gradient(90deg,#e0675b,#b02a1e); }
.podium-item.p2 { background: linear-gradient(160deg,#fafbfc,#fff); border: 1px solid #e2e5e9; }
.podium-item.p2::before { background: #9aa2ac; }
.podium-item.p3 { background: linear-gradient(160deg,#fffaf8,#fff); border: 1px solid #efded8; }
.podium-item.p3::before { background: #b87360; }
.podium-item .medal {
  width: 32px; height: 32px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700; color: #fff;
}
.podium-item.p1 .medal { background: linear-gradient(135deg,#e0675b,#b02a1e); }
.podium-item.p2 .medal { background: linear-gradient(135deg,#c8cdd4,#8e97a2); }
.podium-item.p3 .medal { background: linear-gradient(135deg,#dba891,#b87360); }
.podium-item b { display: block; margin: 8px 0 3px; font-size: 15px; }
.podium-item small { color: var(--muted); font-size: 11px; }
.podium-item .score { color: var(--gold-dark); font-weight: 700; font-size: 18px; margin-top: 8px; }

/* 奖项卡片与照片 */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.award-card { display: flex; gap: 12px; padding: 15px; align-items: flex-start; }
.award-card .award-no { width: 26px; height: 26px; flex: none; border-radius: 7px; background: var(--gold-soft); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.award-main { flex: 1; min-width: 0; }
.award-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.award-title b { font-size: 13px; }
.award-main p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 7px 0; min-height: 34px; }
.award-foot { font-size: 10px; color: var(--gold-dark); }
.photo-upload { display: flex; gap: 12px; align-items: flex-start; }
.photo-drop { width: 160px; height: 110px; border: 1.5px dashed #d6d9de; border-radius: 9px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; background: #fafbfc; transition: .2s; }
.photo-drop:hover { border-color: var(--gold); background: #fff7f6; }
.photo-placeholder { text-align: center; color: var(--muted); }
.photo-placeholder b { display: block; font-size: 26px; color: var(--gold); line-height: 1; }
.photo-placeholder span { display: block; font-size: 11px; margin-top: 6px; color: var(--ink-soft); }
.photo-placeholder small { display: block; font-size: 9px; margin-top: 4px; }
.photo-preview { width: 100%; height: 100%; object-fit: cover; }
.nominee-photo { width: 90px; height: 90px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); flex: none; }
.rank-photo { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
@media (max-width: 1180px) { .award-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .award-grid { grid-template-columns: 1fr; } }

.char-count { text-align: right; font-size: 11px; color: var(--muted); margin-top: 4px; }

/* 提报人工作台 */
.draft-add-bar { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; padding: 16px; background: #fafbfc; border: 1px dashed #d8dde5; border-radius: 10px; margin-bottom: 18px; }
.draft-add-bar .field { flex: 1; min-width: 200px; }
.draft-add-bar .field label { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: block; font-weight: 600; }
.draft-add-bar select { width: 100%; }
.group-label { font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; padding-left: 2px; display: flex; align-items: center; gap: 8px; }
.group-label::before { content: ''; width: 3px; height: 13px; background: var(--red); border-radius: 2px; }
.group-label span { color: var(--muted); font-weight: 500; }
.nominee-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 9px; background: #fff; }
.nominee-item:hover { border-color: #e4b4ae; }
.nominee-item .ni-no { width: 24px; height: 24px; flex: none; border-radius: 7px; background: var(--red-soft); color: var(--red-dark); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.nominee-item .ni-main { flex: 1; min-width: 0; }
.nominee-item .ni-title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nominee-item .ni-title b { font-size: 14px; color: var(--ink); }
.nominee-item .ni-desc { font-size: 12px; color: var(--ink-soft); margin-top: 6px; line-height: 1.65; word-break: break-all; }
.nominee-item .ni-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin-top: 7px; }
.nominee-item .ni-actions { display: flex; gap: 8px; flex: none; }
.submit-summary { border: 1px solid #e8b9b3; border-radius: 12px; padding: 18px; margin-bottom: 18px; background: linear-gradient(180deg, #fff8f7, #fff); }
.submit-summary .card-head { padding: 0 0 14px 0; border-bottom: 1px solid #f1d9d6; }
.summary-grid { display: grid; grid-template-columns: 140px 1fr; gap: 12px; margin: 16px 0; }
.summary-cell { background: #fff; border: 1px solid #f1dedb; border-radius: 9px; padding: 12px 14px; }
.summary-cell span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.summary-cell b { font-size: 14px; color: var(--ink); }
.summary-list { background: #fff; border: 1px solid #f1dedb; border-radius: 9px; overflow: hidden; }
.summary-list-head { padding: 10px 14px; background: #fdf1ef; font-size: 12px; font-weight: 700; color: var(--red-dark); }
.summary-list-row { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid #f6ecea; font-size: 12px; }
.summary-list-row .slr-no { width: 20px; color: var(--muted); flex: none; }
.summary-list-row .slr-name { font-weight: 700; color: var(--ink); min-width: 72px; flex: none; }
.summary-list-row .slr-award { color: var(--red-dark); min-width: 90px; flex: none; }
.summary-list-row .slr-content { color: var(--ink-soft); flex: 1; word-break: break-all; }
.summary-foot { margin-top: 16px; display: flex; justify-content: flex-end; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
@media (max-width: 860px) { .draft-add-bar .field { min-width: 100%; } .summary-grid { grid-template-columns: 1fr; } .summary-list-row { flex-wrap: wrap; } }

/* 投票评选 */
.vote-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.vote-item { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: #fff; transition: all .15s; }
.vote-item:hover { border-color: #e0a9a2; }
.vote-item.checked { border-color: var(--red); background: var(--red-soft); }
.vote-item input { display: none; }
.vote-item .vote-box { width: 18px; height: 18px; flex: none; border: 2px solid #c9ccd1; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.vote-item.checked .vote-box { background: var(--red); border-color: var(--red); }
.vote-item .vote-name { font-size: 13px; font-weight: 600; color: var(--ink); flex: 1; }
.vote-item small { font-size: 11px; color: var(--muted); }
.vote-foot { margin-top: 16px; display: flex; justify-content: flex-end; }
@media (max-width: 1180px) { .vote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .vote-grid { grid-template-columns: 1fr; } }

/* 打分卡 */
.score-card { border: 1px solid var(--line); border-radius: 11px; padding: 18px; margin-bottom: 14px; background: #fff; }
.score-card:hover { border-color: #d8dfeb; }
.score-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.score-dim { margin-top: 16px; }
.score-dim-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; }
.score-dim-top span { color: var(--ink-soft); font-weight: 600; }
.score-dim-top em { font-style: normal; color: var(--muted); font-size: 11px; }
input[type=range] { width: 100%; accent-color: var(--gold); cursor: pointer; }
.score-input {
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; width: 100%;
  outline: none; transition: .2s;
}
.score-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,155,60,.1); }
.score-total { text-align: right; font-size: 12px; color: var(--muted); padding-top: 6px; }
.score-total b { font-size: 18px; color: var(--gold-dark); }

/* 模态框 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(35,38,43,.55); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(2px);
}
.modal {
  background: #fff; border-radius: 14px; width: 560px; max-width: 100%; max-height: 90vh;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .2s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal.wide { width: 760px; }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-head b { font-size: 16px; }
.modal-head .x { cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; }
.modal-head .x:hover { color: var(--red); }
.modal-body { padding: 22px 24px; overflow-y: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* 提示 */
#toast-root { position: fixed; bottom: 22px; right: 22px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 9px;
  padding: 13px 18px; box-shadow: var(--shadow-lg); font-size: 13px; min-width: 220px;
  animation: slideIn .25s ease;
}
.toast.error { border-left-color: var(--red); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { padding: 11px 18px; cursor: pointer; font-size: 13px; color: var(--muted); border-bottom: 2px solid transparent; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--gold-dark); border-bottom-color: var(--gold); font-weight: 600; }
.note {
  background: #fff7f6; border: 1px solid #f2d5d1; color: #a32a20; padding: 12px 16px;
  border-radius: 9px; font-size: 12px; line-height: 1.7; margin-bottom: 18px;
}

@media (max-width: 1180px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-2-1, .g-1-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --sidebar-w: 66px; }
  .side-logo { padding: 0 16px; }
  .side-logo b, .side-logo small, .nav-label, .nav-item span, .nav-item .pill, .side-foot { display: none; }
  .nav-item { justify-content: center; padding: 13px; }
  .content { padding: 20px 16px; }
  .login-card { grid-template-columns: 1fr; }
  .login-brand { padding: 30px; }
  .login-brand h1 { font-size: 26px; }
  .g3, .g2, .form-grid { grid-template-columns: 1fr; }
}

/* 同一奖项多人连续提报 */
.batch-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #fff; }
.batch-row-head { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); }
.batch-row-head b { font-size: 13px; color: var(--ink); }
.batch-row-head .link-btn { margin-left: auto; }
.batch-row-no { width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--red-soft); color: var(--red-dark); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.batch-row .photo-upload { max-width: 260px; }
.batch-row .char-count { text-align: right; }

/* 评审人可见：各奖项汇总 */
.sum-award { border: 1px solid var(--line); border-left: 4px solid var(--award-color, var(--red)); border-radius: 11px; padding: 15px 16px; background: #fff; }
.sum-award-top { display: flex; align-items: center; gap: 9px; }
.sum-award-top b { font-size: 14px; color: var(--ink); }
.sum-award-no { width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--red-soft); color: var(--red-dark); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.sum-award-meta { display: flex; gap: 6px; margin-top: 9px; }
.sum-award-nums { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.sum-award-nums b { color: var(--ink); font-size: 15px; margin-left: 3px; }
.sum-award-progress { height: 5px; border-radius: 5px; background: #f0f2f6; margin-top: 12px; overflow: hidden; }
.sum-award-progress i { display: block; height: 100%; background: var(--award-color, var(--red)); border-radius: 5px; }
.sum-award-foot { font-size: 11px; color: var(--muted); margin-top: 9px; }
@media (max-width: 1180px) { .award-grid { grid-template-columns: repeat(2, 1fr); } }

/* 提报人自评 */
.self-grid { display: grid; gap: 8px; margin-top: 8px; }
.self-row { display: grid; grid-template-columns: minmax(180px, 2fr) 86px minmax(180px, 2fr); gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfc; }
.self-name b { font-size: 12px; color: var(--ink); }
.self-name small { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.self-check { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.self-check em { color: #b02a1e; font-style: normal; font-size: 10px; }
.self-row input[type="number"], .self-row input[type="text"] { width: 100%; padding: 8px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12px; }
@media (max-width: 860px) { .self-row { grid-template-columns: 1fr; } }

/* ---------- 评审分类分组 ---------- */
.vote-group { margin-bottom: 24px; }
.vote-group-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(90deg, #f7f2f1, #fff); border-left: 4px solid var(--red); border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.vote-group-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.vote-group-head b { display: block; font-size: 15px; color: var(--ink); }
.vote-group-head small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.vote-group-body { padding: 14px 16px 0; background: #fafbfc; border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px; }

/* ---------- 年度/季度独立入口与维度计分 ---------- */
.award-btn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.award-add-btn { justify-content: space-between; text-align: left; flex-wrap: wrap; }
.award-add-btn span { color: var(--muted); font-size: 11px; }
.static-field { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; color: var(--ink); font-size: 13px; min-height: 40px; }
.self-score-cell { display: grid; gap: 3px; }
.self-score-cell small { font-size: 10px; color: var(--muted); text-align: center; }
.self-total { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #f7f2f1; color: var(--ink); font-size: 13px; text-align: right; }
.self-total b { color: #a32a20; font-size: 18px; margin: 0 4px; }
