/* ============================================================
   门户层：页头 / 首屏检索 / 台账条 / 信息列表 / 详情 / 发布 / 登录
   视觉方向：国际工程信息平台（institutional registry）
   —— 白底、细线、单一灰调蓝、信息密度高但不拥挤
   ============================================================ */

/* ---------------------------- 顶部信息条 ---------------------------- */
.topbar {
  background: var(--blue-900);
  color: var(--on-dark-3);
  font-size: var(--fs-12);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--util-h);
  gap: var(--s4);
}
.topbar .tb-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar .tb-r { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar .tb-i { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.topbar .tb-i b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.topbar .tb-sep { width: 1px; height: 11px; background: rgba(255, 255, 255, 0.16); flex-shrink: 0; }
.topbar a { color: var(--on-dark-3); transition: color var(--t); }
.topbar a:hover { color: #fff; }

/* ---------------------------- 页头 ---------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--n-0);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  height: var(--hdr-h);
  gap: var(--s5);
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--blue-900);
  color: #fff;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand .mark svg { width: 20px; height: 20px; }
.brand .txt { display: flex; align-items: baseline; gap: 9px; }
.brand .txt b {
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--blue-900);
}
.brand .txt span {
  font-size: var(--fs-12);
  color: var(--muted);
  letter-spacing: 0.01em;
  padding-inline-start: 9px;
  border-inline-start: 1px solid var(--n-200);
  line-height: 1.2;
}

.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav a {
  position: relative;
  padding-inline: 13px;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  font-size: var(--fs-13);
  color: var(--n-700);
  white-space: nowrap;
  transition: color var(--t);
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background var(--t);
}
.nav a:hover { color: var(--n-900); }
.nav a:hover::after { background: var(--n-300); }
.nav a.on { color: var(--blue-700); font-weight: 600; }
.nav a.on::after { background: var(--blue-700); }

/* 带二级子栏目的导航项：悬停或键盘聚焦时展开。
   用 :focus-within 而不是 JS 开关，是因为下拉里是普通链接，
   键盘 Tab 到子项时父项失焦会立刻收起，只有 focus-within 能覆盖这条路径。 */
.nav-i { position: relative; display: flex; align-items: center; }
.nav-i > a { gap: 3px; }
.nav-i > a .chev { opacity: 0.45; transition: transform var(--t) var(--ease), opacity var(--t); }
.nav-i:hover > a .chev, .nav-i:focus-within > a .chev { opacity: 0.9; transform: rotate(180deg); }
.nav-sub {
  position: absolute;
  top: calc(var(--hdr-h) - 8px);
  inset-inline-start: 0;
  min-width: 152px;
  padding: 5px;
  background: var(--n-0);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  z-index: 70;
}
.nav-i:hover .nav-sub, .nav-i:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
/* 与父项留一道看不见的过渡带，否则鼠标斜着移进下拉会中途断开 */
.nav-sub::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
.nav-sub a {
  height: 34px;
  padding-inline: 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-13);
  color: var(--n-700);
}
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: var(--blue-50); color: var(--blue-700); }

.hdr-act { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.hdr-act .who {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline-end: 6px;
  font-size: var(--fs-13);
  color: var(--n-700);
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 600;
  flex-shrink: 0;
}

/* 站内消息：红点带数字，9 条以上显示 9+ */
.hdr-bell {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--n-600);
  cursor: pointer;
}
.hdr-bell:hover { background: var(--n-50, #f5f6f7); color: var(--blue-800); }
.hdr-bell.has { color: var(--blue-800); }
.bell-dot {
  position: absolute;
  top: 2px;
  inset-inline-end: 1px;
  min-width: 15px;
  height: 15px;
  padding-inline: 3px;
  border-radius: 8px;
  background: var(--danger, #c0392b);
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid #fff;
}

/* 消息列表 */
.nt-item { padding: 12px 2px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.nt-item:last-child { border-bottom: 0; }
.nt-item:hover { background: var(--n-25, #fafbfb); }
.nt-t { font-size: var(--fs-13); font-weight: 600; color: var(--n-900); display: flex; align-items: center; gap: 6px; }
.nt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); display: inline-block; }
.nt-b { margin-top: 4px; font-size: var(--fs-12); color: var(--muted); line-height: 1.7; }
.nt-d { margin-top: 5px; font-size: var(--fs-11); color: var(--faint); font-variant-numeric: tabular-nums; }
.nt-item.unread .nt-t { color: var(--blue-800); }

/* 语言切换：显眼，不藏角落 */
.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding-inline: 10px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-13);
  color: var(--n-700);
  transition: background var(--t), border-color var(--t);
}
.lang-btn:hover { background: var(--n-50); border-color: var(--n-200); }
.lang-btn .globe { color: var(--n-600); }
.lang-btn .chev { color: var(--n-500); transition: transform var(--t); }
.lang[open] .lang-btn, .lang.on .lang-btn { background: var(--n-50); border-color: var(--n-300); }
.lang.on .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  z-index: 60;
  min-width: 208px;
  padding: 5px;
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-13);
  color: var(--n-800);
  text-align: start;
}
.lang-menu button:hover { background: var(--n-50); }
.lang-menu button.on { color: var(--blue-700); font-weight: 600; background: var(--blue-50); }
.lang-menu button small { font-size: 11px; color: var(--n-500); font-weight: 400; }
.lang-note {
  margin: 5px 4px 2px;
  padding-top: 8px;
  border-top: 1px solid var(--line-2);
  font-size: 11px;
  line-height: 1.6;
  color: var(--n-500);
}

/* 窄屏二级导航 */
.nav-sm { display: none; border-bottom: 1px solid var(--line); background: var(--n-0); }
.nav-sm .wrap { display: flex; gap: 18px; overflow-x: auto; height: 42px; align-items: center; scrollbar-width: none; }
.nav-sm .wrap::-webkit-scrollbar { display: none; }
.nav-sm a { font-size: var(--fs-13); color: var(--n-700); white-space: nowrap; }
.nav-sm a.on { color: var(--blue-700); font-weight: 600; }
/* 当前板块展开的子栏目：跟在父项后面，弱一档，不做分隔符会连成一串看不懂 */
.nav-sm a.sub { color: var(--n-500); }
.nav-sm a.sub::before { content: "·"; margin-inline-end: 5px; color: var(--n-300); }
.nav-sm a.sub:hover { color: var(--blue-700); }

/* 多语言提示条（语言非中文时出现，说明内容语言） */
.intl-note {
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-100);
  color: var(--blue-800);
  font-size: var(--fs-12);
  line-height: 1.6;
}
.intl-note .wrap { display: flex; align-items: center; gap: 8px; padding-block: 8px; }

/* ---------------------------- 首屏（深色摄影版面） ---------------------------- */
.hero {
  position: relative;
  background: var(--blue-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(0.82) contrast(1.05) brightness(0.9);
}
/* 双层压暗：左侧重压保证白字可读，底部收暗与检索卡形成交界 */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(96deg, rgba(5, 20, 31, 0.96) 0%, rgba(5, 20, 31, 0.9) 32%, rgba(5, 20, 31, 0.58) 64%, rgba(5, 20, 31, 0.4) 100%),
    linear-gradient(180deg, rgba(5, 20, 31, 0.62) 0%, rgba(5, 20, 31, 0) 32%, rgba(5, 20, 31, 0.5) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 88px 96px; }
/* 标题容器要容得下 52px 下的一整行（约 14 个汉字），否则会断在词中间 */
.hero-top { max-width: min(100%, 860px); }
.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--on-dark-2);
}
.hero-tag::before { content: ""; width: 32px; height: 2px; background: var(--blue-300); flex: none; }
.hero h1 {
  font-size: clamp(32px, 3.6vw, var(--fs-52));
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-top: 22px;
  color: #fff;
  text-wrap: balance;
}
.hero .lead {
  margin-top: 20px;
  color: var(--on-dark-2);
  font-size: var(--fs-16);
  line-height: 1.85;
  max-width: 640px;
}
.hero .lead b { color: #fff; font-weight: 600; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.hero-facts > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.64);
}
.hero-facts i { width: 5px; height: 5px; background: var(--blue-300); flex: none; }

/* 检索条：白色卡片压在深色版面下缘，成为首屏的第二视觉重心 */
.hero-search { position: relative; z-index: 5; margin-top: -44px; }
.hero-search .wrap { padding-bottom: 4px; }

/* 大检索条：全宽，是首屏的主视觉 */
.searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 206px 180px 148px;
  margin-top: 0;
  background: var(--n-0);
  border: 1px solid var(--n-300);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  transition: border-color var(--t), box-shadow var(--t);
}
.searchbar:focus-within { border-color: var(--blue-500); box-shadow: var(--shadow-lift), 0 0 0 3px rgba(46, 106, 150, 0.18); }
.searchbar .cell {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 64px;
  padding-inline: 18px;
  border-inline-end: 1px solid var(--n-200);
  min-width: 0;
}
.searchbar .cell:last-of-type { border-inline-end: 0; }
.searchbar .cell > svg { color: var(--n-500); flex-shrink: 0; }
/* 下拉单元：标签在上、选项在下 */
.searchbar .cell.stack {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
}
.searchbar .cell.stack .eyebrow {
  font-size: 11px;
  line-height: 1.2;
  color: var(--n-500);
  white-space: nowrap;
  font-weight: 400;
}
.searchbar .cell.stack select { color: var(--n-800); }
.searchbar input {
  border: 0;
  outline: none;
  background: none;
  font-size: var(--fs-15);
  width: 100%;
  min-width: 0;
}
.searchbar input::placeholder { color: var(--n-500); font-size: var(--fs-14); }
.searchbar select {
  border: 0;
  outline: none;
  background: transparent;
  font-size: var(--fs-13);
  color: var(--n-700);
  width: 100%;
  appearance: none;
  cursor: pointer;
  padding-inline-end: 4px;
}
.searchbar .go {
  height: 64px;
  border: 0;
  border-start-end-radius: var(--r);
  border-end-end-radius: var(--r);
  background: var(--blue-700);
  color: #fff;
  font-size: var(--fs-15);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.searchbar .go:hover { background: var(--blue-800); }

.hot-terms {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: var(--fs-13);
  color: var(--muted);
  flex-wrap: wrap;
}
.hot-terms > span { margin-inline-end: 4px; }
.hot-terms a {
  padding: 2px 0;
  color: var(--n-700);
  border-bottom: 1px solid var(--n-300);
  transition: color var(--t), border-color var(--t);
}
.hot-terms a:hover { color: var(--blue-700); border-color: var(--blue-300); }

/* ---------------------------- 台账条（数据概览） ---------------------------- */
/* ---------------------------- 关键数字（深色面上） ---------------------------- */
.stats {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--on-dark-line);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}
.stats .it {
  padding-inline-start: 26px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}
.stats .it:first-child { padding-inline-start: 0; border-inline-start: 0; }
.stats .lb {
  font-size: var(--fs-12);
  color: var(--on-dark-3);
  letter-spacing: 0.04em;
}
.stats .vl {
  font-size: var(--fs-32);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.stats .vl small {
  font-size: var(--fs-12);
  color: var(--on-dark-3);
  font-weight: 400;
  margin-inline-start: 5px;
  letter-spacing: 0;
}

/* ---------------------------- 三类业务入口 ---------------------------- */
/* ---------------------------- 三类业务（实拍图 + 卡片） ---------------------------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.biz {
  display: flex;
  flex-direction: column;
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease);
}
.biz:hover { border-color: var(--n-300); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.biz-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n-100);
  border-bottom: 1px solid var(--n-200);
}
.biz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 500ms var(--ease);
}
.biz:hover .biz-media img { transform: scale(1.035); }
.biz-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; flex: 1; }
.biz .biz-h { display: flex; align-items: center; gap: 9px; }
.biz .ic { color: var(--blue-700); display: grid; place-items: center; }
.biz h3 { font-size: var(--fs-16); letter-spacing: -0.005em; }
.biz .decs { font-size: var(--fs-13); color: var(--muted); line-height: 1.8; }
.biz-latest {
  font-size: var(--fs-12);
  color: var(--n-600);
  border-inline-start: 2px solid var(--n-200);
  padding-inline-start: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.biz .cnt { display: flex; align-items: baseline; gap: 6px; }
.biz .cnt b {
  font-size: var(--fs-24);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  line-height: 1;
}
.biz .cnt span { font-size: var(--fs-12); color: var(--muted); }
.biz-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--blue-700);
}
.biz-go svg { color: var(--blue-700); transition: transform var(--t) var(--ease); }
.biz:hover .biz-go svg { transform: translateX(3px); }
[dir="rtl"] .biz:hover .biz-go svg { transform: translateX(-3px) scaleX(-1); }

/* ---------------------------- 信息列表（台账行） ---------------------------- */
.ledger-tbl { width: 100%; font-size: var(--fs-13); }
.ledger-tbl th {
  text-align: start;
  font-weight: 500;
  font-size: var(--fs-12);
  color: var(--n-600);
  padding: 11px 14px;
  border-bottom: 1px solid var(--n-200);
  background: var(--n-50);
  white-space: nowrap;
}
.ledger-tbl td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.ledger-tbl tbody tr { transition: background var(--t) var(--ease); cursor: pointer; }
.ledger-tbl tbody tr:hover { background: var(--n-25); }
.ledger-tbl tbody tr:last-child td { border-bottom: 0; }
.ledger-tbl .c-type { width: 78px; }
.ledger-tbl .c-cd { width: 96px; }
.ledger-tbl .c-amt { width: 128px; text-align: end; }
.ledger-tbl .c-tm { width: 106px; text-align: end; }
.ledger-tbl .ti { display: block; min-width: 0; }
.ledger-tbl .ti b {
  display: block;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--n-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}
.ledger-tbl tbody tr:hover .ti b { color: var(--blue-700); }
.ledger-tbl .ti small {
  display: block;
  font-size: var(--fs-12);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
.ledger-tbl .cd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  color: var(--n-700);
  white-space: nowrap;
}
.ledger-tbl .cd i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 18px;
  padding-inline: 3px;
  background: var(--n-100);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--n-700);
  letter-spacing: 0.02em;
}
.ledger-tbl .amt {
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--n-800);
  text-align: end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ledger-tbl .amt small { display: block; font-size: 11px; color: var(--n-500); font-weight: 400; }
.ledger-tbl .tm {
  font-size: var(--fs-12);
  color: var(--muted);
  text-align: end;
  white-space: nowrap;
}

/* 截止进度：2px 细线，剩余比例 */
.dl { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; width: 76px; }
.dl .tx { font-size: var(--fs-12); color: var(--n-700); font-variant-numeric: tabular-nums; }
.dl .tx.hot { color: var(--danger); }
.dl .bar { flex: none; width: 100%; height: 2px; background: var(--n-200); border-radius: 1px; overflow: hidden; }
.dl .bar i { display: block; height: 100%; background: var(--blue-600); }
.dl .bar i.hot { background: var(--danger); }
.dl .bar i.over { background: var(--n-400); }

/* ---------------------------- 卡片视图 ---------------------------- */
.notice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ncard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--r);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.ncard:hover { border-color: var(--blue-300); box-shadow: var(--shadow-1); }
.ncard .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ncard h3 {
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ncard:hover h3 { color: var(--blue-700); }
.ncard p { font-size: var(--fs-13); color: var(--muted); line-height: 1.75; }
.ncard .foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.ncard .foot .amt { font-size: var(--fs-15); font-weight: 600; color: var(--n-900); font-variant-numeric: tabular-nums; }
.ncard .foot .amt small { display: block; font-size: 11px; color: var(--n-500); font-weight: 400; }
.ncard .foot .loc { font-size: var(--fs-12); color: var(--muted); text-align: end; }

/* ---------------------------- 右栏 ---------------------------- */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side-w);
  gap: 44px;
  align-items: start;
}
.rail-panel + .rail-panel { margin-top: 20px; }
.rail-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.rail-h h3 { font-size: var(--fs-14); font-weight: 600; }
.rail-h a { font-size: var(--fs-12); color: var(--muted); }
.rail-h a:hover { color: var(--blue-700); }

/* 公告 */
.notice-list { display: flex; flex-direction: column; }
.notice-it {
  display: block;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-2);
}
.notice-it:first-child { padding-top: 0; }
.notice-it:last-child { border-bottom: 0; padding-bottom: 0; }
.notice-it b {
  display: block;
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--n-800);
  line-height: 1.7;
}
.notice-it:hover b { color: var(--blue-700); }
.notice-it .m { font-size: var(--fs-12); color: var(--n-500); margin-top: 3px; }

/* 国别列表 */
.geo-list { display: flex; flex-direction: column; }
.geo-it {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-13);
  color: var(--n-800);
}
.geo-it:last-child { border-bottom: 0; }
.geo-it:hover { color: var(--blue-700); }
.geo-it i {
  font-style: normal;
  min-width: 26px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  background: var(--n-100);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--n-700);
}
.geo-it span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-it em {
  font-style: normal;
  font-size: var(--fs-12);
  color: var(--n-500);
  font-variant-numeric: tabular-nums;
}

/* 平台说明 */
.note-box {
  padding: 16px 18px;
  background: var(--n-50);
  border: 1px solid var(--n-200);
  border-radius: var(--r);
  font-size: var(--fs-12);
  line-height: 1.85;
  color: var(--n-700);
}
.note-box b { display: block; color: var(--n-900); font-size: var(--fs-13); margin-bottom: 6px; font-weight: 600; }

/* ---------------------------- 列表页 ---------------------------- */
/* 内页页头：与首页同一深色版面，站内节奏一致，不另起一套风格 */
.page-head {
  position: relative;
  background: var(--blue-900);
  color: #fff;
  padding-block: 24px 30px;
}
.page-head h1 {
  font-size: var(--fs-32);
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.page-head .sub { font-size: var(--fs-14); color: var(--on-dark-2); margin-top: 9px; max-width: 56em; }
.page-head .crumb { color: var(--on-dark-3); margin-bottom: 0; }
.page-head .crumb a { color: var(--on-dark-2); }
.page-head .crumb a:hover { color: #fff; }
.page-head .crumb .sep { color: rgba(255, 255, 255, 0.3); }
.page-head .inp {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.page-head .inp::placeholder { color: rgba(255, 255, 255, 0.6); }
.page-head .inp:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--blue-300);
  box-shadow: 0 0 0 3px rgba(139, 172, 200, 0.2);
}
.page-head .btn-primary { background: #fff; color: var(--blue-900); border-color: #fff; }
.page-head .btn-primary:hover { background: var(--blue-100); border-color: var(--blue-100); color: var(--blue-900); }

/* 二级子栏目条：在深色页头上，用描边按钮而不是浅底胶囊，
   浅底在这里会和标题抢注意力，而且白底白字的老问题一眼就看得出来 */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.subnav[hidden] { display: none; }
.subnav a {
  padding: 6px 14px;
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.subnav a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.subnav a.on { background: #fff; border-color: #fff; color: var(--blue-900); font-weight: 600; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: var(--fs-12); color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue-700); }
.crumb .sep { color: var(--n-400); }

.list-layout {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: 44px;
  padding-block: 28px 64px;
  align-items: start;
}
.list-main { min-width: 0; }

/* 筛选栏 */
.rail { position: sticky; top: calc(var(--hdr-h) + 16px); align-self: start; max-height: calc(100vh - var(--hdr-h) - 32px); overflow-y: auto; }
.rail-g { padding-block: 18px; border-bottom: 1px solid var(--line-2); }
.rail-g:first-child { padding-top: 0; }
.rail-g:last-child { border-bottom: 0; }
.rail-g > h4 {
  font-size: var(--fs-12);
  color: var(--n-600);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rail-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  margin-inline: -9px;
  font-size: var(--fs-13);
  color: var(--n-700);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t), color var(--t);
  line-height: 1.5;
}
.rail-opt:hover { background: var(--n-50); color: var(--n-900); }
.rail-opt.on { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.rail-opt .n { font-size: var(--fs-12); color: var(--n-500); font-variant-numeric: tabular-nums; }
.rail-opt.on .n { color: var(--blue-600); }
.rail-opt .cd {
  font-size: 11px;
  font-weight: 600;
  color: var(--n-600);
  min-width: 24px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  background: var(--n-100);
  border-radius: 2px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.rail-opt.on .cd { background: var(--blue-100); color: var(--blue-700); }

.list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.list-bar .cnt { font-size: var(--fs-13); color: var(--muted); }
.list-bar .cnt b { color: var(--n-900); font-weight: 600; font-variant-numeric: tabular-nums; }
.list-bar .tools { display: flex; align-items: center; gap: 12px; }

/* 当前条件 chips */
.chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-block: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 9px 6px;
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-800);
  border-radius: var(--r-sm);
  font-size: var(--fs-12);
}
.chip button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  color: var(--blue-600);
}
.chip button:hover { background: var(--blue-100); color: var(--blue-800); }

/* 列表行：三列（主体 / 金额 / 操作） */
.list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 92px;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-2);
  align-items: start;
  transition: background var(--t) var(--ease);
}
.list-row:hover { background: var(--n-25); }
.list-row .hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.list-row h3 {
  font-size: var(--fs-15);
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.55;
}
.list-row h3 a:hover { color: var(--blue-700); }
.list-row .desc {
  font-size: var(--fs-13);
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.75;
}
.list-row .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: var(--fs-12);
  color: var(--n-600);
  flex-wrap: wrap;
}
.list-row .meta i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.list-row .meta .sep { width: 1px; height: 10px; background: var(--n-200); }
.list-row .side { text-align: end; padding-top: 6px; }
.list-row .side .amount {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--n-900);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.list-row .side .per { font-size: var(--fs-12); color: var(--n-500); margin-top: 2px; }
.list-row .side .org {
  font-size: var(--fs-12);
  color: var(--n-600);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.list-row .act { text-align: end; padding-top: 6px; }

/* ---------------------------- 详情页 ---------------------------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side-w);
  gap: 48px;
  padding-block: 24px 64px;
  align-items: start;
}
.dt-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dt-head h1 {
  font-size: var(--fs-26);
  line-height: 1.42;
  margin-top: 12px;
  letter-spacing: -0.012em;
}
.dt-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: var(--fs-12);
  color: var(--muted);
  flex-wrap: wrap;
}
.dt-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.dt-meta .sep { width: 1px; height: 11px; background: var(--n-200); }
.dt-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}
.dt-amount b {
  font-size: var(--fs-32);
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.dt-amount span { font-size: var(--fs-13); color: var(--muted); }

.dt-section { margin-top: 32px; }
.dt-section > h3 {
  font-size: var(--fs-15);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dt-body { font-size: var(--fs-14); line-height: 1.95; color: var(--n-700); white-space: pre-wrap; }

.spec-table { border: 1px solid var(--n-200); border-radius: var(--r); overflow: hidden; }
.spec-table .kv { grid-template-columns: 156px minmax(0, 1fr); }

/* 出境须知：图标 + 标签 + 值，两列。求职者扫一眼就知道敢不敢来 */
.depart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--n-200);
  border: 1px solid var(--n-200);
  border-radius: var(--r);
  overflow: hidden;
}
.dp-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 92px) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  background: var(--n-0);
  padding: 13px 14px;
}
.dp-ic {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
}
.dp-t { font-size: var(--fs-12); color: var(--muted); }
.dp-v { font-size: var(--fs-13); font-weight: 600; color: var(--n-900); line-height: 1.5; }
@media (max-width: 720px) {
  .depart-grid { grid-template-columns: minmax(0, 1fr); }
  .dp-item { grid-template-columns: 26px 84px minmax(0, 1fr); padding: 11px 12px; }
}

.side-sticky {
  position: sticky;
  top: calc(var(--hdr-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.owner-card .logo-sq { width: 46px; height: 46px; }
.owner-card .nm { font-size: var(--fs-14); font-weight: 600; color: var(--n-900); line-height: 1.5; }
.owner-card .sub { font-size: var(--fs-12); color: var(--muted); margin-top: 3px; }

.intent-box .btn { width: 100%; }
.intent-box .tip {
  display: flex;
  gap: 9px;
  padding: 11px 12px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  border-radius: var(--r-sm);
  font-size: var(--fs-12);
  color: var(--warn);
  line-height: 1.7;
  margin-top: 12px;
}
.intent-box .tip svg { flex-shrink: 0; margin-top: 2px; }

.rel-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-13);
  line-height: 1.65;
}
.rel-item:last-child { border-bottom: 0; }
.rel-item .t { flex: 1; min-width: 0; color: var(--n-800); }
.rel-item .t:hover { color: var(--blue-700); }
.rel-item .c { font-size: 11px; color: var(--n-500); white-space: nowrap; padding-top: 2px; }

/* 资料下载 / 索取 */
.doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-13);
  color: var(--n-800);
  width: 100%;
  text-align: start;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { color: var(--blue-700); }
.doc-row .ic { color: var(--n-500); flex-shrink: 0; }
.doc-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-row .go { font-size: var(--fs-12); color: var(--blue-700); white-space: nowrap; }

/* 联系信息（区分国内 / 海外，标时区） */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-13);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { width: 84px; flex-shrink: 0; color: var(--n-600); font-size: var(--fs-12); }
.contact-row .v { flex: 1; min-width: 0; color: var(--n-800); }
.contact-row .v em {
  font-style: normal;
  display: block;
  font-size: 11px;
  color: var(--n-500);
  margin-top: 2px;
}

/* ---------------------------- 发布页 ---------------------------- */
.pub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side-w);
  gap: 48px;
  padding-block: 28px 64px;
  align-items: start;
}
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--n-300);
  background: var(--n-0);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.type-opt:hover { border-color: var(--n-400); background: var(--n-25); }
.type-opt.on { border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-600); }
.type-opt.on .ic { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.type-opt .ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--n-200);
  border-radius: var(--r-sm);
  color: var(--n-700);
  flex-shrink: 0;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.type-opt b { font-size: var(--fs-13); font-weight: 500; display: block; color: var(--n-900); }
.type-opt small { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }

.form-sec { padding-block: 26px; border-bottom: 1px solid var(--line-2); }
.form-sec:last-child { border-bottom: 0; }
.form-sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-sec-h b { font-size: var(--fs-15); font-weight: 600; }
.form-sec-h .n {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 2px;
  padding: 1px 5px;
  font-variant-numeric: tabular-nums;
}
.form-sec-h .note { font-size: var(--fs-12); color: var(--muted); margin-inline-start: auto; }

/* 字段下方的解释：写清「为什么要填」，不堆术语 */
.fhint { margin-top: 5px; font-size: var(--fs-11); color: var(--faint); line-height: 1.6; }

/* 发布页侧栏的薪资预览：让发布方看到求职者实际会读到的那一行 */
.pay-preview {
  margin-top: 14px;
  padding: 12px 13px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-sm);
}
.pay-preview .pp-t { font-size: var(--fs-11); color: var(--blue-700); letter-spacing: .04em; }
.pay-preview .pp-main {
  margin-top: 5px;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.pay-preview .pp-sub { font-size: var(--fs-11); color: var(--muted); font-variant-numeric: tabular-nums; }

.check-list { display: flex; flex-wrap: wrap; gap: 8px; }
.check-list label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--n-300);
  border-radius: var(--r-sm);
  background: var(--n-0);
  font-size: var(--fs-13);
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.check-list label:hover { border-color: var(--n-400); }
.check-list label:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-800); }
.check-list input { width: 14px; height: 14px; accent-color: var(--blue-700); }

.completeness { display: flex; align-items: center; gap: 12px; font-size: var(--fs-12); color: var(--muted); }
.bar { flex: 1; height: 4px; background: var(--n-200); border-radius: 2px; position: relative; overflow: hidden; }
.bar i { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--blue-600); transition: width 240ms var(--ease); }

/* 发布侧栏检查表 */
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist .ci { display: flex; align-items: flex-start; gap: 9px; font-size: var(--fs-13); color: var(--n-700); line-height: 1.6; }
.checklist .ci .bx {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  border: 1px solid var(--n-300);
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: transparent;
  background: var(--n-0);
}
.checklist .ci.ok .bx { background: var(--ok); border-color: var(--ok); color: #fff; }
.checklist .ci.miss { color: var(--danger); }
.checklist .ci.miss .bx { border-color: var(--danger-bd); background: var(--danger-bg); }

/* ---------------------------- 登录 / 注册 ---------------------------- */
.auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100vh - var(--hdr-h)); }
.auth-side {
  background: var(--blue-900);
  color: #fff;
  padding: 56px 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side .q {
  font-size: var(--fs-26);
  line-height: 1.62;
  letter-spacing: -0.01em;
  max-width: 15em;
  color: #fff;
  font-weight: 600;
}
.auth-side .q em { font-style: normal; color: var(--blue-300); }
.auth-side .lines { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.auth-side .lines .l {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}
.auth-side .lines .l svg { flex-shrink: 0; margin-top: 3px; color: var(--blue-300); }
.auth-side .foot {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.95;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.auth-side .foot b { color: rgba(255, 255, 255, 0.82); font-weight: 500; font-variant-numeric: tabular-nums; }
.auth-main { display: flex; align-items: flex-start; justify-content: center; padding: 56px 24px; background: var(--n-0); }
.auth-form { width: 100%; max-width: 404px; }
.auth-form h1 { font-size: var(--fs-26); }
.auth-form .sub { font-size: var(--fs-13); color: var(--muted); margin-top: 8px; }
.auth-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 26px 0 24px; }
.auth-tabs button {
  padding-block: 0 12px;
  font-size: var(--fs-14);
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t), border-color var(--t);
}
.auth-tabs button.on { color: var(--blue-700); font-weight: 600; border-color: var(--blue-700); }
.auth-form .field + .field { margin-top: 16px; }
.auth-alt { margin-top: 20px; font-size: var(--fs-13); color: var(--muted); text-align: center; }
.auth-alt a { color: var(--blue-700); }
.demo-box {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--n-50);
  border: 1px solid var(--n-200);
  border-radius: var(--r-sm);
  font-size: var(--fs-12);
  color: var(--n-700);
  line-height: 2;
}
.demo-box b { font-weight: 600; color: var(--n-800); font-variant-numeric: tabular-nums; }
.demo-box .row-d { display: flex; justify-content: space-between; gap: 10px; }
.demo-box .row-d span:first-child { color: var(--muted); }

/* ---------------------------- 我的 ---------------------------- */
.me-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 44px;
  padding-block: 24px 64px;
  align-items: start;
}
.me-nav { position: sticky; top: calc(var(--hdr-h) + 16px); }
.me-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: var(--fs-13);
  color: var(--n-700);
  border-radius: var(--r-sm);
  border-inline-start: 2px solid transparent;
  transition: background var(--t), color var(--t);
}
.me-nav a:hover { background: var(--n-50); color: var(--n-900); }
.me-nav a.on {
  background: var(--blue-50);
  border-inline-start-color: var(--blue-700);
  color: var(--blue-700);
  font-weight: 600;
}
.me-nav a .n { font-size: var(--fs-12); color: var(--n-500); font-variant-numeric: tabular-nums; }

/* ---------------------------- 页脚 ---------------------------- */
.cta-band + #ft footer.ft { margin-top: 0; }
footer.ft {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.62);
  margin-top: 72px;
  font-size: var(--fs-13);
}
footer.ft .top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-block: 48px 40px;
}
footer.ft h4 {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
footer.ft .brand .txt b { color: #fff; }
footer.ft .brand .txt span { color: rgba(255, 255, 255, 0.48); border-color: rgba(255, 255, 255, 0.16); }
footer.ft .brand .mark { background: rgba(255, 255, 255, 0.12); color: #fff; }
footer.ft .slogan {
  margin-top: 16px;
  max-width: 24em;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-13);
}
footer.ft .links { display: flex; flex-direction: column; gap: 10px; }
footer.ft .links a { color: rgba(255, 255, 255, 0.62); transition: color var(--t); }
footer.ft .links a:hover { color: #fff; }
footer.ft .contact .tel {
  font-size: var(--fs-22);
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
footer.ft .contact .l { line-height: 1.9; margin-top: 5px; color: rgba(255, 255, 255, 0.58); }
footer.ft .contact .ovs {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
}
footer.ft .contact .tz {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
footer.ft .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  flex-wrap: wrap;
}
footer.ft .bottom .legal { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
footer.ft .bottom a { color: rgba(255, 255, 255, 0.5); }
footer.ft .bottom a:hover { color: #fff; }

/* ---------------------------- CTA 带 ---------------------------- */
.cta-band {
  position: relative;
  background: var(--blue-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 84%;
  filter: saturate(0.85) contrast(1.02) brightness(1.05);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg, rgba(5, 20, 31, 0.94) 0%, rgba(5, 20, 31, 0.66) 46%, rgba(5, 20, 31, 0.22) 100%);
}
.cta-band .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 74px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: var(--fs-28); color: #fff; letter-spacing: -0.015em; text-wrap: balance; }
.cta-band p { font-size: var(--fs-14); color: var(--on-dark-2); margin-top: 12px; max-width: 42em; line-height: 1.85; }
.cta-band .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn {
  height: 42px;
  padding-inline: 22px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.cta-band .btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn-solid { background: #fff; border-color: #fff; color: var(--blue-900); font-weight: 600; }
.cta-band .btn-solid:hover { background: var(--blue-100); border-color: var(--blue-100); color: var(--blue-900); }

/* ---------------------------- 文档页（关于 / 条款） ---------------------------- */
.doc-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 56px;
  padding-block: 36px 80px;
  align-items: start;
}
.doc-toc { position: sticky; top: calc(var(--hdr-h) + 16px); }
.doc-toc a {
  display: block;
  padding: 7px 0 7px 12px;
  font-size: var(--fs-13);
  color: var(--n-700);
  border-inline-start: 2px solid var(--n-200);
  transition: color var(--t), border-color var(--t);
}
.doc-toc a:hover { color: var(--blue-700); border-inline-start-color: var(--blue-300); }
.doc-body { max-width: 800px; }
.doc-body section + section { margin-top: 44px; }
.doc-body h2 {
  font-size: var(--fs-18);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.doc-body p { font-size: var(--fs-14); line-height: 1.95; color: var(--n-700); margin-top: 12px; }
.doc-list { list-style: decimal; padding-inline-start: 20px; margin-top: 12px; }
.doc-list li {
  font-size: var(--fs-14);
  line-height: 1.95;
  color: var(--n-700);
  margin-top: 9px;
  padding-inline-start: 3px;
}
.doc-list li::marker { color: var(--n-400); font-variant-numeric: tabular-nums; }
.doc-list b { color: var(--n-900); font-weight: 600; }

/* ---------------------------- 窄屏 ---------------------------- */
@media (max-width: 1180px) {
  .nav a { padding-inline: 10px; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-sm { display: block; }
  .hero .wrap { padding-block: 36px 32px; }
  .hero h1 { font-size: var(--fs-26); }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .it { padding-block: 18px; }
  .stats .it:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stats .it:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .stats .meta { display: none; }
  .list-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }  .rail {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding: 18px;
    background: var(--n-50);
    border: 1px solid var(--n-200);
    border-radius: var(--r);
  }
  .detail-layout, .pub-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .side-sticky { position: static; }
  .me-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }  .me-nav {
    position: static;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }
  .me-nav a { white-space: nowrap; border-inline-start: 0; border-bottom: 2px solid transparent; border-radius: 0; justify-content: center; gap: 5px; }
  .me-nav a.on { border-inline-start: 0; border-bottom-color: var(--blue-700); background: transparent; }
  .auth { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .auth-side { padding: 32px 28px; }
  .auth-side .q { font-size: var(--fs-18); }
  .auth-side .lines { display: none; }
  footer.ft .top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .topbar .tb-l .tb-i:nth-child(n+2), .topbar .tb-sep { display: none; }
  .topbar .tb-r .hide-sm { display: none; }
  .hdr .wrap { height: 58px; gap: 10px; }
  .brand .txt span { display: none; }
  .hdr-act .who span.nm { display: none; }
  .hdr-act .lbl-hide { display: none; }
  .hero h1 { font-size: var(--fs-22); }
  .hero .lead { font-size: var(--fs-14); }
  .searchbar {
    grid-template-columns: minmax(0, 1fr) 108px;
    grid-template-rows: auto auto;
  }
  .searchbar .cell:first-child { grid-column: 1 / -1; border-inline-end: 0; border-bottom: 1px solid var(--n-200); }
  .searchbar .cell.stack { border-inline-end: 1px solid var(--n-200); }
  .searchbar .cell.stack:nth-of-type(3) { display: none; }
  .searchbar .go { height: 56px; }
  .biz-grid { grid-template-columns: minmax(0, 1fr); }
  .biz { border-inline-end: 0; border-bottom: 1px solid var(--n-200); }
  .biz:last-child { border-bottom: 0; }
  .biz .decs { min-height: 0; }
  .notice-cards { grid-template-columns: minmax(0, 1fr); }
  .ledger-tbl .c-amt, .ledger-tbl .c-tm { display: none; }
  .ledger-tbl th:nth-child(4), .ledger-tbl td:nth-child(4),
  .ledger-tbl th:nth-child(5), .ledger-tbl td:nth-child(5) { display: none; }
  .list-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .list-row .side, .list-row .act { text-align: start; padding-top: 0; }
  .list-row .side .org { justify-content: flex-start; }
  .list-row .side .amount { font-size: var(--fs-15); }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .dt-head h1 { font-size: var(--fs-18); }
  .dt-amount b { font-size: var(--fs-22); }
  .spec-table .kv { grid-template-columns: 108px minmax(0, 1fr); }
  .cta-band .wrap { padding-block: 32px; gap: 22px; }
  .cta-band h2 { font-size: var(--fs-18); }
  .cta-band .acts { width: 100%; }
  .cta-band .acts .btn { flex: 1; }
  footer.ft .top { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px 28px; }
  footer.ft { margin-top: 48px; }
}

/* ---------------------------- RTL ---------------------------- */
[dir="rtl"] .biz .samples a { padding-inline-start: 0; padding-inline-end: 11px; }
[dir="rtl"] .biz .samples a::before { inset-inline-start: auto; inset-inline-end: 0; }
[dir="rtl"] .searchbar .go { border-start-start-radius: 0; border-end-start-radius: 0; }
[dir="rtl"] .searchbar .go svg { transform: scaleX(-1); }

/* 文档页窄屏：目录转为顶部横向滚动 */
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 56px; }
  .doc-toc {
    position: static;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .doc-toc::-webkit-scrollbar { display: none; }
  .doc-toc a { white-space: nowrap; border-inline-start: 0; border-bottom: 2px solid transparent; padding: 6px 0; }
}

/* ============================================================
   窄屏适配补丁（结构级，不只是缩小字号）
   1. 顶部条与页头在 400px 下不再互相挤压
   2. 首屏检索条改为「关键词一行 + 两个下拉一行 + 全宽按钮」
   3. 列表页筛选栏在手机上收成抽屉，结果优先
   4. 台账表在窄屏用固定列宽 + 省略号，不再横向溢出
   ============================================================ */

/* 仅窄屏显示 / 仅宽屏显示 */
.only-sm { display: none; }
@media (max-width: 900px) {
  .only-sm { display: inline-flex; }
}

/* 语言切换：宽屏显示全称，窄屏收敛为首字母代码 */
.lang-btn .code { display: none; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--n-700); }

@media (max-width: 760px) {
  /* 顶部条：右侧链接在窄屏隐藏，避免与客服电话挤在一行 */
  .topbar .wrap { height: 32px; }
  .topbar .tb-r { display: none; }
  .topbar .tb-l .tb-sep { display: none; }
  .topbar .tb-l { gap: 10px; }

  /* 页头：退出改为头像进入「我的」，语言用代码，发布按钮保留文字 */
  .hdr-act #hdr-out { display: none; }
  .hdr-act .hide-sm { display: none; }
  .hdr-act .lbl-hide { display: inline; }
  .lang-btn { padding-inline: 8px; gap: 5px; }
  .lang-btn .lbl { display: none; }
  .lang-btn .code { display: inline; }
  .hdr .wrap { gap: 8px; }
  .hdr-act { gap: 6px; }

  /* 首屏检索条：三行网格，不再出现空列 */
  .searchbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 24px;
  }
  .searchbar .cell { height: 52px; padding-inline: 14px; }
  .searchbar .cell:first-child {
    grid-column: 1 / -1;
    border-inline-end: 0;
    border-bottom: 1px solid var(--n-200);
  }
  .searchbar .cell.stack { border-bottom: 1px solid var(--n-200); }
  .searchbar .cell.stack:nth-child(2) { border-inline-end: 1px solid var(--n-200); }
  .searchbar .cell.stack:nth-child(3) { border-inline-end: 0; }
  .searchbar .go {
    grid-column: 1 / -1;
    height: 50px;
    border-radius: 0 0 var(--r) var(--r);
  }
  [dir="rtl"] .searchbar .go { border-radius: 0 0 var(--r) var(--r); }

  /* 台账表：固定列宽，标题走省略号 */
  .tbl-wrap { overflow-x: auto; }
  .ledger-tbl { table-layout: fixed; }
  .ledger-tbl .c-type { width: 88px; }
  .ledger-tbl .c-cd { width: 84px; }
  .ledger-tbl th, .ledger-tbl td { padding-inline: 10px; }
  .ledger-tbl .ti b { font-size: var(--fs-13); }
}

/* ---------------------------- 列表页筛选抽屉 ---------------------------- */
.rail-sheet-h, .rail-sheet-f { display: none; }

@media (max-width: 900px) {
  .list-bar { gap: 10px; flex-wrap: wrap; }
  .list-bar .tools { gap: 8px; }
  .seg button { padding-inline: 10px; font-size: var(--fs-12); }

  .rail {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    margin: 0;
    padding: 0 0 88px;
    background: var(--n-0);
    border: 0;
    max-height: none;
    overflow-y: auto;
    grid-template-columns: minmax(0, 1fr);
  }
  .rail.open { display: block; }

  .rail-sheet-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px 18px;
    background: var(--n-0);
    border-bottom: 1px solid var(--n-200);
  }
  .rail-sheet-h b { font-size: var(--fs-15); font-weight: 600; }

  .rail.open .rail-g { padding: 14px 18px; }
  .rail.open .rail-g + .rail-g { border-top: 1px solid var(--n-100); }

  .rail-sheet-f {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--n-0);
    border-top: 1px solid var(--n-200);
  }
  .rail-sheet-f .btn { width: 100%; height: 44px; }

  body.filters-open { overflow: hidden; }
  body.filters-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(17, 36, 53, 0.42);
    z-index: 70;
  }

  #btn-filters { gap: 6px; }
  #btn-filters .n {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--blue-700);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    display: inline-grid;
    place-items: center;
  }
  #btn-filters .n:empty { display: none; }
}

/* ---------------------------- 双语排版细节 ---------------------------- */
/* 统计数字与单位之间留出间隙：中文「34 条」也可接受，英/阿语必需 */
.stats .vl small { margin-inline-start: 3px; }

/* 数字区间在 RTL 下必须按 LTR 顺序渲染（14,000–18,000 而不是 18,000–14,000） */
.amt, .dt-amount b, .cd i, .pager .info, .detail-layout .kv dd {
  unicode-bidi: isolate;
}
[dir="rtl"] .amt,
[dir="rtl"] .dt-amount b {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* 「更多 →」箭头在 RTL 下翻转 */
.more .ar { display: inline-block; transition: transform var(--t); }
[dir="rtl"] .more .ar { transform: scaleX(-1); }
[dir="rtl"] .biz-go svg { transform: scaleX(-1); }
[dir="rtl"] .crumb .sep { transform: none; }

/* ---------------------------- 页头空间预算 ---------------------------- */
/* 页头只留一个检索入口（列表页页头那个），页头右侧从「检索 + 语言 + 账号 + 发布」
   收成「语言 + 账号 + 发布」，导航不必再为检索框让位 */
.hdr .wrap { gap: 18px; }
.nav a { padding-inline: 12px; }
.nav a::after { inset-inline: 12px; }

/* 拉丁与阿拉伯语里数字与单位需要更明显的间隔（中文可紧贴） */
:root[lang="en"] .stats .vl small,
:root[lang="ar"] .stats .vl small { margin-inline-start: 6px; }

/* ============================================================
   深色版面 · 响应式
   首屏是整站分量所在，窄屏优先保「标题可读 + 数字可见 + 检索可点」
   ============================================================ */
.sect { padding-top: 68px; }

@media (max-width: 1080px) {
  .hero-inner { padding-block: 72px 52px; }
  .biz-grid { gap: 18px; }
  .biz-body { padding: 18px 18px; }
}

@media (max-width: 900px) {
  .hero-inner { padding-block: 60px 46px; }
  .hero .lead { font-size: var(--fs-15); }
  .hero-facts { gap: 8px 20px; }
  .biz-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .biz-media { aspect-ratio: 21 / 9; }
  .sect { padding-top: 52px; }
  .section-head h2 { font-size: var(--fs-24); }
}

@media (max-width: 760px) {
  .hero-search { margin-top: -30px; }
  .hero-inner { padding-block: 44px 40px; }
  .hero h1 { margin-top: 16px; }
  .hero .lead { margin-top: 14px; }
  .hero-facts { display: none; }

  /* 四个数字在 400px 下排成 2×2，分隔线只留给右侧一列 */
  .stats { margin-top: 30px; padding-top: 20px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .stats .it { padding-inline-start: 18px; }
  .stats .it:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stats .vl { font-size: var(--fs-24); }

  .section-head h2 { font-size: var(--fs-20); }
  .sect { padding-top: 44px; }
  .cta-band .wrap { padding-block: 42px; }
  .cta-band h2 { font-size: var(--fs-20); }
}

/* 关键数字的单位在深色面上要看得见（放在最后，覆盖早先的浅色规则） */
.stats .vl small { font-size: var(--fs-13); color: rgba(255, 255, 255, 0.62); margin-inline-start: 6px; }

/* RTL：渐变压暗要跟着文字走，否则阿语下标题压在亮部 */
[dir="rtl"] .hero-veil { transform: scaleX(-1); }
[dir="rtl"] .cta-band::before { transform: scaleX(-1); }
[dir="rtl"] .hero-tag::before { order: 1; }

/* ---------- 首页：入驻企业横向条 ---------- */
.co-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.cocard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px 13px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: inherit;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.cocard:hover { border-color: var(--n-300); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.cocard-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cocard-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--n-75);
  border: 1px solid var(--n-150);
  color: var(--n-700);
  font-size: var(--fs-15);
  font-weight: 700;
  overflow: hidden;
}
.cocard-logo img { width: 100%; height: 100%; object-fit: contain; }
.cocard-n {
  font-size: var(--fs-13);
  font-weight: 650;
  color: var(--n-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cocard-m { font-size: 11px; color: var(--n-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cocard-tags { display: flex; flex-wrap: wrap; gap: 4px; min-height: 18px; }
.cocard-tags span {
  font-size: 10px;
  line-height: 16px;
  padding-inline: 6px;
  border-radius: 2px;
  background: var(--n-50);
  border: 1px solid var(--n-150);
  color: var(--n-600);
  white-space: nowrap;
}
.cocard-f {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--n-100);
  font-size: 11px;
  color: var(--n-500);
}
.cocard-f b { color: var(--n-900); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 1180px) { .co-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .co-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cocard { padding: 13px 12px 11px; }
}

/* 详情页企业名链接到企业主页 */
.owner-link { color: inherit; }
.owner-link:hover { color: var(--blue-700); text-decoration: underline; }

/* ============================================================
   认证徽章 / 来源角标 / 响应时长
   三种徽章是三种不同的事实（主体真实、人到过现场、找得到人），
   所以给三种色，不做成统一的「已认证」绿。
   ============================================================ */
.bdg.trust { font-weight: 500; }
.bdg.trust::before { width: 4px; height: 4px; opacity: 0.9; }
.bdg.trust-license { color: var(--blue-700); background: var(--blue-50); border-color: var(--blue-200); }
.bdg.trust-onsite { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-bd); }
.bdg.trust-direct { color: var(--n-0); background: var(--blue-700); border-color: var(--blue-700); }
.bdg.trust-direct::before { background: var(--n-0); opacity: 0.85; }
/* 深色版面上用（页脚式区块、企业主页头图） */
.bdg.trust.plain { background: transparent; }
.bdg.trust.plain.trust-license { color: var(--blue-200); border-color: var(--on-dark-line); }
.bdg.trust.plain.trust-onsite { color: var(--ok-bd); border-color: var(--on-dark-line); }
.bdg.trust.plain.trust-direct { color: var(--n-0); border-color: var(--on-dark-line); }
.bdg.trust { cursor: help; }

/* 职位来源：企业直发 / 平台代发 —— 只交代谁发的，不褒贬 */
.tag-src { color: var(--n-600); background: transparent; border-color: var(--n-200); letter-spacing: 0.02em; }

/* 企业平均响应时长：给求职者一个「多久有回音」的预期 */
.co-resp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-12);
  color: var(--n-600);
  font-variant-numeric: tabular-nums;
}
.co-resp svg { color: var(--n-500); flex-shrink: 0; }

/* ============================================================
   底部固定风险提示条（仅招工详情）
   用 warn 语义色：看得出是「提醒」，但不是红色警报。
   body.has-riskbar 给正文补底部留白，避免盖住页脚。
   ============================================================ */
.risk-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 60;
  background: var(--warn-bg);
  border-block-start: 1px solid var(--warn-bd);
  box-shadow: 0 -6px 18px rgba(8, 30, 46, 0.06);
}
.rb-in {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 46px;
  padding-block: 8px;
}
.rb-i { display: inline-flex; color: var(--warn); flex-shrink: 0; }
.rb-t { font-size: var(--fs-12); line-height: 1.5; color: var(--warn); }
.rb-in .btn {
  flex-shrink: 0;
  color: var(--warn);
  border-color: var(--warn-bd);
  background: var(--n-0);
}
.rb-in .btn:hover { background: var(--n-0); border-color: var(--warn); color: var(--warn); }
.rb-x {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--warn);
  cursor: pointer;
  opacity: 0.6;
}
.rb-x:hover { opacity: 1; background: rgba(127, 85, 16, 0.08); }
body.has-riskbar { padding-block-end: 62px; }

@media (max-width: 560px) {
  .rb-t { font-size: var(--fs-11); }
  .rb-in { min-height: 44px; }
  body.has-riskbar { padding-block-end: 58px; }
}

/* ============================================================
   岗位对比：列表页按钮 + 底部对比栏 + 对比表
   ============================================================ */
.cmp-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding-inline: 7px;
  border: 1px solid var(--n-200);
  border-radius: var(--r-sm);
  background: var(--n-0);
  color: var(--n-600);
  font-size: var(--fs-11);
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.cmp-btn:hover { border-color: var(--blue-300); color: var(--blue-700); }
.cmp-btn.on { border-color: var(--blue-700); color: var(--blue-700); background: var(--blue-50); }
.cmp-btn svg { flex-shrink: 0; }

/* 卡片：按钮浮在右上角，压在整块链接之上 */
.ncard-wrap { position: relative; }
.ncard-wrap > .cmp-btn {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  opacity: 0;
  transition: opacity 140ms;
}
.ncard-wrap:hover > .cmp-btn,
.ncard-wrap > .cmp-btn.on { opacity: 1; }
@media (hover: none) { .ncard-wrap > .cmp-btn { opacity: 1; } }

/* 触屏上按钮只能常显（没有 hover 可以把它藏起来），于是它正好压住 .top 那一行的
   国家信息——截图里「NG · 阿联酋」被吃掉半截。这里给 .top 让出按钮的宽度，
   并把按钮从 top:10px 下移到标签的基线（原来是 10px，比 18px 内边距的标签行高 8px）。 */
@media (hover: none), (max-width: 720px) {
  .ncard .top { padding-inline-end: 64px; }
  .ncard .top > .xs {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ncard-wrap > .cmp-btn {
    inset-block-start: 15px;
    inset-inline-end: 14px;
    height: 26px;
    padding-inline: 6px;
    opacity: 1;
  }
}

.c-cmp { width: 74px; text-align: end; }
.ledger-tbl tbody tr:hover .cmp-btn { opacity: 1; }
.lt-tr .cmp-btn { opacity: .5; }
.ledger-tbl tbody tr:hover .cmp-btn { opacity: 1; }

/* 底部对比栏：与风险提示条同时存在时叠在它上面 */
.cmp-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 61;
  background: var(--n-0);
  border-block-start: 1px solid var(--n-200);
  box-shadow: 0 -8px 24px rgba(8, 30, 46, .1);
}
body.has-cmpbar { padding-block-end: 70px; }
/* 详情页：风险条在下、对比栏在上，两条都要留出空间 */
body.has-cmpbar.has-riskbar { padding-block-end: 122px; }
body.has-riskbar .cmp-bar { inset-block-end: 46px; }

.cmp-in {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 56px;
  padding-block: 9px;
}
.cmp-lb { font-size: var(--fs-12); color: var(--n-700); white-space: nowrap; }
.cmp-lb b { font-variant-numeric: tabular-nums; color: var(--blue-700); }
.cmp-items { display: flex; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.cmp-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 190px;
  height: 26px;
  padding-inline: 8px;
  border: 1px solid var(--n-200);
  border-radius: var(--r-sm);
  background: var(--n-25);
  font-size: var(--fs-11);
  color: var(--n-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmp-item button {
  border: 0;
  background: transparent;
  color: var(--n-500);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0 1px;
}
.cmp-item button:hover { color: var(--danger); }

/* 对比表 */
.cmp-wrap { overflow-x: auto; }
.cmp-tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: calc(180px + var(--cols) * 232px);
}
.cmp-tbl th, .cmp-tbl td {
  padding: 12px 14px;
  text-align: start;
  vertical-align: top;
  border-block-end: 1px solid var(--n-100);
  font-size: var(--fs-13);
}
.cmp-tbl thead th { background: var(--n-25); border-block-end: 1px solid var(--n-200); }
.cmp-corner { width: 132px; font-size: var(--fs-12); color: var(--n-500); font-weight: 500; }
.cmp-col-h { position: relative; padding-inline-end: 34px !important; min-width: 200px; }
.cmp-title {
  display: block;
  font-weight: 600;
  color: var(--n-900);
  line-height: 1.45;
}
.cmp-title:hover { color: var(--blue-700); }
.cmp-title.dead { color: var(--n-500); font-weight: 500; }
.cmp-sub { display: block; margin-top: 3px; font-size: var(--fs-11); color: var(--n-500); }
.cmp-del {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--n-500);
  cursor: pointer;
}
.cmp-del:hover { background: var(--danger-bg); color: var(--danger); }

.cmp-tbl tbody th {
  font-weight: 500;
  color: var(--n-600);
  background: var(--n-25);
  width: 132px;
  white-space: nowrap;
}
.cmp-cell small { display: block; margin-top: 3px; font-size: var(--fs-11); color: var(--n-500); }
.cmp-cell.dead { color: var(--n-500); font-style: italic; }
/* 差异行：左侧一道蓝，数据本身不变色——变色会让人以为是更好的那个 */
.cmp-tbl tr.diff th { color: var(--blue-700); box-shadow: inset 3px 0 0 var(--blue-600); }
.cmp-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-start: 5px;
  border-radius: 50%;
  background: var(--blue-600);
  vertical-align: middle;
}
.cmp-none { text-align: center; color: var(--n-500); padding-block: 26px !important; }

/* 列表页的订阅入口 */
.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding-inline: 9px;
  margin-inline-start: 8px;
  border: 1px solid var(--n-200);
  border-radius: var(--r-sm);
  background: var(--n-0);
  color: var(--n-600);
  font-size: var(--fs-12);
  cursor: pointer;
}
.sub-btn:hover { border-color: var(--blue-300); color: var(--blue-700); background: var(--blue-50); }

@media (max-width: 720px) {
  .cmp-item { max-width: 120px; }
  .cmp-lb { display: none; }
  .sub-btn span { display: none; }
}

/* ============================================================
   AI 辅助：发布页起稿面板 / 简历润色卡片
   ============================================================ */
.ai-sec { background: linear-gradient(180deg, var(--blue-50), transparent 78%); }
.ai-n { background: var(--blue-700) !important; color: var(--n-0) !important; letter-spacing: .04em; }
.ai-brief { min-height: 74px; }
.ai-acts { margin-top: 10px; }
.ai-meta { font-size: var(--fs-11); color: var(--n-500); }
.ai-log {
  margin: 12px 0 0;
  padding: 10px 12px;
  max-height: 132px;
  overflow: auto;
  border: 1px dashed var(--n-300);
  border-radius: var(--r-sm);
  background: var(--n-25);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.7;
  color: var(--n-600);
  white-space: pre-wrap;
  word-break: break-all;
}

.ai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ai-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding-inline: 7px;
  border-radius: var(--r-sm);
  background: var(--blue-700);
  color: var(--n-0);
  font-size: var(--fs-11);
  font-weight: 600;
  white-space: nowrap;
}
/* 规则生成要一眼看得出不是模型写的，别让人误以为是 AI 的功劳 */
.ai-tag.local { background: var(--n-200); color: var(--n-700); font-weight: 500; }
.ai-tip { font-size: var(--fs-11); color: var(--n-500); }

.ai-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-top: 6px;
  border: 1px solid var(--n-200);
  border-radius: var(--r-sm);
  background: var(--n-0);
}
.ai-row.applied { border-color: var(--blue-200); background: var(--blue-50); }
.ai-k {
  flex: 0 0 84px;
  font-size: var(--fs-12);
  color: var(--n-500);
}
.ai-v {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-13);
  color: var(--n-900);
  line-height: 1.6;
  word-break: break-word;
}
.ai-apply { flex-shrink: 0; }
.ai-empty {
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed var(--n-300);
  border-radius: var(--r-sm);
  font-size: var(--fs-12);
  color: var(--n-500);
}
.ai-foot { margin-top: 10px; align-items: center; }

/* 简历润色 */
.ai-loading { margin-top: 8px; font-size: var(--fs-12); color: var(--n-500); }
.ai-polish-card {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--blue-200);
  border-radius: var(--r-sm);
  background: var(--blue-50);
}
.ai-polish-text {
  margin-top: 8px;
  font-size: var(--fs-13);
  line-height: 1.9;
  color: var(--n-900);
  white-space: pre-wrap;
}
.ai-changes {
  margin: 8px 0 0;
  padding-inline-start: 18px;
  font-size: var(--fs-11);
  color: var(--n-600);
  line-height: 1.8;
}
.ai-polish-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--blue-100);
}

@media (max-width: 560px) {
  .ai-k { flex-basis: 70px; font-size: var(--fs-11); }
  .ai-row { align-items: flex-start; flex-wrap: wrap; }
}

/* ---------------- P5-1 说一句就找（列表页） ---------------- */
.nl-box {
  margin-top: 16px;
  max-width: 760px;
}
.nl-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  background: var(--n-0, #fff);
  border: 1px solid var(--blue-200, #c8d8e4);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(16, 42, 60, .04);
}
.nl-form:focus-within {
  border-color: var(--blue-500, #2A6B8F);
  box-shadow: 0 0 0 3px rgba(42, 107, 143, .12);
}
.nl-ico { display: flex; color: var(--blue-500, #2A6B8F); }
.nl-inp {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--n-900, #12262E);
  padding: 7px 0;
}
.nl-inp::placeholder { color: var(--n-400, #9BAAB4); }
.nl-form .btn { border-radius: 999px; flex: 0 0 auto; }

.nl-echo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--n-700, #46565F);
}
.nl-echo:empty { display: none; }
.nl-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--blue-600, #123F5E);
  color: #fff;
  font-size: 11px;
  letter-spacing: .02em;
  white-space: nowrap;
}
/* 本地规则版用浅色描边，一眼与「模型解析」区分开 */
.nl-tag.local {
  background: transparent;
  color: var(--blue-700, #0d3247);
  border: 1px solid var(--blue-300, #9fbfd4);
}
.nl-mean b { font-weight: 600; color: var(--n-900, #12262E); }
.nl-none { color: var(--n-500, #6B7A82); }
.nl-unknown {
  color: var(--warn, #A8621A);
  background: var(--warn-bg, #FDF6EC);
  border-radius: 4px;
  padding: 1px 6px;
}
.nl-unknown i { font-style: normal; color: var(--n-500, #6B7A82); }

/* 回显条长在深色 page-head 上（.page-head 是 --blue-900 底 + 白字），
   上面那套是按浅底写的，直接用会让「我理解成了」几乎看不见、标签变成空胶囊。
   这一组把它压回暗底配色，别删。 */
.page-head .nl-echo { color: var(--on-dark-2, rgba(255, 255, 255, .78)); }
.page-head .nl-tag {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid transparent;
}
.page-head .nl-tag.local {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
}
.page-head .nl-mean b { color: #fff; }
.page-head .nl-none { color: var(--on-dark-3, rgba(255, 255, 255, .62)); }
.page-head .nl-unknown { background: rgba(255, 255, 255, .1); color: #FFD9A8; }
.page-head .nl-unknown i { color: rgba(255, 255, 255, .6); }
.page-head .nl-echo .btn-quiet {
  background: transparent;
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.page-head .nl-echo .btn-quiet:hover { background: rgba(255, 255, 255, .14); color: #fff; }

@media (max-width: 560px) {
  .nl-form { border-radius: 12px; padding: 6px 6px 6px 10px; }
  .nl-form .btn { border-radius: 8px; }
  .nl-echo { font-size: 11.5px; }
}
