/* 首页改版（oil-ui-plus）：深色首屏 + 荧光黄绿强调，真实岗位分布条形图作主视觉。
   只在 index.html 引入，并以 body.home-v2 限定作用域；全站共享令牌与组件在 css/theme.css。 */
/* 首屏 */
.hero-v2 { background: var(--ink); color: #eef2e9; text-align: left; }
.hero-v2 .inner.hero-grid { text-align: left; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(28px,5vw,72px); align-items: start; padding-top: clamp(30px,4.6vw,64px); padding-bottom: clamp(44px,6vw,76px); }
.hero-v2 .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted-d); }
.hero-v2 .kicker-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--lime); flex: 0 0 auto; }
.hero-v2 .hero-title { margin: 14px 0 0; font-size: clamp(34px,4.6vw,60px); line-height: 1.16; font-weight: 800; letter-spacing: -.01em; color: #f4f7ef; }
.hero-v2 .mark { background: var(--lime); color: var(--ink); padding: 0 .12em; border-radius: 5px; font-variant-numeric: tabular-nums; }
.hero-v2 p.lead { margin: 18px 0 0; max-width: 32em; font-size: clamp(15px,1.15vw,17px); line-height: 1.75; color: #b3bdb5; }
.hero-v2 .search-box { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; max-width: 600px; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.hero-v2 .search-box input { flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 18px; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; }
.hero-v2 .search-box input::placeholder { color: #7f8b83; }
.hero-v2 .search-box input:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px rgba(201,241,88,.16); }
.hero-v2 .search-box button { flex: 0 0 auto; height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--lime); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.hero-v2 .search-box button:hover { background: var(--lime-2); }
.hero-v2 .quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.hero-v2 .quick-label { font-size: 13px; color: var(--muted-d); }
.hero-v2 .qchip { padding: 6px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #dde5db; font-size: 13px; }
.hero-v2 .qchip:hover { border-color: var(--lime); color: var(--lime); }
.hero-v2 .quick-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,2vw,28px); margin-top: 34px; max-width: 600px; justify-content: start; }
.hero-v2 .stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; align-items: flex-start; }
.hero-v2 .stat b { font-size: clamp(20px,1.8vw,24px); font-weight: 700; line-height: 1.3; color: #f4f7ef; font-variant-numeric: tabular-nums; }
.hero-v2 .stat span { font-size: 12px; color: var(--muted-d); }
.hero-v2 .hero-side { border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; min-width: 0; }
.hero-v2 .side-title { font-size: 13px; font-weight: 600; color: #dfe6da; margin: 0 0 10px; }
.hero-v2 .dir-list { list-style: none; padding: 0; margin: 0 -8px; display: grid; gap: 2px; }
.hero-v2 .dir-row { display: grid; grid-template-columns: 3.6em minmax(0,1fr) 4.2em; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 8px; color: #dfe6da; font-size: 14px; }
.hero-v2 .dir-row:hover { background: rgba(255,255,255,.07); color: #fff; }
.hero-v2 .dir-bar { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.hero-v2 .dir-bar i { display: block; height: 100%; border-radius: 99px; background: var(--lime); transform-origin: left center; animation: v2barGrow .8s cubic-bezier(.2,.7,.25,1) both; }
.hero-v2 .dir-num { font-size: 13px; color: #f2f6ee; text-align: right; font-variant-numeric: tabular-nums; }
.hero-v2 .side-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: #7f8b83; }
@media (max-width: 940px) { .hero-v2 .inner.hero-grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 520px) { .hero-v2 .quick-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* 按公司：条形行 */
.home-v2 .company-grid.co-rows { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 -10px; }
.home-v2 .co-row { display: grid; grid-template-columns: minmax(0,9em) minmax(0,1fr) 5.2em; align-items: center; gap: clamp(10px,2vw,26px); padding: 10px; border-radius: 9px; color: var(--text); }
.home-v2 .co-row:hover { background: #e7e9df; color: var(--text); }
.home-v2 .co-row .co-head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.home-v2 .co-row .co-badge { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; flex: 0 0 auto; }
.home-v2 .co-row .name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-v2 .co-bar { display: block; height: 9px; border-radius: 99px; background: #e2e5d9; overflow: hidden; }
.home-v2 .co-bar i { display: block; height: 100%; border-radius: 99px; background: var(--text); transform-origin: left center; animation: v2barGrow .8s cubic-bezier(.2,.7,.25,1) both; }
.home-v2 .co-row .count { font-size: 14px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.home-v2 .btn-more { background: transparent; color: var(--text); border-color: #c9cec0; }
.home-v2 .btn-more:hover { border-color: var(--text); box-shadow: none; }

@keyframes v2barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .home-v2 .dir-bar i, .home-v2 .co-bar i { animation: none; } }
@media (max-width: 640px) {
  .home-v2 .company-grid.co-rows { margin: 0; }
  .home-v2 .co-row { grid-template-columns: minmax(0,7.5em) minmax(0,1fr) 3.6em; gap: 10px; padding: 10px 0; }
}
.home-v2 .company-card.co-row { background: transparent; border: 0; box-shadow: none; transform: none; flex-direction: initial; }
.home-v2 .company-card.co-row:hover { background: #e7e9df; transform: none; box-shadow: none; }
