:root{
  --ink:#0E1B2C; --navy:#0A2A4A; --blue:#1B6FD6; --blue-l:#E8F1FD; --teal:#0FB3A3;
  --bg:#F2F5FA; --card:#fff; --line:#E3EAF4; --muted:#6C7F98; --soft:#F7FAFE;
  --ok:#12A150; --err:#C0504A; --warn:#B5761A;
  --shadow:0 18px 50px -22px rgba(11,43,78,.35);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--ink);background:var(--bg);min-height:100vh;font-size:14px;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

/* ---------- 品牌 ---------- */
.brand{display:flex;align-items:center;gap:11px}
.mark{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:none;
  background:#fff;overflow:hidden;
  box-shadow:0 6px 16px -9px rgba(10,42,74,.55);
  border:1px solid rgba(10,42,74,.08);
}
.mark svg{width:21px;height:21px}
.mark .logoimg{width:100%;height:100%;display:block;object-fit:contain}
.brand b{font-size:15px;letter-spacing:.5px;display:block;line-height:1.2}
.brand em{font-style:normal;font-size:9.5px;letter-spacing:2.4px;color:var(--muted);text-transform:uppercase}

/* ---------- 员工端骨架 ---------- */
.app{display:flex;min-height:100vh}
.side{
  width:212px;flex:none;background:linear-gradient(180deg,#082440,#0B2E51 60%,#0A2744);
  color:#B9C9DD;padding:18px 12px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh
}
.side .brand{margin:0 6px 20px}
.side .brand b{color:#fff;font-size:14px}
.side .brand em{color:rgba(255,255,255,.42);font-size:9px}
.nav-t{font-size:10px;letter-spacing:2px;color:rgba(255,255,255,.3);margin:16px 12px 5px}
.nav-i{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:9px;font-size:13px;color:#B9C9DD;transition:.18s}
.nav-i:hover{background:rgba(255,255,255,.07);color:#fff}
.nav-i.on{background:linear-gradient(90deg,rgba(27,111,214,.95),rgba(27,111,214,.55));color:#fff;box-shadow:0 8px 18px -10px rgba(0,0,0,.7)}
.nav-i .ico{width:15px;text-align:center;font-size:12px;opacity:.9}
.side-foot{margin-top:auto;padding:10px 12px;font-size:10.5px;color:rgba(255,255,255,.3);border-top:1px solid rgba(255,255,255,.08)}

.main{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{
  height:58px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;
  padding:0 24px;gap:14px;position:sticky;top:0;z-index:20
}
.crumb{color:#8EA0B8;font-size:12.5px}
.crumb b{color:#2B405C;font-weight:600}
.topbar .right{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:12.5px;color:#33465E}
.role{font-size:11px;padding:3px 9px;border-radius:99px;background:#FFF6E8;color:#B0741A;border:1px solid #F3E2C6}
.linklike{background:none;border:0;color:#7A8CA5;font-size:12.5px;cursor:pointer;padding:4px 6px;border-radius:6px}
.linklike:hover{background:#F1F5FB;color:var(--blue)}

.content{padding:22px 24px 48px;flex:1;max-width:1400px;width:100%}

/* ---------- 通用组件 ---------- */
.page-h{display:flex;align-items:flex-end;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.page-h h1{font-size:20px;letter-spacing:.2px}
.page-h p{font-size:12.5px;color:var(--muted);margin-top:5px}
.page-h .actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}

.btn{
  border:1px solid var(--line);background:#fff;color:#33465E;padding:8px 14px;border-radius:9px;
  font-size:12.5px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:.18s;white-space:nowrap
}
.btn:hover{border-color:#C9D8EA;box-shadow:0 4px 12px -8px rgba(20,50,90,.4)}
.btn.primary{background:linear-gradient(135deg,#175BB0,#1B6FD6);color:#fff;border-color:transparent;box-shadow:0 10px 20px -12px rgba(27,111,214,.9)}
.btn.primary:hover{filter:brightness(1.05)}
.btn.ghost{background:#F5F9FE;border-color:#E1EAF6}
.btn.danger{color:var(--err);border-color:#F2D9D7;background:#FFF8F7}
.btn.sm{padding:5px 10px;font-size:11.5px;border-radius:7px}

.alert{border-radius:10px;padding:10px 14px;font-size:12.5px;margin-bottom:14px;display:flex;gap:8px;align-items:center}
.alert.ok{background:#EBF9F1;color:#0C7A45;border:1px solid #C9EDD9}
.alert.err{background:#FEF3F2;color:#B0453E;border:1px solid #F5D6D3}

.panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.panel-h{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #EFF4FA}
.panel-h h2{font-size:13.5px;letter-spacing:.2px}
.panel-h .cnt{font-size:11px;color:#8EA0B8;background:#F3F7FC;padding:2px 8px;border-radius:99px}
.panel-h .right{margin-left:auto;display:flex;gap:8px;align-items:center}
.panel-b{padding:16px 18px}

table.grid{width:100%;border-collapse:collapse;font-size:12.8px}
table.grid th{text-align:left;padding:10px 14px;background:#FAFCFE;color:#7A8CA5;font-weight:500;font-size:11.5px;letter-spacing:.4px;border-bottom:1px solid #EFF4FA;white-space:nowrap}
table.grid td{padding:11px 14px;border-bottom:1px solid #F3F7FB;color:#33465E;vertical-align:middle}
table.grid tr:last-child td{border-bottom:0}
table.grid tbody tr:hover td{background:#FBFDFF}

.nm{display:flex;align-items:center;gap:9px}
.av{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:11.5px;font-weight:600;background:#EDF4FD;color:#3E77B8;flex:none}
.nm small{display:block;font-size:10.5px;color:#9AAABF;margin-top:2px}
.seq{width:24px;height:24px;border-radius:7px;background:#F1F5FB;color:#5A759A;display:grid;place-items:center;font-size:11.5px;font-weight:600}
.seq.top{background:linear-gradient(135deg,#1B6FD6,#2E8BE0);color:#fff}
.acc{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:#2F4A69;background:#F5F8FC;padding:3px 8px;border-radius:6px;border:1px solid #EAF0F7}
.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:3px 9px;border-radius:99px;background:#EEF4FC;color:#4C79AE;white-space:nowrap}
.pill.ok{background:#E8F8EF;color:#0F8A4C}
.pill.wait{background:#FFF4E5;color:#B5761A}
.pill.gray{background:#F1F5FB;color:#7A8CA5}
.pill.dot:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.file{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:3px 8px;border-radius:99px}
.file.yes{background:#EAF7F1;color:#12855A}
.file.no{background:#FEF3F2;color:#C0504A}
.ops{display:flex;gap:10px;font-size:11.5px;color:#5A7FAE;white-space:nowrap;align-items:center}
.ops a,.ops button{cursor:pointer}
.ops a:hover,.ops button:hover{color:var(--blue);text-decoration:underline}
.ops form{display:inline}
.mini-link{background:none;border:0;padding:0;font:inherit;font-size:10.5px;color:#9AAABF;cursor:pointer;text-decoration:underline}
.mini-link:hover{color:#C0504A}
.ops button{background:none;border:0;padding:0;font-size:11.5px;color:#5A7FAE;cursor:pointer;font-family:inherit}
.ops button:hover{color:var(--blue);text-decoration:underline}
.ops button[disabled]{color:#C8D3E0;cursor:not-allowed;text-decoration:none}
.field .check{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:11.5px;color:#6C7F98;cursor:pointer}
.field .check input{width:auto;margin:0}

.totals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.stat .k{font-size:11px;color:var(--muted);letter-spacing:.4px}
.stat .v{font-size:22px;font-weight:700;margin-top:6px}
.stat .v small{font-size:11px;font-weight:500;color:#9AAABF;margin-left:4px}
.stat.a .v{color:#175BB0}.stat.b .v{color:#0A9C8D}.stat.c .v{color:#B5761A}.stat.d .v{color:#7A5AB8}

/* 表单 */
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.field label{display:block;font-size:11.5px;color:#7A8CA5;margin-bottom:6px;letter-spacing:.3px}
.field input,.field select,.field textarea{
  width:100%;border:1px solid var(--line);border-radius:9px;padding:9px 11px;font-size:13px;
  color:#22374F;background:#FCFDFF;outline:none;font-family:inherit;transition:.15s
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#9CC4EF;box-shadow:0 0 0 3px #EAF4FF;background:#fff}
.field textarea{resize:vertical;line-height:1.7}
.field.full{grid-column:1/-1}
.hint{font-size:11px;color:#9AAABF;margin-top:5px;line-height:1.6}
.form-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}

/* 登录 */
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;
  background:radial-gradient(1000px 500px at 15% 0%,#E4EEFC 0%,transparent 60%),
             radial-gradient(900px 460px at 100% 10%,#E8F7F4 0%,transparent 55%),#F2F5FA}
.login-card{width:100%;max-width:410px;background:#fff;border-radius:18px;box-shadow:var(--shadow);border:1px solid #E6EDF7;overflow:hidden}
.login-head{padding:28px 30px 22px;background:linear-gradient(125deg,#08233F,#0F3E6E 55%,#1B6FD6);color:#fff}
.login-head .brand b{color:#fff;font-size:16px}
.login-head .brand em{color:rgba(255,255,255,.55)}
.login-head p{font-size:12px;color:rgba(255,255,255,.62);margin-top:14px;letter-spacing:.5px}
.login-body{padding:24px 30px 28px}
.login-body .field{margin-bottom:14px}
.login-body .btn{width:100%;justify-content:center;padding:11px}
.login-foot{font-size:11px;color:#9AAABF;text-align:center;padding:0 30px 24px;line-height:1.8}

/* 候选人通知页 */
.notice-body{background:radial-gradient(1100px 520px at 8% -6%,#E3EDFB 0%,transparent 58%),
  radial-gradient(900px 480px at 100% 0%,#E9F7F4 0%,transparent 55%),#EEF2F8;min-height:100vh}
.n-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 34px;
  background:rgba(255,255,255,.88);border-bottom:1px solid var(--line);backdrop-filter:blur(8px);position:sticky;top:0;z-index:10}
.n-head .brand b{font-size:14.5px;color:var(--navy)}
.n-head .brand em{font-size:9px}
.n-user{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--muted)}
.n-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#DCE9FB,#EDF5FF);color:var(--blue);
  display:grid;place-items:center;font-weight:700;font-size:12px;border:1px solid #D3E4FA}
.n-main{max-width:900px;margin:0 auto;padding:30px 24px 48px}
.hero{position:relative;overflow:hidden;border-radius:20px;padding:32px 34px;color:#fff;
  background:linear-gradient(125deg,#08233F 0%,#0F3E6E 45%,#1B6FD6 100%);box-shadow:0 24px 50px -26px rgba(10,42,74,.75)}
.hero:before{content:"";position:absolute;right:-90px;top:-110px;width:330px;height:330px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(15,179,163,.45),rgba(15,179,163,0) 62%)}
.hero .badge{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;letter-spacing:1.5px;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);padding:4px 12px;border-radius:99px;margin-bottom:16px}
.hero .badge i{width:6px;height:6px;border-radius:50%;background:#3DE0C6;box-shadow:0 0 0 4px rgba(61,224,198,.18)}
.hero h1{font-size:27px;font-weight:700;letter-spacing:.4px;line-height:1.4}
.hero h1 em{font-style:normal;color:#7FE3D6}
.hero p{margin-top:11px;font-size:13.5px;line-height:1.95;color:rgba(255,255,255,.82);max-width:620px}
.hero p b{color:#fff;font-weight:600}
.hero-meta{display:flex;gap:28px;margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);flex-wrap:wrap}
.hero-meta div{font-size:11.5px;color:rgba(255,255,255,.6)}
.hero-meta strong{display:block;font-size:14.5px;color:#fff;margin-top:5px;font-weight:600}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:18px}
.info{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px}
.info .ic{width:29px;height:29px;border-radius:9px;background:var(--blue-l);color:var(--blue);display:grid;place-items:center;font-size:14px;margin-bottom:11px}
.info .lb{font-size:11px;color:var(--muted);letter-spacing:.5px}
.info .vl{font-size:14.5px;font-weight:600;margin-top:5px;line-height:1.5}
.info .sub{font-size:11px;color:#9AAABF;margin-top:5px}
.info.hl{background:linear-gradient(160deg,#F2FBF9,#fff);border-color:#CBEDE7}
.info.hl .ic{background:#DDF6F1;color:#0A9C8D}
.info.hl .vl{color:#0A8F81}
.n-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 24px;margin-top:16px}
.n-card h3{font-size:14.5px;letter-spacing:.3px;display:flex;align-items:center;gap:9px;margin-bottom:14px}
.n-card h3 .bar{width:3px;height:15px;border-radius:2px;background:linear-gradient(180deg,var(--blue),var(--teal))}
.notes{display:grid;grid-template-columns:1fr 1fr;gap:9px 24px}
.note{display:flex;gap:10px;font-size:12.8px;line-height:1.8;color:#3D5169}
.note .n{flex:none;width:19px;height:19px;border-radius:6px;background:#F0F5FC;color:#6B86A8;font-size:10.5px;display:grid;place-items:center;margin-top:2px;font-weight:600}
.n-foot{border-top:1px solid var(--line);padding:20px 34px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:11.5px;color:#93A3B8}
.n-foot b{color:#5A6E88;font-weight:600}

/* 消息 */
.msg-list{display:grid;gap:12px}
.msg{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.msg-h{display:flex;align-items:center;gap:9px;padding:11px 15px;background:#FAFCFF;border-bottom:1px solid #EFF4FA;flex-wrap:wrap}
.msg-h b{font-size:13px}
.msg-h .meta{font-size:11px;color:#9AAABF}
.msg-h .right{margin-left:auto;display:flex;gap:8px;align-items:center}
.msg-body{padding:15px 17px;font-size:12.8px;line-height:1.9;color:#3D5169;white-space:pre-wrap;max-height:260px;overflow:auto}
.cp{font-size:11.5px;padding:6px 12px;border-radius:7px;border:1px solid #D8E5F5;background:#fff;color:#2E6DB4;cursor:pointer}
.cp:hover{background:#F2F8FF;border-color:#B9D3F0}
.cp.done{background:#E8F8EF;border-color:#BFE8D4;color:#0F8A4C}

/* 评价 */
.eval{display:grid;grid-template-columns:270px 1fr;gap:14px;align-items:start}
.cand{display:flex;align-items:center;gap:9px;padding:11px 14px;border-bottom:1px solid #F3F7FB;transition:.15s}
.cand:hover{background:#FAFCFF}
.cand.on{background:linear-gradient(90deg,#F0F7FF,#F8FBFF);border-left:3px solid #1B6FD6;padding-left:11px}
.cand .sc{margin-left:auto;text-align:right}
.cand .sc b{font-size:15px;color:#175BB0}
.cand .sc small{display:block;font-size:9.5px;color:#9AAABF;margin-top:2px}
.ev-head{display:flex;gap:13px;align-items:center;padding:17px 20px;border-bottom:1px solid #EFF4FA;background:linear-gradient(120deg,#FBFDFF,#F6FAFF)}
.ev-head .av{width:42px;height:42px;border-radius:12px;font-size:16px;background:linear-gradient(135deg,#DCE9FB,#EEF6FF);border:1px solid #D7E6F8}
.ev-head h2{font-size:16px}
.ev-head .m{font-size:11.5px;color:#8EA0B8;margin-top:4px;display:flex;gap:12px;flex-wrap:wrap}
.ev-head .m b{color:#33465E}
.scorerow{display:grid;grid-template-columns:126px 1fr 46px;align-items:center;gap:14px;padding:9px 0;border-bottom:1px dashed #EDF2F9}
.scorerow .dim{font-size:12.5px;color:#33465E}
.scorerow .dim small{display:block;font-size:10px;color:#A6B4C6;margin-top:2px}
.scorerow .num{text-align:right;font-weight:650;color:#175BB0}
.stars{display:flex;gap:5px;align-items:center}
.stars label{cursor:pointer;font-size:19px;color:#DDE6F1;line-height:1;transition:.12s;user-select:none}
.stars input{display:none}
.stars label.on{color:#F2B233;text-shadow:0 2px 6px rgba(242,178,51,.3)}
.stars label:hover{color:#F5C463}
.ev-total{display:flex;align-items:center;gap:18px;margin-top:14px;padding:14px 16px;border-radius:12px;
  background:linear-gradient(115deg,#F3F9FF,#FBFDFF);border:1px solid #E1EEFB}
.ev-total .big{font-size:32px;font-weight:700;color:#175BB0;line-height:1;letter-spacing:-1px}
.ev-total .big small{font-size:11px;color:#8EA0B8;font-weight:500;letter-spacing:0}
.grade{display:inline-block;background:linear-gradient(135deg,#12A150,#0C8A45);color:#fff;font-size:11px;padding:3px 10px;border-radius:7px;letter-spacing:1px}
.grade.B{background:linear-gradient(135deg,#2E8BE0,#1B6FD6)}
.grade.C{background:linear-gradient(135deg,#E0A02E,#C98A1B)}
.grade.D{background:linear-gradient(135deg,#D4574E,#B0453E)}
.concl{display:flex;gap:8px;flex-wrap:wrap}
.concl label{border:1px solid var(--line);background:#fff;padding:8px 16px;border-radius:9px;font-size:12.5px;color:#4A5E78;cursor:pointer}
.concl input{display:none}
.concl input:checked + span{font-weight:600}
.concl label:has(input:checked){border-color:#1B6FD6;background:#F1F8FF;color:#175BB0}
.concl label.good:has(input:checked){border-color:#12A150;background:#F0FAF5;color:#0C8A45}
.concl label.bad:has(input:checked){border-color:#D4574E;background:#FEF4F3;color:#C0504A}

.empty{padding:38px 20px;text-align:center;color:#9AAABF;font-size:12.5px;line-height:1.9}

@media (max-width:1080px){
  .grid4{grid-template-columns:repeat(2,1fr)}
  .totals{grid-template-columns:repeat(2,1fr)}
  .eval{grid-template-columns:1fr}
  .side{width:186px}
}
@media (max-width:560px){
  .n-head{gap:10px;padding:11px 14px}
  .n-head .brand{gap:9px;min-width:0}
  .n-head .brand b{font-size:12.5px;line-height:1.35;letter-spacing:0}
  .n-head .brand em{display:none}
  .n-head .mark{width:30px!important;height:30px!important}
  .n-user{flex-shrink:0;gap:7px;font-size:12px}
  .n-user span{white-space:nowrap}
  .n-avatar{width:26px;height:26px;font-size:11px}
}
@media (max-width:820px){
  .side{display:none}
  .content{padding:16px 14px 40px}
  .n-head{padding:13px 16px}
  .n-main{padding:18px 14px 34px}
  .hero{padding:22px 20px}
  .hero h1{font-size:22px}
  .grid4{grid-template-columns:1fr}
  .notes{grid-template-columns:1fr}
  .n-foot{padding:16px}
  .topbar{padding:0 14px}
}
