/* ==========================================================================
 *  熊猫人才服务平台 · 样式
 * ========================================================================== */
:root {
  --ink:      #1b2430;
  --ink2:     #45536a;
  --ink3:     #7c8899;
  --line:     #e6ebf2;
  --bg:       #f4f7fb;
  --card:     #ffffff;
  --brand:    #1f4e79;
  --brand-d:  #163a5c;
  --brand-l:  #eaf1f8;
  --gold:     #b8863b;
  --radius:   16px;
  --shadow:   0 2px 4px rgba(27,36,48,.04), 0 12px 32px -14px rgba(27,36,48,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─────────────────────────── 顶栏 ─────────────────────────── */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.topbar-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), #2f7ab8);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 4px 12px -4px rgba(31,78,121,.5);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.3; }
.brand-txt b { font-size: 16px; font-weight: 800; letter-spacing: .3px; }
.brand-txt i { font-style: normal; font-size: 11.5px; color: var(--ink3); }

.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a {
  padding: 7px 13px; border-radius: 9px; font-size: 13.5px;
  color: var(--ink2); font-weight: 600; transition: .16s; white-space: nowrap;
}
.nav a:hover { background: var(--brand-l); color: var(--brand); }
.nav a.on { background: var(--brand); color: #fff; }

.topbar-r { display: flex; align-items: center; gap: 12px; flex: none; }
.clock { font-size: 12.5px; color: var(--ink3); font-variant-numeric: tabular-nums; }

/* ─────────────────────────── 横幅 ─────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 52px 0 44px;
}
.tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px;
  color: var(--gold); background: #fbf5ea; border: 1px solid #f0e2c8;
  padding: 4px 11px; border-radius: 7px; margin-bottom: 16px;
}
.hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.5px; line-height: 1.22; }
.hero-txt p {
  margin-top: 14px; font-size: 15px; color: var(--ink2); line-height: 1.85; max-width: 520px;
}
.hero-act { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; transition: .16s; cursor: pointer;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(31,78,121,.8); }
.btn.primary:hover { background: var(--brand-d); }
.btn.ghost { background: #fff; color: var(--brand); border-color: #cfdae6; }
.btn.ghost:hover { border-color: var(--brand); background: var(--brand-l); }
.btn.sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.15; }
.stat span { font-size: 13px; color: var(--ink3); }
.stat i { font-style: normal; font-size: 12px; color: var(--ink3); display: block; margin-top: 6px; }

/* ─────────────────────────── 模块区 ─────────────────────────── */
.modules {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-bottom: 8px;
}
.mod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; box-shadow: var(--shadow);
  scroll-margin-top: 84px;
  transition: box-shadow .2s, transform .2s;
}
.mod:hover { box-shadow: 0 4px 8px rgba(27,36,48,.05), 0 20px 44px -18px rgba(27,36,48,.24); }
.mod-head { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; }
.mod-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
}
.mod-ico.recruit     { background: #fdf1e3; }
.mod-ico.assess      { background: #e9f3fb; }
.mod-ico.develop     { background: #eaf6ee; }
.mod-ico.performance { background: #f4ecfa; }
.mod-ico.bigdata     { background: #e5f4f5; }
.mod-head h2 { font-size: 19px; font-weight: 800; letter-spacing: .2px; }
.mod-sub { font-size: 13px; color: var(--ink3); margin-top: 3px; line-height: 1.55; }
.mod-badge {
  margin-left: auto; flex: none; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 7px;
  background: var(--brand-l); color: var(--brand);
}
.mod-badge.live { background: #eaf6ee; color: #237a45; }
.mod-badge.building { background: #e5f4f5; color: #0f6f7a; }

/* BIGDATA 为第五个模块，占满一行；六个功能入口排成三列两行 */
.mod#bigdata { grid-column: 1 / -1; }
.mod#bigdata .subs { display: grid; grid-template-columns: repeat(3, 1fr); }
.mod#bigdata .subs li { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.mod#bigdata .subs li:nth-child(3n) { border-right: 0; }
/* 9 个入口排三行，只有最后一行不要下边框 */
.mod#bigdata .subs li:nth-child(n+7) { border-bottom: 0; }
@media (max-width: 900px) {
  .mod#bigdata .subs { grid-template-columns: 1fr 1fr; }
  .mod#bigdata .subs li:nth-child(3n) { border-right: 1px solid var(--line); }
  .mod#bigdata .subs li:nth-child(2n) { border-right: 0; }
  .mod#bigdata .subs li:nth-child(n+7) { border-bottom: 1px solid var(--line); }
  .mod#bigdata .subs li:nth-child(n+8) { border-bottom: 0; }
}

/* 进入专区按钮 */
.mod-enter {
  display: block; text-align: center; margin: 0 0 14px; padding: 9px 0;
  font-size: 13.5px; font-weight: 700; border-radius: 10px;
  background: var(--brand-l); color: var(--brand); transition: .16s;
}
.mod-enter:hover { background: var(--brand); color: #fff; }

.subs { list-style: none; border-top: 1px solid var(--line); }
.subs li { border-bottom: 1px solid var(--line); }
.subs li:last-child { border-bottom: 0; }
.subs a {
  display: flex; flex-direction: column; gap: 3px; padding: 13px 4px;
  transition: .15s;
}
.subs a b { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.subs a span { font-size: 12.5px; color: var(--ink3); line-height: 1.6; }
.subs a:hover { padding-left: 10px; }
.subs a:hover b { color: var(--brand); }

/* ─────────────────────────── 说明 ─────────────────────────── */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 34px 0 10px; }
.note {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 12px; padding: 18px 20px;
}
.note b { font-size: 14px; display: block; margin-bottom: 7px; }
.note p { font-size: 13px; color: var(--ink2); line-height: 1.78; }

.foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0 36px; margin-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink3);
}

/* ─────────────────────────── 首页分享区 ─────────────────────────── */
.homeshare {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin: 8px 0 10px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.hs-l h2 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.hs-l p { font-size: 13.5px; color: var(--ink2); line-height: 1.8; max-width: 460px; }
.hs-qrs { display: flex; gap: 14px; flex-wrap: wrap; }
.hsq {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 116px; text-align: center;
}
.hsq-img {
  width: 108px; height: 108px; border: 1px solid var(--line);
  border-radius: 11px; padding: 6px; background: #fff;
}
.hsq-img img { width: 100%; height: 100%; display: block; }
.hsq b { font-size: 12.5px; font-weight: 800; margin-top: 2px; }
.hsq span { font-size: 11px; color: var(--ink3); line-height: 1.4; }
.hsq-dl { font-size: 11px; color: var(--brand); font-weight: 700; }
.hsq-dl:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .homeshare { grid-template-columns: 1fr; }
  .hs-qrs { justify-content: flex-start; }
}

/* ─────────────────────────── 模块内页通用 ─────────────────────────── */
.subbar { padding: 26px 0 0; }
.subbar h1 { font-size: 26px; font-weight: 800; letter-spacing: -.2px; }
.subbar .crumb { font-size: 13px; color: var(--ink3); margin-bottom: 8px; }
.subbar .crumb a { color: var(--brand); font-weight: 600; }

.tabs { display: flex; gap: 4px; margin: 20px 0 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button {
  background: none; border: 0; padding: 9px 16px; font-size: 14px; font-weight: 700;
  color: var(--ink3); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; font-family: inherit; transition: .15s;
}
.tabs button:hover { color: var(--brand); }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 22px;
}
.panel-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 22px;
  border-bottom: 1px solid var(--line); background: #fbfcfe;
}
.panel-head b { font-size: 15px; font-weight: 800; }
.panel-head .count { font-size: 12px; color: var(--ink3); }
.panel-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th {
  text-align: left; padding: 11px 18px; font-size: 12.5px; font-weight: 700;
  color: var(--ink3); background: #fafbfd; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.tbl td { padding: 12px 18px; border-bottom: 1px solid #f0f3f7; vertical-align: top; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tr:hover td { background: #fbfcfe; }
.tbl .empty { text-align: center; color: var(--ink3); padding: 38px 18px; font-size: 13.5px; }

.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px;
  border-radius: 6px; white-space: nowrap;
}
.pill.blue   { background: var(--brand-l); color: var(--brand); }
.pill.green  { background: #eaf6ee; color: #237a45; }
.pill.orange { background: #fdf1e3; color: #96601a; }
.pill.gray   { background: #eef1f5; color: #64707f; }
.pill.red    { background: #fdeeee; color: #a63a3a; }
.pill.purple { background: #f4ecfa; color: #6b3fa0; }

input.in, select.in, textarea.in {
  width: 100%; padding: 9px 12px; border: 1px solid #d8e0ea; border-radius: 9px;
  font: inherit; font-size: 13.5px; background: #fff; color: var(--ink);
  font-family: inherit;
}
input.in:focus, select.in:focus, textarea.in:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,78,121,.1);
}
textarea.in { resize: vertical; min-height: 76px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-item label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.metric {
  background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 17px 19px;
  box-shadow: var(--shadow);
}
.metric b { display: block; font-size: 26px; font-weight: 800; color: var(--brand); }
.metric span { font-size: 12.5px; color: var(--ink3); }

.bar { height: 7px; background: #eef1f6; border-radius: 4px; overflow: hidden; min-width: 80px; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  background: #22303f; color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 13.5px; z-index: 999; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: .22s;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(-4px); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 30px; }
  .hero h1 { font-size: 29px; }
  .modules { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
