/* ==========================================================================
   洋活儿 路 V1 UI
   A calm, editorial interface for cross-border work opportunities.
   ========================================================================== */

:root {
  --paper: #f5f8fd;
  --paper-deep: #e9f1fb;
  --surface: #ffffff;
  --white: #ffffff;
  --ink: #0a1a30;
  --ink-soft: #1c2d45;
  --muted: #596b84;
  --muted-light: #61738b;
  --line: #dbe4f1;
  --line-strong: #b8c7db;
  --forest: #091c36;
  --forest-mid: #17365e;
  --green: #1b5ce0;
  --green-light: #e8f1ff;
  --lime: #bfd7ff;
  --signal: #1f63ff;
  --signal-deep: #1246c8;
  /* 琥珀标签：原 #986812 on #f8edd5 只有 4.18:1，压深字、提亮底到 ≥5:1 */
  --amber: #7a5310;
  --red: #ad3b24;
  --confirmed-bg: #e5f0e7;
  --confirmed: #185b3c;
  --negotiating-bg: #fbf5e8;
  --negotiating: #7f570d;
  --verifying-bg: #e9edeb;
  --verifying: #59645e;
  /* 对比度修正用到的颜色都收在这里，样式里不再散落十六进制 */
  --muted-on-dark: #94a6c0; /* 深色横幅上的标签与次级文字 */
  --closing-text: #e8f0ff; /* 蓝色 CTA 带正文 */
  --closing-eyebrow: #eef4ff; /* 蓝色 CTA 带 eyebrow */
  --dot-separator: #7d90ad; /* 来源行里的「·」分隔符（装饰） */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius: 8px;
  --radius-lg: 14px;
  /* ---------- 间距刻度 ----------
   * 全站的留白只用这几档，避免 5/9/12/18/22/31 这种混排：
   *   xs  6px —— 标签、图标与文字之间的微小间隔
   *   sm  8px —— 同一行控件之间的间隔
   *   md 12px —— 卡片网格的行列间隔
   *   lg 16px —— 卡片内部的段落间隔
   *   xl 24px —— 分栏间隔、卡片内边距、section 的上下留白
   *   2xl 32px —— section 的左右内边距
   *   3xl 40px —— 大区块之间的留白
   */
  --space-xs: 6px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 40px;
  /* 详情页主卡片的左右内边距：标题、段落、上下条、免责条都用它，
   * 换断点时只改这一个值，不会再出现某一块贴到卡片边框的情况。 */
  --detail-pad-x: var(--space-2xl);
  --shadow-card: 0 18px 44px rgba(10, 26, 48, 0.08);
  /* 不再写 "Inter"：这个站从来没加载过 Inter 字体文件，
   * 写进去只会在 Mac / Linux 上触发一次找不到字体的回退跳变。 */
  --font-sans: "Segoe UI Variable", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", "Consolas", "Liberation Mono",
    monospace;
  --shell: 1240px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.menu-open,
body.filters-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.page-hero h1,
.contact-hero h1,
.about-hero h1,
.account-page-head h1,
.auth-form-heading h1,
.login-wall-body h2 {
  text-wrap: balance;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xs);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Shared type, buttons and labels
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--signal);
  flex: 0 0 auto;
}

.eyebrow-inverse {
  color: #a4b3a8;
}

.eyebrow-inverse::before {
  background: var(--lime);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.demo-mark {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease,
    border-color 160ms ease, transform 160ms ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-sm {
  min-height: 37px;
  padding: 0 15px;
  font-size: 14px;
}

.btn-lg {
  min-height: 50px;
  padding: 0 24px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.text-button:hover {
  color: var(--ink);
}

.text-button .icon {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.text-button.small {
  font-size: 14px;
  color: var(--muted);
}

.text-button.small:hover {
  color: var(--ink);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 23px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.status-confirmed {
  background: var(--confirmed-bg);
  color: var(--confirmed);
}

.status-confirmed .status-dot,
.status-dot-confirmed {
  background: #2c8961;
}

.status-negotiating {
  background: var(--negotiating-bg);
  color: var(--negotiating);
}

.status-negotiating .status-dot,
.status-dot-negotiating {
  background: #c28c23;
}

.status-verifying {
  background: var(--verifying-bg);
  color: var(--verifying);
}

.status-verifying .status-dot,
.status-dot-verifying {
  background: #869089;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 7px;
  /* 卡片是白底，纯描边标签在长摘要下面几乎看不见。给一层中性蓝灰淡底：
   * 它只是「可扫的元信息」，不与状态绿、依据琥珀、计费徽章抢注意力。 */
  border: 1px solid #e3eaf5;
  border-radius: 3px;
  background: #f4f7fc;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.budget-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* --------------------------------------------------------------------------
   Demo strip, header and navigation
   -------------------------------------------------------------------------- */

.demo-strip {
  background: #081629;
  color: #b6c1ba;
}

.demo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 30px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.demo-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dce8a8;
  white-space: nowrap;
}

.demo-strip-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, 0.98);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

/* 头部外层容器：sticky 只对 #site-header 这个 77px 的盒子生效，
   盒子本身不 sticky 时，页面一滚动头部就跟着滚走（长页面尤其明显）。
   让容器 sticky，内部 .site-header 才能在整页范围内固定在顶部。 */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(10, 26, 48, 0.045);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.brand-word {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 54px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--green);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}

.login-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: color 160ms ease;
}

.login-link:hover {
  color: var(--green);
}

.header-register {
  min-height: 38px;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease;
}

.account-pill:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.avatar-small {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.avatar-large {
  width: 58px;
  height: 58px;
  font-size: 22px;
}

/* 头像里放的是人像图标（默认头像），尺寸跟着头像大小走 */
.avatar svg {
  width: 56%;
  height: 56%;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

body.menu-open .menu-toggle span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  top: 19px;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 55;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 18px 24px 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(8, 22, 41, 0.12);
}

body.menu-open .mobile-panel {
  display: block;
}

.menu-scrim {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 54;
  background: rgba(6, 18, 35, 0.46);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.mobile-nav a .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted-light);
}

.mobile-nav a.is-active {
  color: var(--green);
}

.mobile-nav-index {
  width: 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-light);
}

.mobile-panel-foot {
  padding-top: 22px;
}

.mobile-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-auth-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.mobile-auth-card span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mobile-auth-card strong {
  font-size: 16px;
}

.mobile-auth-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  text-overflow: ellipsis;
}

.mobile-auth-card .icon {
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.mobile-panel-note {
  margin-top: 18px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 78px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  opacity: 0.52;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(10, 26, 48, 0.14) 1px,
    transparent 0
  );
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}

.hero-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.hero-topmeta {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  max-width: 770px;
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-em {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: #8fb7ff;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.13em;
  text-decoration-skip-ink: none;
}

.hero-copy {
  max-width: 580px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 630px;
  min-height: 62px;
  margin-top: 31px;
  padding: 7px 7px 7px 20px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(10, 26, 48, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hero-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 16px 38px rgba(10, 26, 48, 0.1);
}

.hero-search > .icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
}

.hero-search input::placeholder {
  color: var(--muted-light);
}

.hero-search .btn {
  min-height: 46px;
  padding: 0 19px;
}

.hero-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
}

.hero-quick-label {
  margin-right: 3px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  transition: color 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.quick-link:hover {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  align-self: center;
}

.dossier {
  position: relative;
  z-index: 2;
  padding: 26px 26px 24px;
  overflow: hidden;
  background: var(--forest);
  border-radius: var(--radius);
  color: #f5f9ff;
  box-shadow: 0 24px 60px rgba(12, 33, 62, 0.18);
}

.dossier::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(191, 215, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.dossier::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 7px;
  height: 7px;
  background: var(--signal);
  pointer-events: none;
}

.dossier-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dossier-head .mono-label {
  color: #aebbb0;
}

.dossier-demo {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  color: #d8e2b1;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.dossier-title {
  position: relative;
  z-index: 1;
  margin-top: 25px;
  font-size: clamp(27px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.dossier-sub {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: #aebbb2;
  font-size: 14px;
  line-height: 1.6;
}

.dossier-list {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.dossier-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #eff2e8;
  transition: color 160ms ease;
}

.dossier-item:hover {
  color: var(--lime);
}

.dossier-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #819185;
}

.dossier-item-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dossier-cat {
  color: #8498b2;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.dossier-item-main strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-budget {
  color: #d6e0b3;
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.dossier-arrow {
  color: #73877a;
  transition: transform 160ms ease, color 160ms ease;
}

.dossier-arrow .icon {
  width: 14px;
  height: 14px;
}

.dossier-item:hover .dossier-arrow {
  color: var(--lime);
  transform: translate(2px, -2px);
}

.dossier-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.dossier-foot > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8498b2;
  font-size: 14px;
}

.dossier-foot > span .icon {
  width: 12px;
  height: 12px;
  color: var(--lime);
}

.dossier-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e7edd9;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding-bottom: 2px;
}

.dossier-foot a:hover {
  color: var(--lime);
}

.dossier-foot a .icon {
  width: 13px;
  height: 13px;
}

.dossier-layer {
  position: absolute;
  z-index: 1;
  border: 1px solid #d0ccbe;
  border-radius: var(--radius);
  background: #eae6da;
  pointer-events: none;
}

.dossier-layer-one {
  top: 10px;
  left: 12px;
  right: -9px;
  bottom: -9px;
}

.dossier-layer-two {
  top: 20px;
  left: 23px;
  right: -17px;
  bottom: -17px;
  background: transparent;
  border-color: #d9d5c7;
}

.dossier-caption {
  position: absolute;
  left: 16px;
  bottom: -35px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Sections and task cards
   -------------------------------------------------------------------------- */

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-latest {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-title-wrap {
  min-width: 0;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(34px, 3.4vw, 45px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.26;
}

.section-head h2 em {
  font-style: normal;
  color: var(--green);
}

.section-desc {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-aside {
  flex: 0 0 auto;
  padding-bottom: 3px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}

.task-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 322px;
  padding: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.task-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.task-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}

.task-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-title {
  display: block;
  color: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.task-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

.task-title:hover {
  color: var(--green);
}

.task-summary {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.task-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.task-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.featured-grid .task-card .task-card-foot {
  margin-top: 20px;
}

.task-budget {
  min-width: 0;
}

.task-budget strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.task-foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-left: auto;
  text-align: right;
}

.task-open {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease,
    border-color 160ms ease, transform 160ms ease;
}

.task-open .icon {
  width: 13px;
  height: 13px;
}

.task-card:hover .task-open {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translate(1px, -1px);
}

.task-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}

.task-duration .icon {
  width: 12px;
  height: 12px;
}

.task-date {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.task-card-dark {
  background: var(--forest);
  border-color: var(--forest);
  color: #f5f9ff;
}

.task-card-dark:hover {
  border-color: var(--forest-mid);
  box-shadow: 0 24px 50px rgba(10, 26, 48, 0.18);
}

.task-card-dark .task-title {
  font-size: clamp(26px, 2.25vw, 32px);
  line-height: 1.32;
}

.task-card-dark .task-title:hover {
  color: var(--lime);
}

.task-card-dark .task-summary {
  color: #b7c3ba;
  font-size: 14px;
}

.task-card-dark .task-kicker {
  color: #9aab9e;
}

.task-card-dark .demo-mark {
  border-color: rgba(255, 255, 255, 0.17);
  color: #a9b9ad;
}

.task-card-dark .skill-tag {
  border-color: rgba(255, 255, 255, 0.16);
  color: #c2cec5;
}

.task-card-dark .task-card-foot {
  border-color: rgba(255, 255, 255, 0.14);
}

.task-card-dark .budget-label {
  color: #93a79a;
}

.task-card-dark .task-budget strong {
  color: var(--lime);
}

.task-card-dark .task-duration,
.task-card-dark .task-date {
  color: #9aab9f;
}

.task-card-dark .task-open {
  border-color: rgba(255, 255, 255, 0.18);
  color: #a6b5aa;
}

.task-card-dark:hover .task-open {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.task-card-dark .status-confirmed {
  background: rgba(191, 215, 255, 0.14);
  color: #dbef9e;
}

.task-card-dark .status-confirmed .status-dot {
  background: #cde98b;
}

.task-card-dark .status-negotiating {
  background: rgba(239, 192, 96, 0.13);
  color: #efd08f;
}

.task-card-dark .status-negotiating .status-dot {
  background: #e2b452;
}

.task-card-dark .status-verifying {
  background: rgba(210, 221, 213, 0.12);
  color: #c9d2cb;
}

.task-card-dark .status-verifying .status-dot {
  background: #a9bad2;
}

/* Latest list ------------------------------------------------------------------ */

.latest-list {
  border-top: 1px solid var(--line);
}

.latest-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 120px 92px 80px 24px;
  align-items: center;
  gap: 18px;
  margin: 0 -12px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.latest-row:hover {
  background: #f5f2eb;
}

.latest-index {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.latest-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.latest-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.latest-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-strong);
}

.latest-main > strong {
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms ease;
}

.latest-row:hover .latest-main > strong {
  color: var(--green);
}

.latest-skills {
  display: flex;
  gap: 4px;
  margin-top: 1px;
}

.latest-skills .skill-tag {
  min-height: 18px;
  padding: 1px 5px;
  border-color: transparent;
  color: var(--muted-light);
  font-size: 14px;
}

.latest-skills .skill-tag::before {
  content: "#";
  margin-right: 1px;
  opacity: 0.55;
}

.latest-budget {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-family: var(--font-mono);
}

.latest-budget small {
  color: var(--muted-light);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.latest-budget strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.latest-status {
  justify-self: start;
}

.latest-date {
  color: var(--muted-light);
  font-size: 14px;
  text-align: right;
}

.latest-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.latest-arrow .icon {
  width: 12px;
  height: 12px;
}

.latest-row:hover .latest-arrow {
  color: var(--green);
  border-color: var(--green);
  transform: translate(1px, -1px);
}

/* Skills grid ------------------------------------------------------------------ */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.skill-card {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease,
    border-color 180ms ease, transform 180ms ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background: var(--forest);
  border-color: var(--forest);
  color: #f5f9ff;
}

.skill-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.skill-code {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.skill-count {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.skill-name {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.skill-desc {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transition: color 180ms ease;
}

.skill-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease;
}

.skill-card-bottom .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.skill-card:hover .skill-count,
.skill-card:hover .skill-desc,
.skill-card:hover .skill-card-bottom {
  color: #aebdb2;
}

.skill-card:hover .skill-card-bottom {
  border-color: rgba(255, 255, 255, 0.14);
}

.skill-card:hover .skill-card-bottom .icon {
  color: var(--lime);
}

/* Process ---------------------------------------------------------------------- */

.process-section {
  padding: 92px 0;
  background: var(--forest);
  color: #f5f9ff;
  border-bottom: 1px solid #17335b;
}

.process-section .eyebrow {
  color: #9eb1ca;
}

.process-section .eyebrow::before {
  background: var(--lime);
}

.process-section .section-head h2 {
  color: #f5f9ff;
}

.process-section .section-desc {
  color: #a9bad2;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
}

.process-step {
  position: relative;
  padding: 26px 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step + .process-step {
  padding-left: 26px;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--lime);
}

.process-step + .process-step::before {
  left: 26px;
}

.process-num {
  color: #91a5c0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-top: 37px;
  color: #f5f9ff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.process-step p {
  max-width: 240px;
  margin-top: 10px;
  color: #9eb1ca;
  font-size: 14px;
  line-height: 1.8;
}

.process-icon {
  position: absolute;
  top: 18px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--lime);
}

.process-icon .icon {
  width: 14px;
  height: 14px;
}

.process-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #a8b9d1;
  font-size: 14px;
  line-height: 1.65;
}

.process-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--lime);
}

/* Values ----------------------------------------------------------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.value-card {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green);
}

.value-icon .icon {
  width: 17px;
  height: 17px;
}

.value-index {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.value-card h3 {
  margin-top: 25px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.value-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.value-card-foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.value-card-foot .icon {
  width: 12px;
  height: 12px;
}

/* FAQ -------------------------------------------------------------------------- */

.faq-section {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 88px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  margin-top: 12px;
  font-size: clamp(34px, 3.4vw, 45px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.26;
}

.faq-intro > p {
  max-width: 360px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.faq-contact {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.faq-contact span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.faq-contact strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 600;
}

.faq-contact a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.faq-contact a .icon {
  width: 13px;
  height: 13px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.faq-question > span:nth-child(2) {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
  transition: color 160ms ease;
}

.faq-question:hover > span:nth-child(2),
.faq-item.is-open .faq-question > span:nth-child(2) {
  color: var(--green);
}

.faq-index {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.faq-toggle {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, background 160ms ease;
}

.faq-toggle::after {
  width: 1px;
  height: 8px;
}

.faq-item.is-open .faq-toggle {
  background: var(--ink);
  border-color: var(--ink);
}

.faq-item.is-open .faq-toggle::before,
.faq-item.is-open .faq-toggle::after {
  background: var(--paper);
}

.faq-item.is-open .faq-toggle::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 38px 24px 42px;
}

.faq-answer p {
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Closing band ----------------------------------------------------------------- */

.closing {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--signal);
  color: #f6f9ff;
}

.closing::before {
  content: "鈫?;
  position: absolute;
  right: 4%;
  bottom: -65px;
  color: transparent;
  font-family: var(--font-mono);
  font-size: 302px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.18;
  -webkit-text-stroke: 1px #f6f9ff;
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.closing .eyebrow {
  color: #d5e4ff;
}

.closing .eyebrow::before {
  background: #f6f9ff;
}

.closing h2 {
  max-width: 680px;
  margin-top: 14px;
  color: #f6f9ff;
  font-size: clamp(36px, 4.4vw, 59px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.06em;
}

.closing p {
  max-width: 550px;
  margin-top: 14px;
  color: #c9dcff;
  font-size: 16px;
  line-height: 1.8;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  flex: 0 0 auto;
  padding-bottom: 4px;
}

.closing .btn-primary {
  background: #f8fbff;
  border-color: #f8fbff;
  color: var(--ink);
}

.closing .btn-primary:hover {
  background: #fff;
  border-color: #fff;
}

.closing .btn-secondary {
  border-color: rgba(255, 248, 237, 0.52);
  color: #f8fbff;
}

.closing .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f8fbff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  overflow: hidden;
  padding: 68px 0 24px;
  background: #081629;
  color: #a4b5cd;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 20px;
  color: #8ca0b9;
  font-size: 14px;
  line-height: 1.85;
}

.brand-inverse .brand-mark {
  /* logo 自带深色底对比度足够，不再加浅色底板，与浅色头部保持一致 */
  background: transparent;
}

.brand-inverse .brand-word {
  color: #f4f8ff;
}

.footer-demo {
  display: inline-flex;
  margin-top: 20px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #8ea2bb;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.09em;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-column h2,
.footer-column h3 {
  margin-bottom: 15px;
  color: #dbe7f7;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  padding: 5px 0;
  color: #8fa3bd;
  font-size: 14px;
  transition: color 160ms ease;
}

.footer-column a:hover {
  color: #f4f8ff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #71839b;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* 版权固定住，来源说明吃掉剩余宽度：
 * 原来给来源说明限 480px 还右对齐，长句会被压成三行、最后只剩「者。」一个字，
 * 看起来像排版坏了。改成左对齐、不限宽，长句按正常断行换行。 */
.footer-bottom > span:first-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer-bottom > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  text-align: left;
  text-wrap: pretty;
}

/* 平台名是一个词，别在名字中间断开（如 Working / Nomads） */
.footer-sources a {
  white-space: nowrap;
}

.footer-wordmark {
  margin: 46px 0 -18px;
  color: transparent;
  font-size: clamp(46px, 10vw, 152px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.55;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.095);
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Page hero shared
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 64px;
  align-items: end;
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 14px;
  font-size: clamp(44px, 4.9vw, 66px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.22;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--green);
}

.page-hero-copy {
  max-width: 600px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.page-hero-meta .icon {
  width: 12px;
  height: 12px;
}

.status-mini-panel {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-mini-panel > span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-mini-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.status-mini-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}

.status-mini-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.status-mini-row .status-badge {
  flex: 0 0 58px;
  justify-content: center;
}

.status-mini-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Task board
   -------------------------------------------------------------------------- */

.board-search {
  max-width: 760px;
  margin-top: 24px;
}

.board-section {
  padding: 28px 0 90px;
}

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.board-count {
  color: var(--muted);
  font-size: 14px;
}

.board-count strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-mobile-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.filter-mobile-trigger .icon {
  width: 14px;
  height: 14px;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 14px;
}

.sort-wrap select {
  height: 36px;
  padding: 0 29px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.sort-wrap select:focus {
  border-color: var(--green);
}

.task-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.filters {
  position: sticky;
  top: 98px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-width: thin;
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filters-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-head h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.reset-filters {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-light);
  font-size: 14px;
}

.reset-filters:hover {
  color: var(--signal);
}

.filter-close {
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.filter-close .icon {
  width: 13px;
  height: 13px;
  margin: auto;
}

.filter-group {
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.filter-group h3 {
  margin-bottom: 8px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 31px;
  padding: 4px 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  transition: color 140ms ease, background 140ms ease;
}

.filter-option > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-option:hover {
  background: var(--paper);
  color: var(--ink);
}

.filter-option.is-active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
}

.filter-count {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.filter-option.is-active .filter-count {
  color: var(--green);
}

.filter-option .status-dot {
  width: 5px;
  height: 5px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-chip {
  min-height: 27px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  transition: color 140ms ease, background 140ms ease,
    border-color 140ms ease;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-note {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

.filter-apply {
  display: none;
  width: 100%;
  margin-top: 20px;
}

.filter-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 18, 35, 0.46);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
}

.active-filter-label {
  margin-right: 2px;
  color: var(--muted-light);
  font-size: 14px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 2px 7px 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.active-chip .icon {
  width: 11px;
  height: 11px;
  color: var(--muted-light);
}

.active-chip:hover {
  border-color: var(--line-strong);
}

.clear-all {
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-all:hover {
  color: var(--signal);
}

.task-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.task-results .task-card {
  min-height: 286px;
}

.task-results .task-title {
  font-size: 20px;
}

.task-results .task-summary {
  -webkit-line-clamp: 2;
}

.task-results.is-empty {
  display: block;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 46px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.empty-icon .icon {
  width: 20px;
  height: 20px;
}

.empty-state h2,
.empty-state h1,
.empty-state h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 390px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.empty-state .btn {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Task detail
   -------------------------------------------------------------------------- */

.detail-page {
  padding: 22px 0 90px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 3px 0 23px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 160ms ease;
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb span:last-child {
  color: var(--ink);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 26px;
  align-items: start;
}

.detail-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-head {
  /* 左右跟 section 共用 --detail-pad-x：标题和段落内容的左边缘落在同一条线上 */
  padding: 34px var(--detail-pad-x) 31px;
  background: var(--surface);
}

.detail-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-kicker > span:first-child {
  color: var(--green);
}

.detail-kicker .demo-mark {
  margin-left: 1px;
}

.detail-id {
  margin-left: auto;
  color: var(--muted-light);
}

.detail-head h1 {
  max-width: 790px;
  margin-top: 17px;
  font-size: clamp(32px, 3.2vw, 43px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.detail-lead {
  max-width: 670px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 17px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 14px;
}

.detail-meta-row > span:not(.status-badge) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-meta-row .icon {
  width: 12px;
  height: 12px;
}

.detail-section {
  /* 上下 24 / 左右 --detail-pad-x：段落之间 48px，段内 h2 到内容 14–18px，比例不再一边倒 */
  padding: var(--space-xl) var(--detail-pad-x);
  border-top: 1px solid var(--line);
}

.detail-section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-section-label span {
  color: var(--signal);
}

.detail-section h2 {
  margin-top: 9px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.detail-body-copy {
  max-width: 690px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
  /* 原帖正文里自带换行（「薪资：…\n地点：…」这类短行），
     按纯文本折行保留，不要压成一句连着的长句。 */
  white-space: pre-line;
}

.scope-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 19px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.scope-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--green);
}

.deliverable-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.deliverable-item {
  display: grid;
  /* 序号列按内容实际宽度走（两位数约 17px），不要固定 36px：
   * 固定宽度会让序号和正文之间空出 30px 左右的洞。 */
  grid-template-columns: minmax(18px, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.deliverable-index {
  color: var(--signal);
  font-family: var(--font-mono);
  /* 与正文同号、同行高，序号才不会比正文小一截、基线也才对得齐 */
  font-size: 16px;
  line-height: 1.7;
  text-align: right;
}

.detail-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.detail-skills .skill-tag {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 14px;
}

.requirement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 21px;
}

.requirement-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.requirement-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--green);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.spec-card {
  padding: 15px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

/* 只作用于标题行。图标瓦片同样是 .spec-card 的直接 span 子元素，
 * 用 .spec-card > span 会把瓦片一起命中，覆盖掉它的居中与主题色。 */
.spec-card > .spec-card-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 14px;
}

.spec-card strong {
  display: block;
  margin-top: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.spec-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.source-panel {
  margin-top: 18px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

.source-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.source-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green);
}

.source-icon .icon {
  width: 14px;
  height: 14px;
}

.source-panel-head > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.source-panel-head strong {
  font-size: 14px;
  font-weight: 600;
}

.source-panel-head div span {
  color: var(--muted-light);
  font-size: 14px;
}

.source-panel-head .demo-mark {
  margin-left: auto;
}

.source-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 22px;
  margin-top: 15px;
}

.source-list dt {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.source-list dd {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 14px;
}

.source-disclaimer {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}


.detail-disclaimer {
  display: flex;
  gap: 9px;
  margin: 0 var(--detail-pad-x) var(--space-2xl);
  padding: 13px 14px;
  background: #f5eee5;
  border: 1px solid #eaded1;
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detail-disclaimer > .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 1px;
  color: var(--amber);
}

.detail-disclaimer strong {
  color: var(--ink);
}

.detail-aside {
  position: sticky;
  top: 98px;
}

.action-card {
  padding: var(--space-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(10, 26, 48, 0.04);
}

.action-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.action-card-cat {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.action-budget {
  margin-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.action-budget strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.action-budget strong small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.action-budget p {
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.6;
}

.action-card > .btn {
  margin-top: 20px;
}

.action-secondary-link {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.action-secondary-link:hover {
  color: var(--green);
}

.action-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.action-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.action-points .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.action-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.action-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.action-meta dt {
  color: var(--muted-light);
  font-size: 14px;
}

.action-meta dd {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: right;
}

.aside-demo-note {
  margin-top: 13px;
  padding: 0 4px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.75;
}

.related-section {
  padding: 66px 0 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.related-section .section-head {
  margin-bottom: 24px;
}

.related-section .section-head h2 {
  font-size: 34px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-not-found {
  margin: 30px 0;
}

.mobile-consult-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   Auth
   -------------------------------------------------------------------------- */

.auth-page {
  padding: 44px 0 78px;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(10, 26, 48, 0.07);
}

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 690px;
  padding: 40px;
  overflow: hidden;
  background: var(--forest);
  color: #f5f9ff;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.16) 1px,
    transparent 0
  );
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(145deg, #000, transparent 76%);
  mask-image: linear-gradient(145deg, #000, transparent 76%);
}

.auth-visual::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(191, 215, 255, 0.17);
  border-radius: 50%;
}

.auth-visual > * {
  position: relative;
  z-index: 1;
}

.auth-visual-top .brand-word {
  color: #f5f9ff;
}

.auth-visual-top .brand-mark {
  /* logo 自带深色底对比度足够，不再加浅色底板，与浅色头部保持一致 */
  background: transparent;
}

.auth-visual-copy {
  margin-top: auto;
  padding-top: 60px;
}

.auth-visual-copy .eyebrow {
  color: #8ea3bd;
}

.auth-visual-copy .eyebrow::before {
  background: var(--lime);
}

.auth-visual h2 {
  margin-top: 16px;
  color: #f5f9ff;
  font-size: clamp(35px, 3.5vw, 47px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.auth-visual h2 em {
  font-style: normal;
  color: var(--lime);
}

.auth-visual-copy > p {
  max-width: 340px;
  margin-top: 16px;
  color: #a6b8d2;
  font-size: 14px;
  line-height: 1.85;
}

.auth-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 38px;
}

.auth-flow-step {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-flow-step span {
  color: #bfd7ff;
  font-family: var(--font-mono);
  font-size: 14px;
  padding-top: 2px;
}

.auth-flow-step strong {
  color: #e6eefb;
  font-size: 14px;
  font-weight: 500;
}

.auth-visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  color: #8497b0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-panel {
  padding: 46px 54px;
}

.session-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 12px;
  background: var(--green-light);
  border: 1px solid #cbdcf4;
  border-radius: var(--radius-xs);
}

.session-note > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.session-note strong {
  overflow: hidden;
  color: var(--green);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-note span {
  color: #496482;
  font-size: 14px;
}

.session-note a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.session-note a .icon {
  width: 11px;
  height: 11px;
}

.auth-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 600;
}

.auth-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  transition: background 160ms ease;
}

.auth-tabs button.is-active {
  color: var(--ink);
}

.auth-tabs button.is-active::after {
  background: var(--ink);
}

.auth-form-heading {
  margin-top: 26px;
}

.auth-form-heading h1 {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

.auth-form-heading p {
  max-width: 370px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.field-label em {
  margin-left: 3px;
  color: var(--muted-light);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 102px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a4aaa5;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 99, 255, 0.10);
}

.field input[readonly] {
  background: var(--paper);
  color: var(--muted);
  cursor: default;
}

.field select {
  appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 62px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--ink);
}

.form-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.check-field input {
  width: 13px;
  height: 13px;
  min-height: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--green);
}

.auth-check {
  margin-top: 1px;
}

.field-error {
  min-height: 0;
  margin: -2px 0 0;
  color: var(--red);
  font-size: 14px;
  line-height: 1.6;
}

.field-error:empty {
  display: none;
}

.auth-form > .btn {
  margin-top: 2px;
}

.form-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.65;
}

.form-demo-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--green);
}

.form-hint {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

.auth-profile-block {
  margin-top: 2px;
  padding: 15px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

.auth-profile-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.auth-profile-hint {
  color: var(--muted-light);
  font-size: 14px;
  white-space: nowrap;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  transition: color 140ms ease, background 140ms ease,
    border-color 140ms ease;
}

.choice-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.choice-code {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.choice-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}

.choice-chip.is-active .choice-code {
  color: #c7ddff;
}

.auth-profile-block .form-grid-two {
  margin-top: 11px;
}

.auth-profile-block .form-hint {
  margin-top: 9px;
}

.auth-divider {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 23px 0 15px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 10px;
  background: var(--surface);
}

.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.social-auth button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted-light);
  font-size: 14px;
  opacity: 0.7;
}

.social-g {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.social-apple {
  font-size: 14px;
}

.social-note {
  margin-top: 8px;
  color: var(--muted-light);
  font-size: 14px;
  text-align: center;
}

.auth-switch {
  margin-top: 23px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.auth-switch .text-button {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-page {
  padding: 54px 0 90px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 70px;
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.contact-hero h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(45px, 5vw, 69px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.06em;
}

.contact-hero h1 em {
  font-style: normal;
  color: var(--green);
}

.contact-hero p {
  max-width: 560px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.contact-hero-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: var(--forest);
  color: #b1bfb4;
  border-radius: var(--radius);
}

.contact-hero-note span {
  color: #8fa195;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-hero-note strong {
  display: block;
  margin-top: 10px;
  color: #f4f8ff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.contact-hero-note p {
  margin-top: 9px;
  color: #8ea1ba;
  font-size: 14px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
  padding-top: 40px;
}

.contact-form-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form-card .eyebrow {
  margin-bottom: 7px;
}

.contact-form-card h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.contact-form-intro {
  max-width: 520px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form .check-field {
  margin-top: 2px;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 3px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channels {
  padding: 25px;
  background: var(--forest);
  color: #f1f6ff;
  border-radius: var(--radius);
}

.contact-channels .mono-label {
  color: #8ea2bb;
}

.contact-channels h2 {
  margin-top: 8px;
  color: #f5f9ff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.contact-channel {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--lime);
}

.contact-icon .icon {
  width: 12px;
  height: 12px;
}

.contact-channel > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-channel span {
  color: #8ea2bb;
  font-size: 14px;
}

.contact-channel strong {
  color: #e2ebf8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  word-break: break-word;
}

.contact-placeholder-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8498b2;
  font-size: 14px;
  line-height: 1.7;
}

.contact-flow-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-flow-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  margin-top: 13px;
}

.contact-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.contact-step span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
  padding-top: 2px;
}

.contact-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-note-card {
  padding: 17px 20px;
  background: #f2ece2;
  border: 1px solid #e5d9c9;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-note-card strong {
  color: var(--ink);
}

.contact-success {
  max-width: 520px;
  padding: 25px 0;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
}

.success-mark .icon {
  width: 20px;
  height: 20px;
}

.contact-success h2,
.modal-success h2 {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.contact-success > p,
.modal-success > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.success-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-xs);
}

.success-reference span {
  color: var(--muted-light);
  font-size: 14px;
}

.success-reference strong {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.contact-success-actions,
.modal-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.demo-fineprint {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-light) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.contact-more {
  padding: 66px 0 0;
  margin-top: 66px;
  border-top: 1px solid var(--line);
}

.contact-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.contact-more-item {
  padding-top: 17px;
  border-top: 1px solid var(--ink);
}

.contact-more-item span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
}

.contact-more-item h3 {
  margin-top: 11px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-more-item p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Account
   -------------------------------------------------------------------------- */

.account-page {
  padding: 46px 0 90px;
}

.account-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.account-page-head h1 {
  margin-top: 10px;
  font-size: clamp(37px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.account-page-head p {
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.account-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-top: 28px;
}

.account-sidebar {
  position: sticky;
  top: 98px;
}

.account-profile-card {
  padding: 24px;
  background: var(--forest);
  color: #eef5ff;
  border-radius: var(--radius);
}

.account-profile-card .avatar {
  background: var(--paper);
  color: var(--ink);
}

.account-profile-card h2 {
  margin-top: 17px;
  color: #f5f9ff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.account-profile-card p {
  margin-top: 3px;
  overflow: hidden;
  color: #93a8c0;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-since {
  display: inline-flex;
  margin-top: 13px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #8498b2;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.account-nav {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-size: 14px;
  transition: color 140ms ease, background 140ms ease;
}

.account-nav a span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.account-nav a em {
  margin-left: auto;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  font-style: normal;
}

.account-nav a:hover,
.account-nav a.is-active {
  background: var(--green-light);
  color: var(--green);
}

.account-nav a:hover span,
.account-nav a.is-active span {
  color: var(--green);
}

.account-logout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 8px 3px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.account-logout:hover {
  color: var(--signal);
}

.account-logout .icon {
  width: 13px;
  height: 13px;
}

.account-main {
  min-width: 0;
}

.account-section {
  scroll-margin-top: 105px;
  padding: 28px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.account-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}

.account-section-heading h2 {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.account-section-heading .text-link {
  flex: 0 0 auto;
  font-size: 14px;
}

.section-count {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.summary-card {
  display: flex;
  flex-direction: column;
  min-height: 133px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

.summary-card > span {
  color: var(--muted);
  font-size: 14px;
}

.summary-card strong {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.summary-card small {
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.5;
}

.summary-card-note strong {
  font-family: var(--font-sans);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.inquiry-list {
  display: flex;
  flex-direction: column;
}

.inquiry-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.inquiry-card:last-child {
  padding-bottom: 0;
}

.inquiry-card-main {
  min-width: 0;
}

.inquiry-kicker {
  display: block;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inquiry-card-main a,
.inquiry-card-main > strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
  transition: color 150ms ease;
}

.inquiry-card-main a:hover {
  color: var(--green);
}

.inquiry-card-main p {
  display: -webkit-box;
  max-width: 560px;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.inquiry-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--muted-light);
  font-size: 14px;
  text-align: right;
}

.inquiry-card-meta .status-badge {
  min-height: 20px;
  font-size: 14px;
}

.account-empty {
  padding: 42px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xs);
  text-align: center;
}

.account-empty .empty-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 13px;
}

.account-empty .empty-icon .icon {
  width: 17px;
  height: 17px;
}

.account-empty h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.account-empty p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.account-empty .btn {
  margin-top: 18px;
}

.profile-edit-button {
  flex: 0 0 auto;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 150ms ease, border-color 150ms ease;
}

.profile-edit-button:hover {
  color: var(--green);
  border-color: var(--green);
}

.profile-intro {
  max-width: 700px;
  margin: -3px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.profile-view {
  border-top: 1px solid var(--line);
  padding-top: 19px;
}

.profile-block + .profile-block,
.profile-meta-grid + .profile-block {
  margin-top: 17px;
}

.profile-block .mono-label {
  display: block;
  margin-bottom: 8px;
}

.profile-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-category-tags > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--green-light);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}

.profile-category-tags > .profile-missing {
  background: transparent;
  color: var(--muted-light);
  padding-left: 0;
  font-weight: 400;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 17px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.profile-meta-grid > div {
  min-height: 67px;
  padding: 11px 12px;
  background: var(--surface);
}

.profile-meta-grid dt {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.profile-meta-grid dd {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.profile-meta-grid a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--green);
  border-bottom: 1px solid #b9d2f7;
  padding-bottom: 1px;
}

.profile-meta-grid a .icon {
  width: 10px;
  height: 10px;
}

.profile-missing {
  color: var(--muted-light);
  font-size: 14px;
}

.profile-bio {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.profile-bio p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
}

.profile-updated {
  margin-top: 15px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.profile-empty {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xs);
}

.profile-empty .empty-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin: 0;
}

.profile-empty .empty-icon .icon {
  width: 17px;
  height: 17px;
}

.profile-empty-copy {
  min-width: 0;
}

.profile-empty-copy h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.profile-empty-copy p {
  max-width: 530px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.profile-empty .btn {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.profile-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.profile-fieldset legend {
  margin-bottom: 9px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.profile-fieldset legend em {
  color: var(--muted-light);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.profile-fieldset .choice-chip {
  font-size: 14px;
}

.profile-form .field textarea {
  min-height: 72px;
}

.profile-form .form-hint {
  margin-top: -2px;
}

.profile-form .settings-actions {
  margin-top: 3px;
}

.inquiry-profile {
  margin-top: 14px;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

.inquiry-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inquiry-profile-head > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.inquiry-profile-head .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.inquiry-profile-head a {
  color: var(--green);
  font-size: 14px;
  border-bottom: 1px solid #b9d2f7;
}

.inquiry-profile > p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.inquiry-profile-empty {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  background: #f7f2e8;
  border-color: #eadfce;
}

.inquiry-profile-empty > .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--amber);
}

.inquiry-profile-empty > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.inquiry-profile-empty > p strong {
  color: var(--ink);
}

.inquiry-profile-empty > a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.inquiry-profile-empty > a .icon {
  width: 11px;
  height: 11px;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.readonly-note {
  min-height: 47px;
  padding: 12px 13px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.65;
}

.settings-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 2px;
}

.settings-actions span {
  color: var(--muted-light);
  font-size: 14px;
}

/* 更换登录邮箱：面板展开后与上面的昵称/邮箱行区分开 */
.email-change {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

.email-change[hidden] {
  display: none;
}

.email-change .settings-actions {
  margin-top: 0;
}

.login-wall {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 500px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.login-wall-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}

.login-wall-art::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(191, 215, 255, 0.18);
  border-radius: 50%;
}

.login-wall-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.login-wall-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: #a6b9d1;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: -0.045em;
}

.login-wall-line {
  position: relative;
  z-index: 1;
  width: 55px;
  height: 3px;
  margin-top: 22px;
  background: var(--signal);
}

.login-wall-meta {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  color: #8497b0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.login-wall-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
}

.login-wall-body h2 {
  max-width: 520px;
  margin-top: 14px;
  font-size: clamp(33px, 3.5vw, 47px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.login-wall-body > p {
  max-width: 440px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.login-wall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.login-wall-body .form-demo-note {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.categories-page {
  padding-bottom: 88px;
}

.category-section {
  padding-top: 35px;
}

.category-directory {
  border-top: 1px solid var(--ink);
}

.category-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 220px 105px 34px;
  gap: 24px;
  align-items: center;
  padding: 26px 10px;
  margin: 0 -10px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.category-row:hover {
  background: var(--surface);
}

.category-index {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
}

.category-main {
  min-width: 0;
}

.category-code {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.category-main h2 {
  margin-top: 4px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.category-main h2 a:hover {
  color: var(--green);
}

.category-main p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category-samples span {
  display: inline-flex;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.category-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.category-count strong {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.category-count span {
  color: var(--muted-light);
  font-size: 14px;
}

.category-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.category-arrow .icon {
  width: 14px;
  height: 14px;
}

.category-row:hover .category-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.category-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-top: 54px;
  padding: 30px;
  background: var(--forest);
  color: #eef5ff;
  border-radius: var(--radius);
}

.category-note h2 {
  color: #f5f9ff;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.category-note p {
  color: #8fa3bd;
  font-size: 14px;
  line-height: 1.85;
}

.category-note .btn {
  margin-top: 17px;
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.category-note .btn:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.category-status-list {
  display: flex;
  flex-direction: column;
}

.category-status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.category-status-item span:last-child {
  color: #8fa3bd;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   About / platform introduction
   -------------------------------------------------------------------------- */

.about-page {
  padding-bottom: 88px;
}

.about-hero {
  padding: 60px 0 54px;
  border-bottom: 1px solid var(--line);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 0.85fr;
  gap: 80px;
  align-items: end;
}

.about-hero h1 {
  max-width: 850px;
  margin-top: 14px;
  font-size: clamp(47px, 5.6vw, 77px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.065em;
}

.about-hero h1 em {
  font-style: normal;
  color: var(--green);
}

.about-hero-copy {
  padding-bottom: 5px;
}

.about-hero-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.about-hero-copy .about-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
}

.about-hero-meta span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.about-section {
  padding: 66px 0;
  border-bottom: 1px solid var(--line);
}

.about-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.about-section-head h2 {
  margin-top: 10px;
  font-size: clamp(32px, 3.3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.about-section-head > p {
  max-width: 400px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.about-manifesto {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 55px;
  padding: 38px;
  background: var(--forest);
  color: #eef5ff;
  border-radius: var(--radius);
}

.about-manifesto-label {
  color: #8ea2bb;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-manifesto h2 {
  margin-top: 13px;
  color: #f5f9ff;
  font-size: clamp(29px, 3.2vw, 41px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.about-manifesto-copy {
  padding-top: 8px;
}

.about-manifesto-copy p {
  color: #a7b8d0;
  font-size: 14px;
  line-height: 1.95;
}

.about-manifesto-copy p + p {
  margin-top: 13px;
}

.about-manifesto-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.about-manifesto-mark .icon {
  width: 13px;
  height: 13px;
}

.do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.do-card {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.do-card.is-negative {
  border-top-color: var(--line-strong);
}

.do-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.do-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.do-card-head span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.07em;
}

.do-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
}

.do-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.do-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--green);
}

.do-card.is-negative .do-list .icon {
  color: var(--muted-light);
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.about-principle {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-principle span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
}

.about-principle h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.about-principle p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.status-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.status-card {
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: var(--radius);
}

.status-card.status-card-confirmed {
  border-top-color: #2c8961;
}

.status-card.status-card-negotiating {
  border-top-color: #c28c23;
}

.status-card.status-card-verifying {
  border-top-color: #869089;
}

.status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.status-card-top > span {
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.status-card h3 {
  margin-top: 19px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.status-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.status-card-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 14px;
}

.status-card-note .icon {
  width: 12px;
  height: 12px;
}

.about-faq-section {
  padding-top: 66px;
}

.about-faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.about-faq-intro h2 {
  margin-top: 11px;
  font-size: clamp(33px, 3.4vw, 45px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.about-faq-intro p {
  max-width: 330px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-faq-intro .btn {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 35, 0.68);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px 32px 32px;
  background: var(--surface);
  border-top: 3px solid var(--signal);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.26);
  transform: translateY(12px);
  transition: transform 200ms ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  transition: color 150ms ease, border-color 150ms ease,
    transform 150ms ease;
}

.modal-close:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: rotate(90deg);
}

.modal-close .icon {
  width: 14px;
  height: 14px;
}

.modal-header {
  padding-right: 34px;
}

.modal-header h2 {
  margin-top: 9px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.modal-header > p {
  max-width: 450px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.modal-task-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 20px;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xs);
}

.modal-task-summary > div:first-child {
  min-width: 0;
}

.modal-task-kicker {
  display: block;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.modal-task-summary strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.modal-task-budget {
  flex: 0 0 auto;
  text-align: right;
}

.modal-task-budget span {
  display: block;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.modal-task-budget strong {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.modal-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted-light);
  font-size: 14px;
}

.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  padding: 10px 11px;
  background: #f7efdf;
  border: 1px solid #ebdfc8;
  border-radius: var(--radius-xs);
  color: #7d6332;
}

.inline-notice .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-top: 1px;
}

.inline-notice p {
  font-size: 14px;
  line-height: 1.7;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}

.inquiry-form .field textarea {
  min-height: 88px;
}

.modal-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.modal-form-footer .btn {
  flex: 0 0 auto;
}

.modal-form-footer > span {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.modal-guest {
  margin-top: 22px;
  text-align: center;
}

/* 「需要登录」确认框：比其他弹窗窄一些，像一个提示而不是一页表单 */
.login-dialog {
  width: min(430px, 100%);
}

.login-dialog .modal-guest {
  margin-top: 6px;
}

.login-dialog .guest-icon {
  margin-bottom: 13px;
}

.login-dialog .modal-auth-actions {
  flex-wrap: wrap;
}

.login-dialog .modal-auth-actions .btn {
  min-width: 130px;
  justify-content: center;
}

/* 窄屏：其他弹窗是从底部升起的抽屉，这个提示要留在屏幕中间。
 * 选择器写成 .modal.login-modal（两个类）才能盖过媒体查询里的 .modal，
 * 否则「贴底 + 抽屉圆角」那套会赢。 */
@media (max-width: 720px) {
  .modal.login-modal {
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .modal.login-modal .modal-dialog {
    width: min(430px, 100%);
    max-height: calc(100vh - 40px);
    padding: 24px 20px;
    border-radius: var(--radius);
  }

  .login-dialog .modal-auth-actions .btn {
    flex: 0 0 auto;
  }
}

.guest-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin: 0 auto 15px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
}

.guest-icon .icon {
  width: 19px;
  height: 19px;
}

.modal-guest h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.modal-guest > p {
  max-width: 390px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.modal-auth-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.modal-guest .text-button {
  margin-top: 19px;
}

.modal-guest .text-button.is-open .icon {
  transform: rotate(180deg);
}

.public-contact-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.public-contact-list {
  display: flex;
  flex-direction: column;
}

.public-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.public-contact-row > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.public-contact-row > div span {
  color: var(--muted-light);
  font-size: 14px;
}

.public-contact-row > div strong {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.public-contact-note {
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

.modal-success {
  padding: 20px 3px 0;
  text-align: center;
}

.modal-success .success-mark {
  margin: 0 auto 17px;
}

.modal-success > .eyebrow::before {
  display: none;
}

.modal-success .success-reference {
  text-align: left;
}

.modal-success-actions {
  justify-content: center;
}

.modal-success .demo-fineprint {
  text-align: center;
}

.body-lock {
  overflow: hidden;
}

/* Toast ------------------------------------------------------------------------ */

/* 提示条居中显示：位置在屏幕中间，不贴底（贴底容易被当成页脚或被忽略） */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 300;
  max-width: min(520px, calc(100% - 40px));
  padding: 10px 17px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xs);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 10px));
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* 弹窗打开时提示条让到顶部：两个都居中会叠在一起，谁也看不清 */
body.modal-open .toast,
body.modal-open .toast.is-visible {
  top: 24px;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .skills-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(47px, 5.3vw, 70px);
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-grid .task-card:first-child {
    grid-column: 1 / -1;
    min-height: 275px;
  }

  .featured-grid .task-card:first-child .task-summary {
    max-width: 620px;
  }

  .featured-grid .task-card:first-child .task-title {
    max-width: 700px;
  }

  .latest-row {
    grid-template-columns: 34px minmax(0, 1fr) 115px 90px 24px;
  }

  .latest-date {
    display: none;
  }

  .page-hero-grid {
    gap: 45px;
  }

  .contact-hero {
    gap: 45px;
  }

  .footer-main {
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    gap: 22px;
    margin-left: 34px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(44px, 5vw, 60px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-topline {
    margin-bottom: 34px;
  }

  .dossier {
    padding: 22px;
  }

  .dossier-item {
    grid-template-columns: 20px minmax(0, 1fr) 17px;
  }

  .dossier-budget {
    display: none;
  }

  .hero-quick .quick-link:nth-of-type(n + 5) {
    display: none;
  }

  .section,
  .process-section {
    padding: 74px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-card {
    min-height: 172px;
  }

  .latest-row {
    grid-template-columns: 30px minmax(0, 1fr) 110px 88px 22px;
    gap: 14px;
  }

  .faq-layout {
    gap: 55px;
  }

  .page-hero {
    padding-top: 44px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 4.8vw, 57px);
  }

  .task-layout {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 20px;
  }

  .task-results {
    gap: 12px;
  }

  .task-results .task-card {
    min-height: 320px;
    padding: 20px;
  }

  .task-results .task-title {
    font-size: 20px;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 315px;
  }

  /* 详情页左右内边距统一收到 28：标题、段落、上下条、免责条一起变 */
  :root {
    --detail-pad-x: 28px;
  }



  .detail-head h1 {
    font-size: 34px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-grid .task-card:last-child {
    display: none;
  }

  .auth-panel {
    padding: 40px;
  }

  .auth-visual {
    padding: 33px;
  }

  .contact-hero {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .account-layout {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .about-hero-grid {
    gap: 50px;
  }

  .about-manifesto {
    grid-template-columns: 1fr 1.1fr;
    gap: 35px;
  }

  .category-row {
    grid-template-columns: 34px minmax(0, 1fr) 150px 90px 32px;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  .desktop-nav,
  .header-register {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    gap: 13px;
  }

  .account-pill-label {
    display: none;
  }

  .account-pill {
    padding: 3px;
    border: 0;
  }

  .hero {
    padding: 36px 0 58px;
  }

  .hero::before {
    width: 100%;
    opacity: 0.28;
  }

  .hero-topline {
    margin-bottom: 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(45px, 7.2vw, 66px);
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-search {
    max-width: 640px;
  }

  .hero-visual {
    width: min(620px, 100%);
    margin: 0 auto 22px;
  }

  .dossier-item {
    grid-template-columns: 24px minmax(0, 1fr) auto 18px;
  }

  .dossier-budget {
    display: block;
  }

  .hero-quick .quick-link:nth-of-type(n + 5) {
    display: inline-flex;
  }

  .section,
  .process-section {
    padding: 66px 0;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: clamp(33px, 4.5vw, 42px);
  }

  .section-aside {
    padding-top: 8px;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-grid .task-card:first-child {
    grid-column: 1 / -1;
  }

  .latest-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 4px 14px;
    align-items: start;
    padding: 18px 10px;
    margin: 0 -10px;
  }

  .latest-index {
    grid-row: 1 / span 2;
    padding-top: 2px;
  }

  .latest-main {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .latest-budget {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .latest-status {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .latest-arrow,
  .latest-date {
    display: none;
  }

  .latest-main > strong {
    white-space: normal;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }

  .process-step {
    padding-right: 20px;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .process-step:nth-child(3)::before {
    left: 0;
  }

  .process-step h3 {
    margin-top: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .value-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }

  .value-card-top {
    grid-row: 1 / span 3;
    display: block;
  }

  .value-index {
    display: block;
    margin-top: 12px;
    text-align: center;
  }

  .value-card h3 {
    margin-top: 0;
  }

  .value-card p {
    margin-top: 5px;
  }

  .value-card-foot {
    margin-top: 10px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    position: static;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: end;
  }

  .faq-intro .eyebrow,
  .faq-intro h2,
  .faq-intro > p {
    grid-column: 1;
  }

  .faq-intro > p {
    margin-top: 10px;
  }

  .faq-contact {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
    align-self: stretch;
  }

  .faq-answer {
    padding-left: 42px;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .closing-actions {
    padding-bottom: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-columns {
    max-width: 560px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .page-hero h1 {
    max-width: 680px;
  }

  .status-mini-panel {
    max-width: 520px;
  }

  .task-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 72;
    width: min(360px, 88vw);
    max-height: none;
    padding: 22px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .filters.is-open {
    transform: translateX(0);
  }

  .filters-head {
    position: sticky;
    top: -22px;
    z-index: 1;
    padding: 0 0 12px;
    background: var(--surface);
  }

  .filter-close,
  .filter-apply {
    display: flex;
  }

  .filter-close {
    display: grid;
  }

  .filter-mobile-trigger {
    display: inline-flex;
  }

  .task-results {
    grid-template-columns: 1fr 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .detail-head h1 {
    font-size: clamp(31px, 4.5vw, 40px);
  }

  .detail-main {
    order: 1;
  }

  .detail-aside {
    order: 2;
  }

  .detail-page {
    padding-bottom: 96px;
  }

  .mobile-consult-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 20px calc(11px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(10, 26, 48, 0.08);
  }

  .mobile-consult-bar > div {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-consult-bar span {
    color: var(--muted-light);
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .mobile-consult-bar strong {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.035em;
  }

  .mobile-consult-bar .btn {
    min-height: 41px;
    padding: 0 22px;
  }

  .related-section {
    margin-top: 42px;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-grid .task-card:last-child {
    display: flex;
  }

  .auth-page {
    padding: 28px 0 65px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .auth-visual {
    min-height: 320px;
    padding: 30px;
  }

  .auth-visual-copy {
    padding-top: 42px;
  }

  .auth-visual-copy h2 {
    max-width: 520px;
  }

  .auth-visual-copy > p {
    max-width: 480px;
  }

  .auth-flow {
    display: none;
  }

  .auth-visual-foot {
    margin-top: 30px;
  }

  .auth-panel {
    padding: 35px;
  }

  .contact-page {
    padding-top: 38px;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-hero-note {
    max-width: 520px;
    min-height: 175px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .contact-note-card {
    grid-column: 1 / -1;
  }

  .contact-more-grid {
    gap: 20px;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .account-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
  }

  .account-profile-card .avatar {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .account-profile-card h2 {
    margin-top: 0;
    font-size: 20px;
  }

  .account-profile-card p {
    margin-top: 0;
  }

  .account-since {
    display: none;
  }

  .account-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 2px;
    overflow-x: auto;
    padding: 5px;
  }

  .account-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .account-logout {
    margin-top: 0;
    padding: 0 10px;
  }

  .profile-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-page-head p {
    display: none;
  }

  .login-wall {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .login-wall-art {
    min-height: 180px;
    padding: 25px;
  }

  .login-wall-line {
    margin-top: 30px;
  }

  .login-wall-body {
    padding: 34px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-hero-copy {
    max-width: 580px;
  }

  .about-manifesto {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .about-principles {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .about-principle:last-child {
    grid-column: 1 / -1;
  }

  .status-cards {
    grid-template-columns: 1fr;
  }

  .about-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-faq-intro p {
    max-width: 460px;
  }

  .category-row {
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    gap: 8px 14px;
    padding: 22px 10px;
  }

  .category-index {
    grid-row: 1 / span 2;
  }

  .category-main {
    grid-column: 2;
  }

  .category-samples {
    grid-column: 2;
    grid-row: 2;
  }

  .category-count {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    justify-self: start;
    margin-left: 0;
    display: none;
  }

  .category-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .category-note {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .account-page-head {
    padding-bottom: 22px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 40px);
  }

  .demo-strip-inner {
    justify-content: center;
    padding: 5px 0;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .demo-strip-label {
    display: none;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }

  .brand-word {
    font-size: 20px;
  }

  .header-inner {
    height: var(--header-h);
  }

  .header-actions .login-link {
    font-size: 14px;
  }

  .hero {
    padding: 29px 0 50px;
  }

  .hero-topline {
    padding-bottom: 16px;
    margin-bottom: 25px;
  }

  .hero-topmeta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(35px, 9vw, 52px);
    line-height: 1.22;
    letter-spacing: -0.06em;
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.85;
  }

  .hero-search {
    margin-top: 24px;
    min-height: 56px;
    padding-left: 14px;
  }

  .hero-search .btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-search > .icon {
    width: 17px;
    height: 17px;
  }

  .hero-search input {
    font-size: 14px;
  }

  .hero-quick {
    margin-top: 13px;
  }

  .hero-trust {
    gap: 8px 15px;
    margin-top: 20px;
    font-size: 14px;
  }

  .hero-visual {
    margin-bottom: 17px;
  }

  .dossier {
    padding: 20px;
  }

  .dossier-title {
    font-size: 26px;
  }

  .dossier-item {
    grid-template-columns: 20px minmax(0, 1fr) auto 16px;
    gap: 8px;
  }

  .dossier-item-main strong {
    white-space: normal;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dossier-budget {
    display: none;
  }

  .dossier-layer-two {
    display: none;
  }

  .dossier-layer-one {
    top: 8px;
    right: -6px;
    bottom: -6px;
  }

  .dossier-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .dossier-caption {
    display: none;
  }

  .section,
  .process-section {
    padding: 55px 0;
  }

  .section-head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-head h2 {
    margin-top: 9px;
    font-size: 34px;
  }

  .section-desc {
    margin-top: 8px;
    font-size: 14px;
  }

  .section-aside {
    padding-top: 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .featured-grid .task-card:first-child {
    grid-column: auto;
  }

  .task-card,
  .featured-grid .task-card:first-child {
    min-height: 0;
    padding: 20px;
  }

  .task-title,
  .task-card-dark .task-title,
  .featured-grid .task-card:first-child .task-title {
    font-size: 22px;
  }

  .task-summary {
    -webkit-line-clamp: 2;
  }

  .task-card-foot {
    margin-top: 19px;
  }

  .latest-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 17px 5px;
    margin: 0 -5px;
  }

  .latest-main > strong {
    font-size: 16px;
    line-height: 1.5;
  }

  .latest-skills {
    display: none;
  }

  .latest-status {
    display: inline-flex;
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .latest-budget strong {
    font-size: 16px;
  }

  .skills-grid {
    gap: 9px;
  }

  .skill-card {
    min-height: 165px;
    padding: 17px;
  }

  .skill-name {
    margin-top: 18px;
    font-size: 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .process-step,
  .process-step + .process-step {
    padding: 22px 0 24px;
  }

  .process-step + .process-step {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .process-step + .process-step::before {
    left: 0;
  }

  .process-step h3 {
    margin-top: 15px;
    font-size: 22px;
  }

  .process-step p {
    max-width: 100%;
    margin-top: 6px;
  }

  .process-icon {
    top: 18px;
    right: 0;
  }

  .process-note {
    margin-top: 26px;
  }

  .value-card {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
  }

  .value-icon {
    width: 34px;
    height: 34px;
  }

  .value-card h3 {
    font-size: 22px;
  }

  .faq-intro {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-contact {
    grid-column: 1;
    grid-row: auto;
    margin-top: 20px;
  }

  .faq-question {
    grid-template-columns: 24px minmax(0, 1fr) 22px;
    gap: 9px;
    padding: 18px 0;
  }

  .faq-question > span:nth-child(2) {
    font-size: 16px;
  }

  .faq-toggle {
    width: 22px;
    height: 22px;
  }

  .faq-answer {
    padding: 0 30px 19px 33px;
  }

  .closing {
    padding: 52px 0;
  }

  .closing h2 {
    font-size: 34px;
  }

  .closing p {
    font-size: 14px;
  }

  .closing::before {
    font-size: 202px;
    bottom: -35px;
    right: -2%;
  }

  .closing-actions {
    width: 100%;
  }

  .closing-actions .btn {
    flex: 1 1 auto;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-main {
    padding-bottom: 32px;
  }

  .footer-columns {
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }

  .footer-wordmark {
    margin-top: 35px;
    font-size: clamp(44px, 11.5vw, 60px);
  }

  .page-hero {
    padding: 34px 0 26px;
  }

  .page-hero h1 {
    margin-top: 10px;
    font-size: clamp(39px, 10vw, 50px);
    line-height: 1.22;
  }

  .page-hero-copy {
    margin-top: 12px;
    font-size: 14px;
  }

  .page-hero-meta {
    margin-top: 13px;
    font-size: 14px;
  }

  .status-mini-panel {
    padding: 15px;
  }

  .status-mini-rows {
    margin-top: 10px;
    gap: 7px;
  }

  .board-search {
    margin-top: 18px;
  }

  .board-section {
    padding: 20px 0 65px;
  }

  .board-toolbar {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }

  .toolbar-right {
    margin-left: auto;
  }

  .sort-wrap > span {
    display: none;
  }

  .sort-wrap select {
    height: 34px;
    font-size: 14px;
  }

  .filter-mobile-trigger {
    min-height: 34px;
  }

  .active-filters {
    margin-bottom: 13px;
  }

  .task-results {
    grid-template-columns: 1fr;
  }

  .task-results .task-card {
    min-height: 0;
    padding: 19px;
  }

  .task-results .task-title {
    font-size: 22px;
  }

  .task-results .task-summary {
    -webkit-line-clamp: 3;
  }

  .detail-page {
    padding-top: 13px;
    padding-bottom: 91px;
  }

  .breadcrumb {
    padding-bottom: 14px;
    gap: 5px;
    font-size: 14px;
  }

  :root {
    --detail-pad-x: 20px;
  }

  .detail-head {
    padding: 24px var(--detail-pad-x) 22px;
  }

  .detail-kicker {
    font-size: 14px;
  }

  .detail-id {
    width: 100%;
    margin-left: 0;
    margin-top: 2px;
  }

  .detail-head h1 {
    margin-top: 13px;
    font-size: clamp(28px, 7.4vw, 35px);
    line-height: 1.34;
    text-wrap: balance;
  }

  .detail-lead {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.8;
  }

  .detail-meta-row {
    margin-top: 17px;
    padding-top: 14px;
    gap: 8px 12px;
    font-size: 14px;
  }

  .detail-section {
    padding: var(--space-xl) var(--detail-pad-x);
  }

  .detail-section h2 {
    font-size: 22px;
  }

  .detail-body-copy {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.9;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .source-panel {
    padding: 16px;
  }

  .source-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }

  .detail-disclaimer {
    margin: 0 var(--detail-pad-x) 23px;
  }

  .detail-aside {
    padding-top: 2px;
  }

  .action-card {
    padding: 19px;
  }

  .action-budget strong {
    font-size: 34px;
  }

  .related-section {
    padding-top: 42px;
    margin-top: 35px;
  }

  .related-section .section-head {
    flex-direction: row;
    align-items: flex-end;
  }

  .related-section .section-head h2 {
    font-size: 26px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-grid .task-card:last-child {
    display: flex;
  }

  .mobile-consult-bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .auth-page {
    padding: 18px 0 55px;
  }

  .auth-layout {
    border-radius: 5px;
  }

  .auth-visual {
    min-height: 245px;
    padding: 24px;
  }

  .auth-visual-copy {
    padding-top: 33px;
  }

  .auth-visual h2 {
    font-size: 34px;
  }

  .auth-visual-copy > p {
    margin-top: 10px;
    font-size: 14px;
  }

  .auth-visual-foot {
    margin-top: 22px;
    padding-top: 15px;
  }

  .auth-panel {
    padding: 28px 22px 31px;
  }

  .auth-form-heading {
    margin-top: 21px;
  }

  .auth-form-heading h1 {
    font-size: 34px;
  }

  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding: 30px 0 65px;
  }

  .contact-hero {
    padding-bottom: 30px;
  }

  .contact-hero h1 {
    margin-top: 10px;
    font-size: clamp(40px, 10vw, 51px);
  }

  .contact-hero p {
    margin-top: 12px;
    font-size: 14px;
  }

  .contact-hero-note {
    padding: 18px;
    min-height: 0;
  }

  .contact-grid {
    padding-top: 25px;
  }

  .contact-form-card {
    padding: 21px;
  }

  .contact-form-card h2 {
    font-size: 26px;
  }

  .contact-side {
    grid-template-columns: 1fr;
  }

  .contact-note-card {
    grid-column: auto;
  }

  .contact-more {
    padding-top: 45px;
    margin-top: 45px;
  }

  .contact-more-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .account-page {
    padding: 30px 0 65px;
  }

  .account-page-head h1 {
    font-size: 34px;
  }

  .account-layout {
    padding-top: 20px;
  }

  .account-sidebar {
    grid-template-columns: 1fr;
  }

  .account-profile-card {
    padding: 15px;
  }

  .account-nav {
    grid-column: auto;
  }

  .account-nav a {
    font-size: 14px;
  }

  .account-logout {
    justify-self: start;
    padding: 3px 8px;
  }

  .account-section {
    padding: 21px;
    scroll-margin-top: 85px;
  }

  .account-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 18px;
  }

  .account-section-heading h2 {
    font-size: 26px;
  }

  .account-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .summary-card {
    min-height: 104px;
    padding: 12px;
  }

  .summary-card strong {
    padding-top: 13px;
    font-size: 26px;
  }

  .summary-card small {
    font-size: 14px;
    line-height: 1.45;
  }

  .summary-card-note strong {
    font-size: 16px;
    line-height: 1.35;
  }

  .inquiry-card {
    flex-direction: column;
    gap: 10px;
  }

  .inquiry-card-meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
  }

  .login-wall {
    margin-top: 20px;
  }

  .login-wall-art {
    min-height: 145px;
  }

  .login-wall-copy {
    display: none;
  }

  .login-wall-line {
    margin-top: auto;
  }

  .login-wall-body {
    padding: 27px 22px;
  }

  .login-wall-body h2 {
    font-size: 34px;
  }

  .categories-page {
    padding-bottom: 60px;
  }

  .category-section {
    padding-top: 24px;
  }

  .category-row {
    padding: 19px 3px;
    margin: 0;
  }

  .category-main h2 {
    font-size: 26px;
  }

  .category-samples {
    max-width: calc(100vw - 100px);
  }

  .category-main p {
    font-size: 14px;
  }

  .category-note {
    margin-top: 35px;
    padding: 22px;
  }

  .category-note h2 {
    font-size: 26px;
  }

  .about-page {
    padding-bottom: 60px;
  }

  .about-hero {
    padding: 35px 0 35px;
  }

  .about-hero h1 {
    font-size: clamp(41px, 10.6vw, 54px);
  }

  .about-hero-copy p {
    font-size: 14px;
  }

  .about-section {
    padding: 48px 0;
  }

  .about-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }

  .about-section-head h2 {
    font-size: 34px;
  }

  .about-section-head > p {
    max-width: 100%;
    text-align: left;
  }

  .about-manifesto {
    padding: 23px;
  }

  .about-manifesto h2 {
    font-size: 26px;
  }

  .about-manifesto-copy p {
    font-size: 14px;
  }

  .do-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principle:last-child {
    grid-column: auto;
  }

  .about-faq-section {
    padding-top: 48px;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 25px 20px calc(27px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    transform: translateY(24px);
  }

  .modal-header {
    padding-right: 32px;
  }

  .modal-header h2 {
    font-size: 26px;
  }

  .modal-task-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .modal-task-budget {
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-align: left;
  }

  .modal-task-budget strong {
    margin-top: 0;
  }

  .modal-auth-actions {
    flex-direction: column;
  }

  .modal-auth-actions .btn {
    width: 100%;
  }

  .modal-form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .modal-form-footer .btn {
    width: 100%;
  }

  .modal-form-footer > span {
    text-align: center;
  }

  .modal-success .success-reference {
    text-align: left;
  }

  .modal-success-actions .btn {
    flex: 1 1 auto;
  }

  .toast {
    max-width: calc(100% - 32px);
    font-size: 14px;
  }

  .public-contact-row > div strong {
    word-break: break-word;
  }
}

@media (max-width: 500px) {
  .hero-search {
    flex-wrap: wrap;
    padding: 8px;
    gap: 4px;
  }

  .hero-search > .icon {
    margin-left: 4px;
  }

  .hero-search input {
    width: calc(100% - 32px);
    flex: 1 1 calc(100% - 32px);
  }

  .hero-search .btn {
    width: 100%;
    margin-top: 2px;
  }

  .hero-trust span:nth-child(3) {
    display: none;
  }

  .hero-quick .quick-link:nth-of-type(n + 4) {
    display: none;
  }

  .dossier-item {
    grid-template-columns: 18px minmax(0, 1fr) 16px;
  }

  .dossier-foot > span {
    display: none;
  }

  .latest-budget small {
    display: none;
  }

  .latest-meta {
    font-size: 14px;
  }

  .latest-main > strong {
    font-size: 16px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: 150px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .closing h2 {
    font-size: 34px;
  }

  .closing-actions {
    flex-direction: column;
  }

  .closing-actions .btn {
    width: 100%;
  }

  .task-card-top {
    align-items: flex-start;
  }

  .task-card-top .status-badge {
    flex: 0 0 auto;
  }

  .task-kicker .demo-mark {
    display: none;
  }

  .detail-meta-row .status-badge {
    width: 100%;
    justify-content: flex-start;
    background: transparent;
    padding-left: 0;
    min-height: 17px;
  }

  .detail-meta-row .status-badge::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 3px;
    background: var(--line);
  }

  .source-list {
    grid-template-columns: 1fr;
  }

  .action-card > .btn {
    white-space: normal;
  }

  .mobile-consult-bar strong {
    font-size: 18px;
  }

  .auth-tabs {
    gap: 20px;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 220px;
  }

  .auth-visual-foot {
    display: none;
  }

  .contact-form-card {
    padding: 17px;
  }

  .contact-channels {
    padding: 20px;
  }

  .account-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary-card-note {
    grid-column: 1 / -1;
    min-height: 88px;
  }

  .profile-empty {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .profile-empty .btn {
    margin-left: 59px;
  }

  .profile-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inquiry-profile-empty {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .inquiry-profile-empty > a {
    grid-column: 2;
  }

  .account-nav {
    flex-wrap: wrap;
  }

  .account-nav a {
    flex: 1 0 auto;
    justify-content: center;
    padding: 8px 9px;
    font-size: 14px;
    white-space: nowrap;
  }

  .account-nav a span,
  .account-nav a em {
    display: none;
  }

  .account-profile-card .avatar {
    width: 39px;
    height: 39px;
  }

  .account-profile-card h2 {
    font-size: 18px;
  }

  .account-profile-card p {
    font-size: 14px;
  }

  .account-section {
    padding: 17px;
  }

  .modal-auth-actions {
    gap: 7px;
  }

  .modal-dialog {
    padding-left: 17px;
    padding-right: 17px;
  }

  .footer-wordmark {
    margin-bottom: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Blue-white V1 refresh
   ========================================================================== */

.site-header {
  /* 吸顶时做半透明 + 毛玻璃：内容从下面滚过时仍然可读，又不至于整块遮死 */
  background: rgba(245, 248, 253, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
}

/* 不支持 backdrop-filter 的浏览器退回接近纯色，避免透出内容影响可读性 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(245, 248, 253, 0.98);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10, 26, 48, 0.06);
}

.header-auth-short {
  display: none;
}

.header-auth {
  gap: 0;
}

/* Home ----------------------------------------------------------------------- */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 46px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(31, 99, 255, 0.13) 1px,
    transparent 0
  );
  background-size: 24px 24px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  gap: 62px;
  align-items: center;
}

.home-hero-copy {
  max-width: 670px;
}

.home-hero h1 {
  margin-top: 16px;
  font-size: clamp(50px, 5.3vw, 76px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.home-hero h1 .hero-em {
  color: var(--green);
  text-decoration-color: #a9c8ff;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.12em;
}

.home-hero-lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.home-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
}

.home-trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-trust-line .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.signal-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.signal-card {
  position: relative;
  z-index: 2;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(25, 78, 167, 0.1);
}

.signal-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--green);
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.signal-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.signal-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.signal-map {
  position: relative;
  height: 350px;
  margin-top: 15px;
  overflow: hidden;
  background-color: #f8fbff;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(31, 99, 255, 0.11) 1px,
    transparent 0
  );
  background-size: 19px 19px;
  border: 1px solid #e7eef9;
  border-radius: 10px;
}

.signal-map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-node {
  position: absolute;
  z-index: 2;
  padding: 4px 7px;
  background: var(--surface);
  border: 1px solid #dbe7f8;
  border-radius: 3px;
  color: #4d6382;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(31, 99, 255, 0.06);
}

.signal-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.signal-node-na {
  top: 17%;
  left: 7%;
}

.signal-node-eu {
  top: 13%;
  right: 8%;
}

.signal-node-apac {
  right: 7%;
  bottom: 22%;
}

.signal-node-oceania {
  bottom: 14%;
  left: 8%;
}

.signal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 155px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid #dce8f8;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(22, 70, 150, 0.1);
  transform: translate(-50%, -50%);
}

.signal-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 7px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.signal-center strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.signal-center small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 14px;
}

.signal-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.signal-flow i {
  width: 17px;
  height: 1px;
  background: #c9ddf8;
}

.signal-note {
  margin-top: 12px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: right;
}

.home-stats {
  padding: 0 0 60px;
  background: var(--paper);
}

.home-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 11px;
  color: var(--muted-light);
  font-size: 14px;
}

.home-stats-head > span:last-child {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(25, 78, 167, 0.045);
}

.home-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 144px;
  padding: 23px 24px 19px;
}

.home-stat + .home-stat {
  border-left: 1px solid var(--line);
}

.home-stat strong {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
}

.home-stat > span {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.home-stat small {
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.5;
}

.home-closing {
  background: var(--green);
}

/* Job board ---------------------------------------------------------------- */

.hall-hero {
  padding: 40px 0 36px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hall-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

/* 右侧用数字撑住版面，不再放说明卡片 */
.hall-figures-wrap {
  min-width: 0;
  padding-top: 2px;
  /* 右列只有统计和采集时间，比左侧文案矮很多：垂直居中，
   * 否则首屏右上角会留出一大块空白（1440 宽时约 220px）。 */
  align-self: center;
}

.hall-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hall-figure {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.hall-figure + .hall-figure {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hall-figure strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hall-figure span {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.4;
}

.hall-figures-foot {
  margin-top: 12px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.hall-figures-foot b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .hall-figure strong {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .hall-figures {
    padding-bottom: 12px;
  }

  .hall-figure strong {
    font-size: 28px;
  }
}

.hall-hero h1 {
  margin-top: 13px;
  font-size: clamp(42px, 4.7vw, 61px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.06em;
}

.hall-hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hall-hero-copy {
  max-width: 650px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hall-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 17px;
  margin-top: 15px;
  color: var(--muted-light);
  font-size: 14px;
}

.hall-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hall-hero-meta .icon {
  width: 12px;
  height: 12px;
}

.hall-hero-meta b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
}

.hall-search {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-height: 56px;
  margin-top: 0;
  padding: 6px 6px 6px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hall-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 99, 255, 0.08);
}

.hall-search > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.hall-search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.hall-search .btn {
  min-height: 42px;
}

.board-section {
  padding: 25px 0 82px;
}

.hall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.hall-toolbar-left,
.hall-toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hall-toolbar-right {
  margin-left: auto;
}

.advanced-open-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.advanced-open-button:hover,
.advanced-open-button.has-filters {
  border-color: var(--green);
  color: var(--green);
}

.advanced-open-button .icon {
  width: 13px;
  height: 13px;
}

.advanced-count {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
}

.hall-layout {
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 22px;
}

.hall-filters {
  padding: 17px;
}

.hall-filters .filter-group h3 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hall-filters .filter-group h3 span {
  color: var(--muted-light);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.filter-check {
  align-items: center;
}

.filter-check > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.filter-checkmark {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
}

.filter-option.is-active .filter-checkmark {
  background: var(--green);
  border-color: var(--green);
}

.filter-option.is-active .filter-checkmark::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.filter-advanced-trigger {
  justify-content: space-between;
  width: 100%;
  margin-top: 17px;
  min-height: 36px;
  font-size: 14px;
}

.filter-advanced-trigger .advanced-count {
  min-width: 18px;
}

.job-results {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.job-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  gap: 23px;
  padding: 19px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.job-row:hover {
  border-color: #bcd1ef;
  box-shadow: 0 10px 28px rgba(23, 68, 141, 0.065);
  transform: translateY(-1px);
}

.job-row-main {
  min-width: 0;
}

.job-row-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.job-cat-code {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 0 5px;
  border-radius: 2px;
  background: var(--green-light);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.job-demo {
  padding-left: 6px;
  border-left: 1px solid var(--line);
  color: var(--muted-light);
}

.job-row-id {
  margin-left: auto;
  color: #9aaac0;
}

.job-row-title {
  display: block;
  max-width: 720px;
  margin-top: 7px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.44;
  letter-spacing: -0.03em;
}

.job-row-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 7px;
}

.job-row-title:hover {
  color: var(--green);
}

.job-row-summary {
  display: -webkit-box;
  max-width: 720px;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.job-row-tags .skill-tag {
  font-size: 14px;
  min-height: 21px;
}

.job-language-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  padding: 2px 7px;
  border: 1px solid #d7e6fa;
  border-radius: 2px;
  background: #f7faff;
  color: #547096;
  font-size: 14px;
}

.job-language-tag .icon {
  width: 11px;
  height: 11px;
}

.job-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.job-row-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.job-row-budget {
  margin-top: 13px;
  text-align: right;
}

.job-row-budget span {
  display: block;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.job-row-budget strong {
  display: block;
  margin-top: 1px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.job-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.job-row-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-row-meta .icon {
  width: 11px;
  height: 11px;
  color: var(--muted-light);
}

.job-row-source {
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.favorite-button {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: #8798ad;
  transition: color 150ms ease, border-color 150ms ease,
    background 150ms ease;
}

.favorite-button:hover {
  color: var(--green);
  border-color: #a9c4ed;
  background: #f7faff;
}

.favorite-button .icon {
  width: 14px;
  height: 14px;
}

.favorite-button.is-favorite {
  color: var(--green);
  border-color: #b9d3fa;
  background: var(--green-light);
}

.favorite-button.is-favorite .icon {
  fill: currentColor;
}

.favorite-button.is-labeled {
  width: auto;
  height: 38px;
  padding: 0 13px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.favorite-button.is-labeled .icon {
  width: 14px;
  height: 14px;
}

.action-favorite {
  margin-top: 8px;
}

.action-favorite .favorite-button {
  width: 100%;
  justify-content: center;
}

.consult-placeholder:disabled {
  background: #f0f4fa;
  border-color: #d9e3f0;
  color: #8a9bb0;
  cursor: not-allowed;
  opacity: 1;
}

.hall-empty {
  min-height: 360px;
}

/* Advanced filters --------------------------------------------------------- */

.advanced-dialog {
  display: flex;
  flex-direction: column;
  width: min(780px, 100%);
  max-height: calc(100vh - 70px);
  overflow: hidden;
  padding: 0;
}

.advanced-head {
  padding: 27px 30px 17px;
  border-bottom: 1px solid var(--line);
}

.advanced-head h2 {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.advanced-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.advanced-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  overflow-y: auto;
  padding: 0 30px 10px;
  scrollbar-width: thin;
}

.advanced-section {
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.advanced-section h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.advanced-section h3 span {
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 400;
}

.advanced-section .choice-chip {
  font-size: 14px;
  min-height: 26px;
  padding: 3px 8px;
}

.advanced-section .filter-chip {
  font-size: 14px;
  min-height: 26px;
}

.advanced-budget {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.advanced-budget .field {
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.advanced-budget .field-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-light);
}

.advanced-budget input {
  min-height: 36px;
  height: 36px;
  padding: 7px 9px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.budget-dash {
  padding-bottom: 9px;
  color: var(--muted-light);
  font-size: 14px;
}

.advanced-favorite-section {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
}

.advanced-hint {
  color: var(--muted-light);
  font-size: 14px;
  text-align: right;
}

.advanced-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 30px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.advanced-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-light);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.advanced-reset:hover {
  color: var(--ink);
}

/* Detail refinements ------------------------------------------------------- */

/* 「查看原文 / 看译文」：工作内容标题行右侧。
   站点约定：次要操作走中性描边（参考 .btn-secondary），只有激活态才用品牌蓝淡底；
   尺寸比按钮小一档（32px / 14px），避免和 26px 的标题抢注意力。 */
.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  row-gap: 8px;
  margin-top: 9px;
}

.detail-section-head h2 {
  margin: 0;
}

.detail-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.detail-view-toggle:hover {
  border-color: var(--ink);
}

.detail-view-toggle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.detail-view-toggle.is-original {
  border-color: var(--signal);
  background: var(--green-light);
  color: var(--signal-deep);
}

.detail-view-toggle .icon {
  width: 14px;
  height: 14px;
}

.detail-body-original {
  margin-top: 4px;
}

.detail-body-original .origin-banner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--signal);
  background: #f2f6ff;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.detail-body-original .detail-origin-copy {
  max-width: 690px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
  white-space: pre-line;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-row h1 {
  flex: 1;
}

.detail-favorite {
  flex: 0 0 auto;
  margin-top: 21px;
}

.detail-favorite .favorite-button {
  height: 35px;
  font-size: 14px;
}

/* Email auth --------------------------------------------------------------- */

.auth-email-heading .eyebrow {
  margin-bottom: 11px;
}

.auth-email-heading h1 {
  max-width: 430px;
  font-size: clamp(33px, 3.2vw, 41px);
  line-height: 1.22;
}

.auth-email-heading p {
  max-width: 390px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.auth-form {
  margin-top: 27px;
}

.email-input-wrap,
.code-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.email-input-wrap input {
  padding-left: 16px;
}

.code-input-wrap input {
  padding-right: 115px;
}

.code-send-button {
  position: absolute;
  right: 6px;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #cbddf5;
  border-radius: 3px;
  background: #f6faff;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.code-send-button:disabled {
  color: var(--muted-light);
  border-color: var(--line);
  background: var(--paper);
}

.demo-code-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid #dce9fa;
  border-radius: 3px;
  background: #f7faff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.demo-code-note .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.demo-code-note strong {
  color: var(--ink);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* 已登录右上角：头像 + 账号下拉菜单 ---------------------------------------- */

.account-slot {
  position: relative;
}

/* 视觉 38px，热区撑到 44：伪元素挂在按钮自己身上（按钮必须保持有定位） */
.account-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 150ms ease, background 150ms ease;
}

.account-avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
}

.account-avatar:hover,
.account-avatar[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--paper);
}

.account-avatar-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
}

.account-avatar-icon svg {
  width: 19px;
  height: 19px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 172px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(10, 26, 48, 0.16);
}

.account-menu[hidden] {
  display: none;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.account-menu-item:hover {
  background: var(--paper);
}

.account-menu-item .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

/* 窄屏不弹菜单：面板本身就是菜单，账号卡片直接进个人中心 */
@media (max-width: 720px) {
  .account-menu {
    display: none;
  }
}

/* 登录页：密码框、显示密码、忘记密码、步骤切换 ---------------------------- */

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.auth-forgot {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  padding-right: 48px;
}

/* 眼睛按钮：视觉 34px，热区撑到 44：inset -5px 的伪元素挂在按钮自己身上 */
.password-toggle {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  transition: color 150ms ease, border-color 150ms ease;
}

.password-toggle::after {
  content: "";
  position: absolute;
  inset: -5px;
}

.password-toggle:hover {
  color: var(--ink);
  border-color: var(--line);
}

.password-toggle .icon {
  width: 16px;
  height: 16px;
}

.auth-sent {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #dce9fa;
  border-radius: 3px;
  background: #f7faff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-sent strong {
  color: var(--ink);
  font-weight: 600;
}

.auth-sent .icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--green);
}

.auth-switch {
  margin-top: 14px;
  text-align: center;
}

/* 勾选句里的协议链接：只在链接本身上有颜色，不要牵连整句 */
.auth-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-check a:hover {
  color: var(--green);
}

.auth-note {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 14px;
}

.auth-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-note .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

/* Account additions -------------------------------------------------------- */

.saved-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.saved-task-row:last-child {
  padding-bottom: 0;
}

.saved-task-main {
  min-width: 0;
}

.saved-task-main .job-row-kicker {
  justify-content: flex-start;
}

.saved-task-main > a {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.saved-task-main > a:hover {
  color: var(--green);
}

.saved-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 14px;
}

.saved-task-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.saved-task-meta .icon {
  width: 10px;
  height: 10px;
}

.saved-task-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.saved-task-side > strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-form textarea {
  min-height: 104px;
}

/* Process and help pages --------------------------------------------------- */

.info-hero {
  padding: 58px 0 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.info-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 70px;
  align-items: end;
}

.info-hero h1 {
  margin-top: 13px;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.info-hero h1 em {
  font-style: normal;
  color: var(--green);
}

.info-hero-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.info-hero-copy p + p {
  margin-top: 11px;
}

.info-body {
  padding: 62px 0 78px;
}

.step-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.step-detail-card {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-detail-card > span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 14px;
}

.step-detail-card h3 {
  margin-top: 21px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.step-detail-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.status-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 26px;
}

.status-detail-card {
  padding: 21px;
  background: #f8fbff;
  border: 1px solid #dfe9f6;
  border-radius: 8px;
}

.status-detail-card h3 {
  margin-top: 17px;
  font-size: 20px;
  font-weight: 600;
}

.status-detail-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.boundary-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 32px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.boundary-panel h3 {
  font-size: 22px;
  font-weight: 600;
}

.boundary-panel ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}

.boundary-panel li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.boundary-panel li .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--green);
  flex: 0 0 13px;
}

.boundary-panel .boundary-no li .icon {
  color: var(--muted-light);
}

.help-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.help-aside {
  position: sticky;
  top: 104px;
}

.help-aside h2 {
  margin-top: 12px;
  font-size: clamp(33px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.26;
}

.help-aside p {
  max-width: 330px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.help-note {
  margin-top: 23px;
  padding: 17px;
  background: #f8fbff;
  border: 1px solid #dfe9f6;
  border-radius: 5px;
}

.help-note strong {
  display: block;
  font-size: 14px;
}

.help-note span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.help-contact-button {
  margin-top: 20px;
}

.contact-form .form-grid-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.contact-topic-note {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1180px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.9fr);
    gap: 38px;
  }

  .home-hero h1 {
    font-size: clamp(48px, 5.2vw, 66px);
  }

  .signal-map {
    height: 320px;
  }

  .job-row {
    grid-template-columns: minmax(0, 1fr) 205px;
    gap: 17px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    gap: 19px;
    margin-left: 27px;
  }

  .nav-link {
    font-size: 14px;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
  }

  .home-hero h1 {
    font-size: clamp(46px, 5.3vw, 58px);
  }

  .home-hero-lead {
    font-size: 16px;
  }

  .signal-map {
    height: 290px;
  }

  .signal-card {
    padding: 17px;
  }

  .home-stat {
    padding: 20px;
  }

  .home-stat strong {
    font-size: 34px;
  }

  .hall-hero-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
  }

  .hall-layout {
    grid-template-columns: 218px minmax(0, 1fr);
    gap: 17px;
  }

  .job-row {
    grid-template-columns: minmax(0, 1fr) 185px;
    padding: 17px;
  }

  .job-row-side {
    padding-left: 16px;
  }

  .job-row-title {
    font-size: 20px;
  }

  .advanced-body {
    gap: 0 20px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .advanced-head,
  .advanced-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 900px) {
  .header-auth-full {
    display: none;
  }

  .header-auth-short {
    display: inline;
  }

  .header-auth {
    min-height: 35px;
    padding: 0 12px;
    font-size: 14px;
  }

  .home-hero {
    padding: 42px 0 38px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-hero-copy {
    max-width: 720px;
  }

  .home-hero h1 {
    font-size: clamp(45px, 8vw, 64px);
  }

  .signal-wrap {
    max-width: 590px;
    justify-self: start;
  }

  .signal-map {
    height: 330px;
  }

  .home-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .home-stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .home-stat {
    min-height: 124px;
  }

  .hall-hero-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .hall-layout {
    grid-template-columns: 1fr;
  }

  .hall-filters {
    width: min(370px, 89vw);
  }

  .job-row {
    grid-template-columns: minmax(0, 1fr) 200px;
  }

  .advanced-dialog {
    width: min(720px, calc(100vw - 32px));
  }

  .help-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .help-aside {
    position: static;
  }

  .info-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding: 30px 0 31px;
  }

  .home-hero h1 {
    margin-top: 12px;
    font-size: clamp(37px, 10.2vw, 52px);
    line-height: 1.22;
  }

  .home-hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
  }

  .home-hero-actions {
    margin-top: 22px;
  }

  .home-hero-actions .btn {
    flex: 1 1 auto;
  }

  .home-trust-line {
    gap: 8px 15px;
    margin-top: 19px;
    font-size: 14px;
  }

  .signal-card {
    padding: 15px;
  }

  .signal-map {
    height: 280px;
  }

  .signal-center {
    min-width: 132px;
    padding: 11px 12px;
  }

  .signal-node {
    font-size: 14px;
  }

  .signal-head .mono-label {
    font-size: 14px;
  }

  .signal-flow {
    font-size: 14px;
  }

  .home-stats {
    padding-bottom: 42px;
  }

  .home-stats-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .home-stat {
    min-height: 115px;
    padding: 17px;
  }

  .home-stat strong {
    font-size: 34px;
  }

  .home-stat > span {
    margin-top: 9px;
    font-size: 14px;
  }

  .home-stat small {
    font-size: 14px;
  }

  .hall-hero {
    padding: 32px 0 24px;
  }

  .hall-hero h1 {
    font-size: clamp(38px, 9.6vw, 50px);
  }

  .hall-hero-copy {
    font-size: 14px;
  }

  .hall-search {
    margin-top: 18px;
    min-height: 52px;
    padding-left: 12px;
  }

  .hall-search .btn {
    min-height: 40px;
    padding: 0 13px;
    font-size: 14px;
  }

  .board-section {
    padding-top: 18px;
  }

  .hall-toolbar {
    flex-wrap: wrap;
    gap: 9px;
  }

  .hall-toolbar-left {
    gap: 6px;
  }

  .hall-toolbar-right {
    gap: 6px;
  }

  .advanced-open-button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 14px;
  }

  .advanced-open-button .icon {
    display: none;
  }

  .sort-wrap > span {
    display: none;
  }

  .sort-wrap select {
    height: 34px;
  }

  .job-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 17px;
  }

  .job-row-title {
    font-size: 20px;
  }

  .job-row-summary {
    font-size: 14px;
  }

  .job-row-side {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 7px 14px;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .job-row-side-top {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }

  .job-row-side-top .favorite-button {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .job-row-budget {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    text-align: left;
  }

  .job-row-budget strong {
    font-size: 22px;
  }

  .job-row-meta {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    gap: 3px;
  }

  .job-row-source {
    display: none;
  }

  .job-row-id {
    display: none;
  }

  .advanced-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
  }

  .advanced-head {
    padding: 23px 20px 15px;
  }

  .advanced-body {
    display: block;
    padding: 0 20px 8px;
  }

  .advanced-section {
    padding: 13px 0;
  }

  .advanced-favorite-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .advanced-hint {
    text-align: left;
  }

  .advanced-footer {
    padding: 13px 20px calc(14px + env(safe-area-inset-bottom));
  }

  .advanced-footer .btn {
    flex: 1;
  }

  .detail-title-row {
    display: block;
  }

  .detail-favorite {
    margin-top: 12px;
  }

  .detail-favorite .favorite-button {
    height: 33px;
  }

  .info-hero {
    padding: 36px 0 34px;
  }

  .info-hero h1 {
    font-size: clamp(38px, 9.6vw, 51px);
  }

  .info-body {
    padding: 45px 0 55px;
  }

  .step-detail-grid {
    grid-template-columns: 1fr;
  }

  .status-detail-grid {
    grid-template-columns: 1fr;
  }

  .boundary-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 21px;
  }

  .saved-task-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .saved-task-side {
    width: 100%;
    justify-content: space-between;
  }

  .contact-form .form-grid-three {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 235px;
  }
}

@media (max-width: 500px) {
  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-trust-line span:nth-child(3) {
    display: none;
  }

  .signal-map {
    height: 245px;
  }

  .signal-node-na {
    top: 13%;
    left: 4%;
  }

  .signal-node-eu {
    top: 8%;
    right: 4%;
  }

  .signal-node-apac {
    right: 3%;
    bottom: 19%;
  }

  .signal-node-oceania {
    bottom: 10%;
    left: 4%;
  }

  .signal-center {
    min-width: 120px;
  }

  .home-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-stat {
    min-height: 112px;
    border-top: 1px solid var(--line);
  }

  .home-stat:nth-child(1) {
    border-top: 0;
  }

  .home-stat:nth-child(2) {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .home-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .home-stat:nth-child(4) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .home-stat small {
    margin-top: 6px;
  }

  .account-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .account-summary-grid .summary-card-note {
    grid-column: auto;
    min-height: 104px;
  }

  .account-summary-grid .summary-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 88px;
  }

  .hall-hero-meta {
    gap: 5px 11px;
  }

  .hall-toolbar {
    align-items: flex-start;
  }

  .board-count {
    font-size: 14px;
  }

  .job-row-title {
    font-size: 20px;
  }

  .job-row-tags .skill-tag:nth-child(n + 4) {
    display: none;
  }

  .job-row-meta {
    font-size: 14px;
  }

  .favorite-button.is-labeled .favorite-label {
    display: inline;
  }

  .detail-aside .favorite-button.is-labeled {
    width: 100%;
  }

  .auth-panel {
    padding: 26px 19px 30px;
  }

  .auth-email-heading h1 {
    font-size: 34px;
  }

  .demo-code-note {
    align-items: flex-start;
  }

  .code-input-wrap input {
    padding-right: 105px;
  }

  .code-send-button {
    font-size: 14px;
  }

  .saved-task-main > a {
    font-size: 16px;
  }

  .info-hero-copy {
    font-size: 14px;
  }
}

/* Motion ------------------------------------------------------------------- */

.signal-network {
  transform-box: view-box;
  transform-origin: 230px 180px;
  animation: signal-rotate 72s linear infinite;
}

.signal-trail {
  animation: signal-dash 12s linear infinite;
}

.signal-trail-two {
  animation-duration: 16s;
  animation-direction: reverse;
}

.signal-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: signal-pulse 3.2s ease-in-out infinite;
}

.signal-dot-two {
  animation-delay: -0.8s;
}

.signal-dot-three {
  animation-delay: -1.4s;
}

.signal-dot-four {
  animation-delay: -2s;
}

.signal-dot-five {
  animation-delay: -2.6s;
}

.signal-dot-six {
  animation-delay: -1.1s;
}

.signal-center {
  animation: signal-float 7s ease-in-out infinite;
}

.signal-node {
  animation: node-float 6s ease-in-out infinite;
}

.signal-node-eu {
  animation-delay: -1.5s;
}

.signal-node-apac {
  animation-delay: -3s;
}

.signal-node-oceania {
  animation-delay: -4.5s;
}

.signal-live i {
  animation: live-pulse 2.2s ease-in-out infinite;
}

.signal-map {
  animation: map-drift 20s linear infinite;
}

.home-stat strong {
  font-variant-numeric: tabular-nums;
}

@keyframes signal-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes signal-dash {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes signal-float {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 5px));
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 99, 255, 0.22);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(31, 99, 255, 0);
  }
}

@keyframes map-drift {
  to {
    background-position: 38px 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-network,
  .signal-trail,
  .signal-dot,
  .signal-center,
  .signal-node,
  .signal-live i,
  .signal-map {
    animation: none;
  }
}

/* Typography scale and control consistency -------------------------------- */

:root {
  --radius-control: 7px;
}

body {
  font-size: 18px;
}

.eyebrow {
  font-size: 14px;
}

.mono-label {
  font-size: 14px;
}

.demo-mark {
  min-height: 19px;
  font-size: 14px;
  padding: 0 6px;
}

.btn {
  min-height: 45px;
  border-radius: var(--radius-control);
  font-size: 16px;
}

.btn-sm {
  min-height: 38px;
  font-size: 16px;
}

.btn-lg {
  min-height: 50px;
  font-size: 18px;
}

.text-link {
  font-size: 16px;
}

.status-badge {
  min-height: 25px;
  padding: 2px 9px;
  font-size: 14px;
}

.skill-tag {
  min-height: 25px;
  padding: 2px 8px;
  font-size: 14px;
}

.budget-label {
  font-size: 14px;
}

.field input,
.field textarea,
.field select {
  min-height: 49px;
  border-radius: var(--radius-control);
  font-size: 16px;
}

.field textarea {
  min-height: 112px;
}

.field-label {
  font-size: 14px;
}

.field-label em {
  font-size: 14px;
}

.check-field {
  font-size: 14px;
}

.field-error {
  font-size: 14px;
}

.form-hint {
  font-size: 14px;
}

.form-demo-note {
  font-size: 14px;
}

.nav-link {
  font-size: 16px;
}

.demo-strip-inner {
  min-height: 32px;
  font-size: 14px;
}

.brand-word {
  font-size: 22px;
}

.header-auth {
  font-size: 16px;
}

.account-pill {
  font-size: 16px;
}

.menu-toggle {
  border-radius: var(--radius-control);
}

.hero-search,
.hall-search,
.filter-option,
.filter-chip,
.choice-chip,
.quick-link,
.filter-mobile-trigger,
.advanced-open-button,
.sort-wrap select,
.active-chip,
.account-nav a,
.filter-advanced-trigger,
.code-send-button {
  border-radius: var(--radius-control);
}

.hero-search,
.hall-search {
  min-height: 62px;
}

.hall-search input,
.hero-search input {
  font-size: 16px;
}

.sort-wrap {
  font-size: 14px;
}

.sort-wrap select {
  font-size: 14px;
}

.filter-mobile-trigger {
  min-height: 38px;
  font-size: 14px;
}

.advanced-open-button {
  min-height: 38px;
  font-size: 14px;
}

.advanced-count {
  font-size: 14px;
}

.home-hero-lead {
  font-size: 20px;
  line-height: 1.85;
}

.home-trust-line {
  font-size: 14px;
}

.home-trust-line .icon {
  width: 15px;
  height: 15px;
}

.signal-head .mono-label {
  font-size: 14px;
}

.signal-live {
  font-size: 14px;
}

.signal-node {
  font-size: 14px;
}

.signal-center strong {
  font-size: 14px;
}

.signal-center small {
  font-size: 14px;
}

.signal-flow {
  font-size: 14px;
}

.signal-note {
  font-size: 14px;
}

.home-stats-head {
  font-size: 14px;
}

.home-stats-head > span:last-child {
  font-size: 14px;
}

.home-stat > span {
  font-size: 16px;
}

.home-stat small {
  font-size: 14px;
}

.hall-hero-copy {
  font-size: 16px;
}

.hall-hero-meta {
  font-size: 14px;
}

.board-count {
  font-size: 14px;
}

.filter-group h3 {
  font-size: 14px;
}

.filter-option {
  min-height: 33px;
  font-size: 14px;
}

.filter-count {
  font-size: 14px;
}

.filter-chip {
  min-height: 29px;
  font-size: 14px;
}

.filter-note {
  font-size: 14px;
}

.active-filter-label,
.clear-all {
  font-size: 14px;
}

.active-chip {
  min-height: 28px;
  font-size: 14px;
}

.job-row-kicker {
  font-size: 14px;
}

.job-cat-code {
  min-height: 19px;
  font-size: 14px;
}

.job-row-title {
  font-size: 22px;
}

.job-row-summary {
  font-size: 16px;
  line-height: 1.72;
}

.job-row-tags .skill-tag {
  min-height: 23px;
  font-size: 14px;
}

.job-language-tag {
  min-height: 23px;
  font-size: 14px;
}

.job-row-budget span {
  font-size: 14px;
}

.job-row-budget strong {
  font-size: 26px;
}

.job-row-meta {
  font-size: 14px;
}

.job-row-source {
  font-size: 14px;
}

.empty-state p {
  font-size: 14px;
}

.advanced-head p {
  font-size: 14px;
}

.advanced-section h3 {
  font-size: 14px;
}

.advanced-section h3 span {
  font-size: 14px;
}

.advanced-section .choice-chip {
  font-size: 14px;
}

.advanced-section .filter-chip {
  font-size: 14px;
}

.advanced-budget .field-label {
  font-size: 14px;
}

.advanced-budget input {
  font-size: 14px;
}

.advanced-hint {
  font-size: 14px;
}

.advanced-reset {
  font-size: 14px;
}

.breadcrumb {
  font-size: 14px;
}

.detail-kicker {
  font-size: 14px;
}

.detail-lead {
  font-size: 18px;
}

.detail-meta-row {
  font-size: 14px;
}

.detail-section-label {
  font-size: 14px;
}

.detail-section h2 {
  font-size: 26px;
}

.detail-body-copy {
  font-size: 16px;
}

.scope-note {
  font-size: 14px;
}

.deliverable-item {
  font-size: 16px;
}

.detail-skills .skill-tag {
  min-height: 29px;
  font-size: 14px;
}

.requirement-list li {
  font-size: 16px;
}

.spec-card > .spec-card-label {
  font-size: 14px;
}

.spec-card strong {
  font-size: 18px;
}

.spec-card p {
  font-size: 14px;
}

.source-panel-head strong {
  font-size: 16px;
}

.source-panel-head div span {
  font-size: 14px;
}

.source-list dt {
  font-size: 14px;
}

.source-list dd {
  font-size: 14px;
}

.source-disclaimer {
  font-size: 14px;
}

.detail-disclaimer {
  font-size: 14px;
}

.action-budget p {
  font-size: 14px;
}

.action-points li {
  font-size: 14px;
}

.action-meta dt,
.action-meta dd {
  font-size: 14px;
}

.aside-demo-note {
  font-size: 14px;
}

.auth-visual-copy > p {
  font-size: 16px;
}

.auth-flow-step strong {
  font-size: 14px;
}

.auth-form-heading p {
  font-size: 14px;
}

.auth-email-heading p {
  font-size: 14px;
}

.auth-panel .field input,
.auth-panel .field select {
  font-size: 18px;
}

.auth-note,
.demo-code-note {
  font-size: 14px;
}

.code-send-button {
  font-size: 14px;
}

.account-page-head p {
  font-size: 14px;
}

.account-profile-card p {
  font-size: 14px;
}

.account-since {
  font-size: 14px;
}

.account-nav a {
  padding: 10px;
  font-size: 14px;
}

.account-nav a span {
  font-size: 14px;
}

.account-logout {
  font-size: 14px;
}

.summary-card > span {
  font-size: 14px;
}

.summary-card small {
  font-size: 14px;
  line-height: 1.5;
}

.section-count {
  font-size: 14px;
}

.profile-intro {
  font-size: 14px;
}

.profile-edit-button {
  font-size: 14px;
}

.profile-meta-grid dt {
  font-size: 14px;
}

.profile-meta-grid dd {
  font-size: 14px;
}

.profile-updated {
  font-size: 14px;
}

.profile-empty-copy p {
  font-size: 14px;
}

.profile-form .form-hint {
  font-size: 14px;
}

.readonly-note {
  font-size: 14px;
}

.saved-task-main > a {
  font-size: 18px;
}

.saved-task-meta {
  font-size: 14px;
}

.saved-task-side > strong {
  font-size: 18px;
}

.account-empty p {
  font-size: 14px;
}

.faq-question > span:nth-child(2) {
  font-size: 18px;
}

.faq-answer p {
  font-size: 16px;
}

.faq-index {
  font-size: 14px;
}

.info-hero-copy {
  font-size: 16px;
}

.step-detail-card p {
  font-size: 14px;
}

.status-detail-card p {
  font-size: 14px;
}

.boundary-panel li {
  font-size: 14px;
}

.help-aside p {
  font-size: 14px;
}

.help-note span {
  font-size: 14px;
}

.contact-hero p {
  font-size: 16px;
}

.contact-form-intro {
  font-size: 14px;
}

.contact-channel span {
  font-size: 14px;
}

.contact-channel strong {
  font-size: 14px;
}

.contact-placeholder-note {
  font-size: 14px;
}

.contact-step p {
  font-size: 14px;
}

.contact-note-card {
  font-size: 14px;
}

.footer-brand p {
  font-size: 16px;
}

.footer-column h2,
.footer-column h3 {
  font-size: 14px;
}

.footer-column a {
  padding: 6px 0;
  font-size: 14px;
}

.footer-bottom {
  font-size: 14px;
}

.footer-demo {
  font-size: 14px;
}

@media (max-width: 720px) {
  .field input,
  .field textarea,
  .field select {
    font-size: 18px;
  }

  .job-row-title {
    font-size: 22px;
  }

  .job-row-summary {
    font-size: 14px;
  }

  .home-stat > span {
    font-size: 16px;
  }

  .home-stat small {
    font-size: 14px;
  }

  .account-nav a {
    font-size: 14px;
  }

  .profile-meta-grid dd {
    font-size: 14px;
  }

  .filter-option {
    font-size: 14px;
  }

  .auth-panel .field input,
  .auth-panel .field select {
    font-size: 18px;
  }

  .faq-question > span:nth-child(2) {
    font-size: 18px;
  }
}
/* ── 依据等级 evidence：与状态正交的第二层信号 ─────────────── */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 23px;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.evidence-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: currentColor;
}

.evidence-verified {
  border-color: #b9d3c4;
  color: var(--confirmed);
}

.evidence-summary {
  border-color: #e3cfa4;
  color: var(--negotiating);
}

.evidence-secondhand {
  border-color: var(--line-strong);
  color: var(--muted-light);
}

.task-badges {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* 详情页：来源原样摘录 */
.source-raw {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.source-raw-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.source-raw-head code {
  padding: 3px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  word-break: break-word;
}

.source-snippet {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius-xs);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
}

.evidence-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.evidence-block p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.source-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.source-open-link .icon {
  width: 13px;
  height: 13px;
}

.source-open-link:hover {
  background: var(--ink);
  color: #fff;
}

.source-open-link.is-disabled {
  border-color: var(--line-strong);
  color: var(--muted-light);
  cursor: not-allowed;
}

.source-open-link.is-disabled:hover {
  background: transparent;
  color: var(--muted-light);
}

.source-open-note {
  margin-top: 8px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .source-list {
    grid-template-columns: 1fr;
  }

  .task-badges {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   法律页：用户协议 / 隐私政策 / 免责声明
   -------------------------------------------------------------------------- */

.legal-layout {
  display: grid;
  grid-template-columns: 0.52fr 1.48fr;
  gap: 72px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 104px;
}

.legal-toc {
  display: grid;
  gap: 1px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.legal-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease;
}

.legal-toc a span {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.legal-toc a:hover {
  color: var(--signal);
}

.legal-note {
  margin-top: 22px;
  padding: 15px 16px;
  background: #fbf6ec;
  border: 1px solid #e6d6b6;
  border-radius: var(--radius-sm);
}

.legal-note strong {
  display: block;
  color: var(--amber);
  font-size: 14px;
}

.legal-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
}

.legal-doc {
  min-width: 0;
  max-width: 780px;
}

.legal-banner {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 15px 18px;
  background: #fbf6ec;
  border: 1px solid #e6d6b6;
  border-radius: var(--radius-sm);
}

.legal-banner strong {
  flex: 0 0 auto;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.legal-banner span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 22px 0 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.legal-doc section {
  padding-top: 30px;
  scroll-margin-top: 104px;
}

.legal-doc h2 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.4;
}

.legal-doc h2 span {
  flex: 0 0 auto;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.legal-doc h3 {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.legal-doc p {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.legal-doc ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.legal-doc li {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.legal-doc li::marker {
  color: var(--line-strong);
}

.legal-doc a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: var(--signal-deep);
}

.legal-doc code {
  padding: 1px 5px;
  background: var(--paper-deep);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 14px;
}

.legal-fill {
  padding: 1px 6px;
  background: #fbf6ec;
  border: 1px dashed #d9c19a;
  border-radius: var(--radius-xs);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.legal-end {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-aside {
    position: static;
  }

  .legal-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }
}

@media (max-width: 720px) {
  .legal-doc h2 {
    font-size: 20px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-banner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 登录页：条款入口 */
.auth-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 7px;
  margin: -2px 0 16px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

.auth-consent a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-consent a:hover {
  color: var(--signal-deep);
}

/* 个人中心：条款入口 */
.account-legal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.account-legal-links a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.account-legal-links a:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.account-legal-links .icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--muted-light);
}

@media (max-width: 720px) {
  .account-legal-links {
    grid-template-columns: 1fr;
  }
}

/* 免责声明：正式版文档组件 */
.legal-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  background: #f4f7fc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.legal-status-tag {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 2px 8px;
  background: var(--ink);
  border-radius: 2px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 24px 0 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-meta-grid > div {
  display: flex;
  gap: 12px;
  padding: 5px 0;
}

.legal-meta-grid dt {
  flex: 0 0 76px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.legal-meta-grid dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.legal-defs {
  margin: 14px 0 0;
}

.legal-defs dt {
  margin-top: 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.legal-defs dd {
  margin: 4px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.legal-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}

.legal-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.8;
  vertical-align: top;
}

.legal-table td:first-child {
  color: var(--ink);
  font-family: var(--font-mono);
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .legal-toc {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 8px;
  }
}

@media (max-width: 1024px) {
  .legal-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .legal-status {
    flex-direction: column;
  }

  .legal-status-tag {
    align-self: flex-start;
  }
}





/* 来源面板里的补充说明（地域判定的理由、报酬口径） */
.source-list .source-note {
  display: inline-block;
  margin-top: 2px;
  color: var(--muted, #6b7280);
  font-size: 14px;
  line-height: 1.7;
}
/* 页脚的数据来源署名（Remote OK 等的接口条款要求署名 + 可点击回链） */
.footer-sources {
  line-height: 1.8;
}
.footer-sources a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-sources a:hover {
  color: var(--signal, #1f63ff);
}
/* 竞争强度徽章：报价数是判断「值不值得投」的第一手信息 */
.competition-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(20, 24, 33, 0.12);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
  color: var(--ink-soft, #4a5160);
  background: #fff;
}
.competition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.competition-low {
  color: #3f6b52;
  border-color: #b9d3c4;
  background: #f4f9f6;
}
.competition-mid {
  color: #7a5c1f;
  border-color: #e3cfa4;
  background: #fdf8ee;
}
.competition-high {
  color: #8a3b3b;
  border-color: #e2bcbc;
  background: #fdf3f3;
}

/* 列表「再加载」 */
.load-more-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 0 8px;
}
.load-more-note {
  font-size: 14px;
  color: var(--muted, #6b7280);
}
/* ---------------------------------------------------------------
   机器翻译提示（真实数据的中文译文，挂在正文下面）
   --------------------------------------------------------------- */
.translate-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--line-strong, #d6dbe4);
  background: #f7f8fb;
  color: #5a6478;
  font-size: 14px;
  line-height: 1.7;
}

.translate-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 3px;
}

/* ── 详情页正文：段落 + 列表（原帖的 - xxx 一条一条列出来） ───────── */
.detail-body-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.detail-body-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.detail-body-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  opacity: .55;
}

.deliverable-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.deliverable-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fcfcfe;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.deliverable-checklist li svg {
  flex: none;
  margin-top: 3px;
  width: 14px;
  height: 14px;
  color: #3f6b52;
}

.detail-skills-note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
}
/* 列表卡片右侧：状态 / 依据 / 报价三个徽章加收藏挤在一行，宽度超过侧栏，
 * 收藏按钮被顶到卡片外面（截图里能看到它挂在边框右侧）。
 * 改成：收藏固定在卡片右上角，徽章行独占一行、右对齐、允许换行。 */
@media (min-width: 721px) {
  .job-row {
    grid-template-columns: minmax(0, 1fr) 242px;
  }

  .job-row .favorite-button {
    position: absolute;
    top: 16px;
    right: 18px;
  }

  .job-row-side-top {
    margin-top: 30px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* 三个徽章 + 收藏一共要 260px 上下：宽屏时把侧栏放宽，
 * 收藏回到徽章行末尾（一行排开）；窄屏时收藏固定在卡片右上角，徽章行下移一行。
 * 这一组必须写在上面那组之后，否则被 margin-top:30px / position:absolute 覆盖。 */
@media (min-width: 1180px) {
  .job-row {
    grid-template-columns: minmax(0, 1fr) 286px;
  }

  /* 收藏按钮回到徽章行里一起排开。
   * 这里必须用 relative（top/right 归零），不能用 static：
   * .favorite-button::after 是撑到 44×44 的触控热区（inset: -8px），
   * 它的定位基准是按钮自己；一旦按钮变成 static，热区就会落到最近的定位祖先
   * .job-row 上，把整张卡片变成收藏按钮 —— 点标题也会被当成点收藏，跳去登录。 */
  .job-row .favorite-button {
    position: relative;
    top: auto;
    right: auto;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
  }

  .job-row-side-top {
    margin-top: 0;
    flex-wrap: nowrap;
    gap: 6px;
  }
}

/* 三种徽章大小不统一（状态 12px/25px、依据 11.5px/23px、报价 11.5px/1.6 行高），
 * 并排放一起高度和圆角都对不齐，统一成一套。 */
.job-row-side-top > .status-badge,
.job-row-side-top > .evidence-badge,
.job-row-side-top > .competition-badge,
.task-badges > .status-badge,
.task-badges > .evidence-badge,
.task-badges > .competition-badge {
  min-height: 22px;
  padding: 2px 7px;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.job-row-side-top .status-dot,
.job-row-side-top .evidence-dot,
.job-row-side-top .competition-dot,
.task-badges .status-dot,
.task-badges .evidence-dot,
.task-badges .competition-dot {
  width: 5px;
  height: 5px;
}
/* 交付要求：原帖没有单列交付物时，只说明「以原帖为准」，不硬凑两条 */
.deliverable-empty {
  /* 和其他内容块一致：与上方 h2 留出一段距离（原来 margin:0，标题和框贴在一起） */
  margin: var(--space-lg) 0 0;
  padding: 13px 15px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
/* ---------- 金额的三种口径 ----------
 * 原币是原帖写下的数字，美元用来跨平台比价，人民币只回答「到手大概多少」。
 * 卡片上只加一行美元参考，人民币放详情页，避免列表右侧堆四行数字。
 */
.budget-fx {
  display: block;
  margin-top: 3px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.job-row-budget .budget-fx {
  text-align: right;
}

.action-budget .budget-primary {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.budget-fx-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0;
}

.budget-fx-stamp {
  display: block;
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.5;
}
/* ============================================================
   意向登记（V1 唯一的产出：有人想接这个活）
   ============================================================ */
.job-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.job-row-foot .job-row-source {
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 整张卡被 .job-row-title::after 的透明层盖住用来点击，按钮必须抬到它上面 */
.job-row-intent {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.job-row-intent:hover {
  border-color: var(--green);
  background: rgba(31, 99, 255, 0.06);
  color: var(--ink);
}

.job-row-intent:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.intent-source-btn {
  margin-top: 8px;
  gap: 6px;
}

.intent-source-btn .icon {
  width: 14px;
  height: 14px;
}

.intent-source-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.intent-hint {
  margin: 9px 0 0;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.65;
}

.intent-modal .modal-dialog {
  max-width: 470px;
}

.intent-head h2 {
  margin: 6px 0 0;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.intent-task {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  /* 标题可能很长，两行封顶 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.intent-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.intent-form .field-label em {
  margin-left: 6px;
  color: var(--muted-light);
  font-style: normal;
  font-weight: 400;
}

.field-error {
  margin: -6px 0 0;
  color: #b23a3a;
  font-size: 14px;
}

.intent-terms {
  margin: 0;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

.intent-done {
  margin-top: 22px;
  text-align: center;
}

.intent-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(38, 122, 79, 0.1);
  color: #2c7a52;
}

.intent-done-icon .icon {
  width: 18px;
  height: 18px;
}

.intent-done h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.intent-done-copy {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* 我的页面：意向记录 */
.intent-row .intent-time {
  margin-left: 4px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.intent-row .intent-email {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.intent-row .intent-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.intent-row .intent-title-static em {
  margin-left: 6px;
  color: var(--muted-light);
  font-style: normal;
  font-size: 14px;
}

.intent-remove {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted-light);
  font-size: 14px;
  cursor: pointer;
}

.intent-remove:hover {
  border-color: #c9a0a0;
  color: #a33f3f;
}

@media (min-width: 1025px) {
  .account-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* ============================================================
   列表卡片固定节奏：标题 1 行、摘要 2 行、技能 1 行
   一列扫下来每条边缘对齐，滚动条不会忽长忽短
   ============================================================ */
.job-row-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.job-row-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.72 * 13px);
}

.job-row-tags {
  flex-wrap: nowrap;
  overflow: hidden;
}

.job-row-tags .skill-tag,
.job-row-tags .job-language-tag {
  flex: 0 0 auto;
}

/* ============================================================
   骨架屏
   ============================================================ */
.sk-row,
.sk-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.sk-row + .sk-row {
  margin-top: 12px;
}

/* 详情页骨架要先占住一屏。
 * 真实正文大约是它十倍高，骨架太矮会让「其他任务」和页脚先挤进首屏，
 * 等正文渲染出来再把它们整体顶下去 —— 看起来就是页面跳了一下。
 * 占满一屏之后，首屏只有骨架，正文替换骨架时下面没有东西在移动。 */
.sk-detail {
  min-height: max(420px, calc(100vh - 180px));
}

.sk-block {
  display: block;
  border-radius: 5px;
  background: linear-gradient(90deg, #eceff5 25%, #f6f8fb 37%, #eceff5 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}

@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.sk-code {
  width: 78px;
  height: 13px;
}

.sk-title {
  width: min(420px, 70%);
  height: 19px;
}

.sk-line {
  width: 100%;
  height: 11px;
}

.sk-line-short {
  width: 62%;
}

.sk-tags {
  width: min(260px, 55%);
  height: 17px;
  margin-top: 2px;
}

.sk-detail-title {
  width: min(460px, 78%);
  height: 30px;
  margin: 4px 0 6px;
}

.sk-detail-section {
  width: 130px;
  height: 15px;
  margin-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .sk-block {
    animation: none;
  }
}

/* ============================================================
   移动端筛选抽屉（脚本逻辑早就有，这里补样式）
   ============================================================ */
@media (max-width: 900px) {
  .filter-mobile-trigger {
    display: inline-flex;
  }

  .hall-filters {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 75;
    max-height: 86vh;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    box-shadow: 0 -18px 48px rgba(10, 22, 40, 0.22);
    transform: translateY(102%);
    /* 关上时连可见性一起关，免得贴在视口底部露一条边 */
    visibility: hidden;
    transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.26s;
  }

  .hall-filters.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0s;
  }

  .filter-close {
    display: inline-flex;
  }

  .filter-apply {
    display: block;
  }

  .filter-scrim {
    z-index: 74;
  }

  body.filters-open {
    overflow: hidden;
  }
}
/* 已经留过意向的按钮：降低强调，避免重复点击 */
.job-row-intent.is-intent-set {
  border-color: rgba(38, 122, 79, 0.45);
  background: rgba(38, 122, 79, 0.08);
  color: #2c7a52;
}

.btn.is-intent-set {
  background: rgba(38, 122, 79, 0.1);
  border-color: rgba(38, 122, 79, 0.35);
  color: #2c7a52;
}
/* ============================================================
   移动端卡片底栏重排
   原先这块是自动排布：预算标签会跑到右栏、金额在左，人民币行又右对齐，
   「想要」按钮掉到左下角孤零零一个。这里显式指定行列。
   左栏：状态徽章 → 预算标签/金额/人民币（统一左对齐）
   右栏：时长/地点/时间 → 想要
   ============================================================ */
@media (max-width: 900px) {
  .job-row-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 8px 14px;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .job-row-side-top {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .job-row-budget {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    min-width: 0;
    text-align: left;
    justify-self: start;
  }

  .job-row-budget span,
  .job-row-budget strong,
  .job-row-budget .budget-fx {
    text-align: left;
  }

  .job-row-budget strong {
    font-size: 22px;
  }

  .job-row-budget .budget-fx {
    margin-top: 3px;
    font-size: 14px;
  }

  .job-row-meta {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
  }

  .job-row-foot {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
  }
}
/* ============================================================
   卡片右下角信息块：桌面端上下堆叠右对齐，移动端左右分栏
   ============================================================ */
.job-row-figures {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  width: 100%;
  margin-top: 13px;
}

.job-row-figures .job-row-budget,
.job-row-figures .job-row-meta {
  margin-top: 0;
}

/* 移动端：左边预算（标签/金额/人民币统一左对齐），右边时长、地点、时间 */
@media (max-width: 900px) {
  .job-row-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .job-row-side-top {
    width: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .job-row-figures {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 0;
  }

  .job-row-budget {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }

  .job-row-budget span,
  .job-row-budget strong,
  .job-row-budget .budget-fx {
    text-align: left;
  }

  .job-row-budget strong {
    font-size: 22px;
  }

  .job-row-budget .budget-fx {
    margin-top: 3px;
    font-size: 14px;
  }

  .job-row-meta {
    flex: 0 0 auto;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
  }

  .job-row-foot {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
  }
}
/* ---------- 计费方式：整单 / 时薪 / 年薪 ----------
 * 三种口径的金额不能互相比，所以给它们各自的颜色和说法，
 * 避免读者把「US$15–25」当成整单价格。
 */
.pay-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.pay-fixed {
  background: #eef1f7;
  color: #3c4964;
}
.pay-hourly {
  background: #e9f0ff;
  color: #1f4fb5;
}
.pay-annual {
  background: #f0ecfb;
  color: #4a3b8f;
}
.filter-hint {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted, #7b8494);
}

/* ---------- 来源标识（缩写 + 品牌色） ----------
 * 不用对方 logo：既避免商标与「合作/背书」的误读，也免得 5 家来源里
 * 有 2 家拿不到图标、混排起来像缺图。将来换成真 logo 只需改这里。
 */
.source-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: #eef1f7;
  background: color-mix(in srgb, var(--mark-color) 13%, #fff);
  border: 1px solid #e3e8f0;
  border-color: color-mix(in srgb, var(--mark-color) 26%, #fff);
  color: #4a5568;
  color: var(--mark-color);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .source-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 14px;
  }
}

/* ---------- 接单大厅首屏（手机端压缩） ----------
 * 问题：390px 下第一个任务卡要到 y≈940 才出现，第一屏只有大标题和图例。
 * 做法：手机端把图例卡（三组、带说明）隐藏，换成一行可横向滚动的徽章；
 * 标题降一档、文案截两行，让第一张卡片落进首屏。
 */
@media (max-width: 900px) {
  .hall-hero {
    padding: 26px 0 18px;
  }
  .hall-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
  .hall-hero h1 {
    margin-top: 10px;
    font-size: 34px;
    line-height: 1.22;
    letter-spacing: -0.03em;
  }
  .hall-hero-copy {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
  }
  .hall-hero-meta {
    margin-top: 10px;
    gap: 6px 12px;
    font-size: 14px;
  }
  .hall-search {
    margin-top: 14px;
  }
}

/* ---------- 详情页：同类任务与上下条 ----------
 * 详情页原来是流量的终点，看完只能关掉。这里补两块出口：
 * 同一分类的三条（优先有明确预算的），以及按发布时间的前后一条。
 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* 详情页底部的三张相关卡（复用 .task-card）：
 * 摘要固定 3 行高、技能行固定一行高，底部块不再用 margin-top:auto 钉底。
 * 否则预算多折一行的卡会把分隔线顶上去，甚至让技能标签直接压在分隔线上。 */
.related-grid .task-summary {
  min-height: calc(1.75em * 3);
}

.related-grid .task-skills {
  min-height: 26px;
}

.related-grid .task-card-foot {
  margin-top: var(--space-lg);
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface, #fff);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.related-card:hover,
.related-card:focus-visible {
  border-color: #c9d8f5;
  transform: translateY(-1px);
}

.related-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.related-card strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.related-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.detail-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  /* 上下条是主卡片的直接子元素（不在 section 里），必须自己让出左右内边距，
   * 否则它的边框会贴到卡片边框上，比上面段落宽出一截。 */
  margin: var(--space-xs) var(--detail-pad-x) var(--space-lg);
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface, #fff);
  text-decoration: none;
  color: inherit;
}

.pager-link span {
  font-size: 14px;
  color: var(--muted);
}

.pager-link strong {
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pager-next {
  text-align: right;
}

.pager-link.is-empty {
  border-style: dashed;
  background: transparent;
  color: var(--muted-light);
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .pager-next {
    text-align: left;
  }
}

/* ---------- 数据加载失败兜底 ----------
 * data.js 九百多 KB，弱网或缓存缺文件时会失败，骨架屏不能一直闪。
 */
.data-fail {
  max-width: 520px;
  margin: 28px auto;
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--surface, #fff);
  text-align: center;
}
.data-fail strong {
  display: block;
  font-size: 18px;
}
.data-fail p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.data-fail code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: #f2f5fa;
  padding: 1px 5px;
  border-radius: 5px;
}
.data-fail .btn {
  margin-top: 14px;
}

/* ---------- 404 页 ---------- */
.notfound-panel {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface, #fff);
}
.notfound-code {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #dbe4f3;
}
.notfound-copy h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.notfound-copy p {
  margin-top: 8px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.notfound-suggest {
  margin-top: 40px;
}
.notfound-suggest-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.notfound-suggest .related-grid {
  margin-top: 14px;
}
.text-link {
  font-size: 14px;
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 720px) {
  .notfound-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 22px 20px;
  }
  .notfound-code {
    font-size: 58px;
  }
  .notfound-actions .btn {
    flex: 1 1 auto;
  }
}

/* 404 页：三个可走的路，比再说一遍「找不到」有用。 */
.notfound-links {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.notfound-links li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 16px;
}
.notfound-links a {
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--signal) 35%, transparent);
}
.notfound-links span {
  font-size: 14px;
  color: var(--muted);
}
.notfound-panel {
  max-width: 920px;
}

/* ---------- 信息纠错 ----------
 * 只记录、不改状态：一句话的反馈不足以判定失效，误报比漏报更难收拾。
 * 入口贴在「05 来源与依据」底部，自动带任务编号与来源。
 */
.correction-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.correction-ask {
  font-size: 14px;
  color: var(--muted);
}
.correction-chip {
  font: inherit;
  font-size: 14px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.correction-chip:hover,
.correction-chip:focus-visible {
  border-color: #c9d8f5;
  color: var(--signal);
}
.correction-link {
  font: inherit;
  font-size: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.correction-hint {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--muted-light);
}

.correction-modal .modal-dialog {
  max-width: 470px;
}
.correction-head h2 {
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.correction-task {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.correction-reasons {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 6px;
}
.correction-reasons legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}
.correction-reason {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.correction-reason:hover {
  border-color: #c9d8f5;
}
.correction-reason input {
  accent-color: var(--signal);
  margin: 0;
}
.correction-reason:has(input:checked) {
  border-color: var(--signal);
  background: #f4f8ff;
}
.correction-terms {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.correction-done {
  margin-top: 18px;
  text-align: center;
}
.correction-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f3ec;
  color: #3f7a53;
}
.correction-done h3 {
  margin-top: 8px;
  font-size: 18px;
}
.correction-done-copy {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.correction-copy {
  margin-top: 12px;
  padding: 12px;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f5f7fb;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
}
.correction-done-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

/* 弹窗容器聚焦时不需要外圈：焦点本来就是程序移进去的，
 * 一圈蓝框反而像输入框。 */
.intent-dialog:focus,
.correction-dialog:focus {
  outline: none;
}

/* ---------- 关于本站 ----------
 * 布局沿用条款页那套（左侧目录 + 右侧正文），但目录更短、内容更像说明而非条款。
 */
.about-layout {
  display: grid;
  grid-template-columns: 0.46fr 1.54fr;
  gap: 64px;
  align-items: start;
}
.about-aside {
  position: sticky;
  top: 104px;
}
.about-aside nav {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}
.about-aside nav a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-size: 16px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.about-aside nav a:hover {
  color: var(--signal);
  border-bottom-color: color-mix(in srgb, var(--signal) 30%, transparent);
}
.about-aside nav a span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: var(--muted-light);
}
.about-note {
  margin-top: 18px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  background: #f6f9ff;
  border: 1px solid #e2ebfa;
  border-radius: 12px;
}
.about-doc {
  max-width: 760px;
}
.about-doc section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 104px;
}
.about-doc section:first-child {
  padding-top: 0;
}
.about-doc h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.about-doc h2 span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: var(--signal);
}
.about-doc p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.about-list {
  margin-top: 12px;
  padding-left: 0;
  display: grid;
  gap: 8px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.about-list li {
  position: relative;
  padding-left: 16px;
}

/* 全站 ul 去掉了默认符号；这里补一个和「核对流程」同款的小圆点，
   否则列表只有缩进、看不到项目符号。 */
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}
.about-list strong {
  color: var(--ink);
}
.about-quiet {
  font-size: 14px !important;
  color: var(--muted) !important;
}
.about-quiet code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: #f2f5fa;
  padding: 1px 5px;
  border-radius: 5px;
}
.about-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.about-grid3 > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface, #fff);
}
.about-grid3 strong {
  display: block;
  font-size: 16px;
}
/* 只作用于卡片里的说明文字：写成 .about-grid3 span 会连图标块一起命中，
   把 inline-grid 覆盖成 block、把图标颜色压成 muted（图标不居中也不上色）。 */
.about-grid3 .about-grid3-text {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface, #fff);
}
.about-link:hover {
  border-color: #c9d8f5;
  color: var(--signal);
}
.about-link.is-disabled {
  color: var(--muted-light);
  border-style: dashed;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .about-aside {
    position: static;
  }
  .about-aside nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 未翻译的原帖（波兰语、印地语等）：说明情况，用琥珀色区别于普通翻译提示 */
.translate-note.is-warn {
  border-left-color: #d9a13b;
  background: #fdf7ea;
  color: #7a5c1f;
}

/* 未翻译的原帖：列表上给一个「原文」标记，点进去不会以为平台漏翻了 */
.job-origin {
  padding: 2px 6px;
  border-radius: 5px;
  background: #fdf7ea;
  border: 1px solid #ecd9ae;
  color: #7a5c1f;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ---------- 首页：功能迭代 / 路线图 ----------
 * 两块：V1（已上线，展示当前能做什么）、V2（规划中，辅助功能下的两项能力）。
 * 插图全部用 CSS 与图标拼，不引外部图片。
 */
.home-roadmap {
  padding: 84px 0 88px;
  background: var(--paper);
}

.roadmap-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 6px;
}

.roadmap-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 22px;
}

.roadmap-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
}

.roadmap-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--signal);
  background: var(--surface);
  flex: 0 0 auto;
}

.roadmap-item--next .roadmap-dot {
  border-color: var(--line-strong);
  border-style: dashed;
}

.roadmap-line {
  flex: 1 1 auto;
  width: 1px;
  margin-top: 10px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
}

.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px 30px;
}

.roadmap-item--next .roadmap-card {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #fbfdff, var(--surface) 42%);
}

.roadmap-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roadmap-version {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.roadmap-state {
  font-size: 14px;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.roadmap-state--done {
  background: var(--confirmed-bg);
  border-color: #c6dbcb;
  color: var(--confirmed);
}

.roadmap-state--next {
  background: #f9efdc;
  border-color: #e6d3ae;
  color: var(--amber);
}

.roadmap-card h3 {
  margin: 12px 0 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.roadmap-card > p {
  margin: 10px 0 0;
  max-width: 78ch;
  font-size: 16px;
  color: var(--ink-soft);
}

.roadmap-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.roadmap-points li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  color: var(--muted);
}

.roadmap-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* 插图：V1 的迷你任务列表 */
.roadmap-visual--list {
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  background: var(--paper-deep);
  border: 1px solid #d8e4f4;
  display: grid;
  gap: 9px;
}

.mock-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mock-code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--signal-deep);
  background: var(--green-light);
  border-radius: 4px;
  padding: 2px 0;
  text-align: center;
}

.mock-lines {
  display: grid;
  gap: 5px;
}

.mock-lines i {
  display: block;
  height: 7px;
  border-radius: 3px;
  background: var(--line);
}

.mock-lines i:first-child {
  background: var(--line-strong);
  height: 8px;
}

.mock-badges {
  display: flex;
  gap: 6px;
}

.mock-pill {
  font-size: 14px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}

.mock-pill--ok {
  background: var(--confirmed-bg);
  border-color: #c6dbcb;
  color: var(--confirmed);
}

.mock-pill--quote {
  background: #f9efdc;
  border-color: #e6d3ae;
  color: var(--amber);
}

/* V2：两项能力 */
.roadmap-split {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-feature {
  padding: 20px 20px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.roadmap-feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.roadmap-feature h4 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.roadmap-feature p {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* 插图：AI 拆解流程 */
.roadmap-visual--flow {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper-deep);
  border: 1px solid #d8e4f4;
}

.flow-node {
  font-size: 14px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.flow-node--ai {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: #b9cffb;
  background: var(--green-light);
  color: var(--signal-deep);
}

.flow-node--ai .icon {
  width: 13px;
  height: 13px;
}

.flow-arrow {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  min-width: 14px;
  background: var(--line-strong);
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2.5px;
  border: 3px solid transparent;
  border-left-color: var(--line-strong);
}

/* 插图：人工沟通气泡 */
.roadmap-visual--chat {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper-deep);
  border: 1px solid #d8e4f4;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.chat-bubble {
  max-width: 88%;
  font-size: 14px;
  line-height: 1.5;
  padding: 7px 10px;
  border-radius: 10px;
}

.chat-bubble--me {
  justify-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-bottom-right-radius: 3px;
}

.chat-bubble--them {
  background: var(--green-light);
  border: 1px solid #b9cffb;
  color: var(--signal-deep);
  border-bottom-left-radius: 3px;
}

.roadmap-foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .home-roadmap {
    padding: 56px 0 62px;
  }
  .roadmap-list {
    margin-top: 28px;
    gap: 16px;
  }
  .roadmap-item {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
  }
  .roadmap-rail {
    padding-top: 22px;
  }
  .roadmap-card {
    padding: 20px 18px 22px;
  }
  .roadmap-card h3 {
    font-size: 22px;
  }
  .roadmap-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .mock-row {
    grid-template-columns: 38px minmax(0, 1fr);
    row-gap: 8px;
  }
  .mock-badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* V1 卡片：左边文字、右边插图，避免正文只有一半宽度 */
.roadmap-card-body {
  min-width: 0;
}

@media (min-width: 901px) {
  .roadmap-card--v1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 42%);
    gap: 34px;
    align-items: start;
  }
  .roadmap-card--v1 .roadmap-visual--list {
    margin-top: 4px;
  }
}

/* 「能力一 / 能力二」是小标题，不是装饰编号，用正文最小号 */
.roadmap-feature-tag {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* 流程图箭头不要拉成一整条横线，固定 28px 更像箭头 */
.roadmap-visual--flow {
  justify-content: center;
}

.flow-arrow {
  flex: 0 0 28px;
  min-width: 0;
}

@media (max-width: 900px) {
  .mock-row {
    padding: 8px 10px;
  }
  .roadmap-visual--list {
    padding: 10px;
    gap: 7px;
  }
}

/* ---------- 功能迭代：横向两栏（V1 → V2） ----------
 * 竖向时间轴会把首页拉长一倍，改成左右两栏 + 一个「下一步」连接件；
 * 移动端仍回落成上下两段。
 */
.home-roadmap {
  padding: 76px 0 80px;
}

.roadmap-track {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 0.94fr);
  align-items: stretch;
}

.roadmap-track .roadmap-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.roadmap-track .roadmap-card--v2 {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #fbfdff, var(--surface) 46%);
}

.roadmap-track .roadmap-card h3 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.25;
}

.roadmap-track .roadmap-card > p {
  margin: 8px 0 0;
  max-width: none;
  font-size: 16px;
  color: var(--ink-soft);
}

.roadmap-chips {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap-chips li {
  font-size: 14px;
  line-height: 1.5;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.roadmap-track .roadmap-visual--list {
  margin-top: 16px;
}

/* 中间的连接件 */
.roadmap-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.roadmap-connector-label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.roadmap-connector-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
}

.roadmap-connector-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 3.5px solid transparent;
  border-left-color: var(--line-strong);
}

/* V2 的两项能力：标题一行 + 说明一行 + 一条示意 */
.ability {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.ability-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ability-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--signal-deep);
  background: var(--green-light);
  border: 1px solid #b9cffb;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
}

.ability:last-of-type .ability-tag {
  color: var(--amber);
  background: #f9efdc;
  border-color: #e6d3ae;
}

.ability h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.ability > p {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.ability-strip {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--paper-deep);
  border: 1px solid #d8e4f4;
}

.ability-strip .flow-arrow {
  flex: 0 0 22px;
}

.ability-strip--chat {
  justify-content: space-between;
  gap: 10px;
}

.ability-strip--chat .chat-bubble {
  max-width: 60%;
}

.roadmap-track .roadmap-foot {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .home-roadmap {
    padding: 54px 0 60px;
  }
  .roadmap-track {
    margin-top: 26px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .roadmap-connector {
    flex-direction: row;
    gap: 10px;
    padding: 14px 4px;
  }
  .roadmap-connector-line {
    flex: 1 1 auto;
    width: auto;
  }
  .roadmap-connector-line::after {
    display: none;
  }
  .roadmap-track .roadmap-card {
    padding: 20px 18px 20px;
  }
  .roadmap-track .roadmap-card h3 {
    font-size: 22px;
  }
}

/* 覆盖早期竖向时间轴留下的分栏规则：这里两栏卡片都是纵向 flex */
.roadmap-track .roadmap-card--v1 {
  display: flex;
  flex-direction: column;
}

.roadmap-track .roadmap-visual--list {
  width: 100%;
  margin-top: auto;
}

/* 对话：自己说的话在右，对方在左 */
.ability-strip--chat {
  flex-direction: row-reverse;
}

.ability-strip--chat .chat-bubble--me {
  order: 0;
}

/* 旧规则里的 gap 会被 flex 继承，导致卡片内部出现 34px 空洞 */
.roadmap-track .roadmap-card {
  gap: 0;
}

/* V1 内容比 V2 少，纵向居中比顶对齐更稳 */
.roadmap-track .roadmap-card--v1 {
  justify-content: center;
}

.roadmap-track .roadmap-visual--list {
  margin-top: 18px;
}

.ability-strip--chat {
  flex-direction: row;
  justify-content: center;
}

.ability-strip--chat .chat-bubble {
  max-width: 46%;
}

/* 两栏顶部对齐，留白落在卡片底部，比整体居中更稳 */
.roadmap-track .roadmap-card--v1 {
  justify-content: flex-start;
}

.roadmap-caption {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.6;
}

/* ---------- 功能迭代：一条横线上的两个节点 ----------
 * V1 与 V2 各占一栏，节点（小圆点）落在同一条虚线上，右侧拉出连接段；
 * 移动端回落成上下，连接段隐藏。
 */
.roadmap-track {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 34px;
}

.roadmap-connector {
  display: none;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.roadmap-node {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 22px;
  margin-bottom: 14px;
}

.roadmap-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--signal);
  background: var(--surface);
  flex: 0 0 auto;
}

.roadmap-step--next .roadmap-dot {
  border-color: var(--line-strong);
  border-style: dashed;
}

/* 从节点右侧拉出的虚线，接到下一个节点 */
.roadmap-node::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-left: 8px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
}

.roadmap-step:first-child .roadmap-node::after {
  margin-right: -32px;
}

.roadmap-step:last-child .roadmap-node::after {
  display: none;
}

.roadmap-track .roadmap-card {
  flex: 1 1 auto;
}

.roadmap-track .roadmap-card h3 {
  margin: 0;
}

@media (max-width: 900px) {
  .roadmap-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .roadmap-node {
    height: auto;
    margin-bottom: 10px;
  }
  .roadmap-node::after {
    margin-right: 0;
    background: none;
  }
}

/* 当前节点实心，未来节点空心：一眼能看出走到哪一步 */
.roadmap-step:not(.roadmap-step--next) .roadmap-dot {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(31, 99, 255, 0.12);
}

.roadmap-step--next .roadmap-dot {
  border-style: solid;
  border-color: var(--line-strong);
  background: var(--surface);
}

/* 正文收窄后的「去看原帖」提示，和交付要求里的空态说明保持同一套语气 */
.detail-body-more {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--paper-deep);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* 原文对照：译文是机器翻译，英文原稿默认收起，需要核对时再展开，
   免得和中文正文抢注意力。 */
.detail-origin {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.detail-origin summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.detail-origin summary::-webkit-details-marker {
  display: none;
}

.detail-origin summary .icon {
  width: 14px;
  height: 14px;
}

.detail-origin[open] summary {
  margin-bottom: 8px;
}

.detail-origin p {
  margin: 0;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: var(--radius-xs);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
  /* 原帖的行结构（「地点：…\n薪资：…」）按文本换行保留 */
  white-space: pre-line;
}

/* 列表卡片的来源行：平台名 · 需求方类型 · 远程。
   不用缩写方块——18px 里塞两个字母会糊，缩写只留给详情页的 38px 标识。 */
.job-row-source-name {
  font-weight: 600;
  color: var(--ink-soft);
}

.job-row-dot {
  color: var(--line-strong);
}

/* ============================================================
   接单大厅列表：用颜色分层
   列表里有四个层次——分类色标 → 标题 → 摘要 → 标签，右侧是数据。
   之前只有一层绿色分类码，十条任务看起来一模一样，扫不动。
   做法：给 10 个方向各配一对颜色（淡底 + 深字），
   同色只出现在两处——分类码小标、卡片左缘 3px 竖条，
   面积都很小，不影响白卡片的主体，但一眼能分块。
   ============================================================ */
.job-row {
  --cat: #4b6478;
  --cat-bg: #eef2f6;
  --cat-line: #c3cfdb;
}

.job-row[data-cat="design"] {
  --cat: #6b4fc4;
  --cat-bg: #f2eefc;
  --cat-line: #cdc0f0;
}

.job-row[data-cat="programming"] {
  --cat: #2a63c9;
  --cat-bg: #ebf1fd;
  --cat-line: #bcd2f2;
}

.job-row[data-cat="writing"] {
  --cat: #1c7a6f;
  --cat-bg: #e8f5f2;
  --cat-line: #b4ddd5;
}

.job-row[data-cat="video"] {
  --cat: #a8426a;
  --cat-bg: #fceef3;
  --cat-line: #f0c3d4;
}

.job-row[data-cat="data"] {
  --cat: #4a4fc4;
  --cat-bg: #edeefb;
  --cat-line: #c5c7ef;
}

.job-row[data-cat="ops"] {
  --cat: #8a5a0f;
  --cat-bg: #fbf2e3;
  --cat-line: #e8d2ac;
}

.job-row[data-cat="assistant"] {
  --cat: #2f7a4c;
  --cat-bg: #eaf5ee;
  --cat-line: #badfc8;
}

.job-row[data-cat="research"] {
  --cat: #26738f;
  --cat-bg: #e9f4f9;
  --cat-line: #b5dbe8;
}

.job-row[data-cat="docs"] {
  --cat: #856238;
  --cat-bg: #f7f1e7;
  --cat-line: #ddcbaa;
}

/* 左缘 3px 竖条：用 inset 阴影画，不占布局，键盘/悬停也不跳 */
.job-row {
  box-shadow: inset 3px 0 0 0 var(--cat-line);
}

.job-row:hover {
  box-shadow: inset 3px 0 0 0 var(--cat), 0 10px 26px rgba(15, 30, 60, 0.07);
}

/* 分类码用同一组色 */
.job-cat-code {
  background: var(--cat-bg);
  color: var(--cat);
  font-weight: 600;
}

/* 分类名跟着分类色走一点，让它和码连成一组，而不是灰色附注 */
.job-row-kicker > span:nth-child(2) {
  color: var(--cat);
  opacity: 0.85;
}

@media (max-width: 900px) {
  /* 手机上左缘竖条同样保留，宽度不变 */
  .job-row {
    box-shadow: inset 3px 0 0 0 var(--cat-line);
  }
}

/* ============================================================
   接单大厅列表：整张卡上底色（不再给单个数据上色）
   上一版是「分类码 + 左缘竖条」局部上色；现在改成整张卡带一层
   极淡的分类底色，卡片内部回到中性配色：
   分类码变白底灰字，分类名回到 muted，左缘竖条撤掉。
   底色只到 96–97% 亮度，正文对比度不受影响。
   ============================================================ */
.job-row {
  --card-bg: #ffffff;
  --card-line: var(--line);
  background: var(--card-bg);
  border-color: var(--card-line);
  box-shadow: none;
}

.job-row[data-cat="design"] { --card-bg: #f8f5fe; --card-line: #e8e0fa; }
.job-row[data-cat="programming"] { --card-bg: #f3f7fe; --card-line: #dde8fa; }
.job-row[data-cat="writing"] { --card-bg: #f0f9f7; --card-line: #d8ece7; }
.job-row[data-cat="video"] { --card-bg: #fdf5f8; --card-line: #f4dfe8; }
.job-row[data-cat="data"] { --card-bg: #f4f5fd; --card-line: #e2e3f7; }
.job-row[data-cat="ops"] { --card-bg: #fdf9f0; --card-line: #f2e6cf; }
.job-row[data-cat="assistant"] { --card-bg: #f2f9f4; --card-line: #d9ecdf; }
.job-row[data-cat="research"] { --card-bg: #f1f8fc; --card-line: #d7e9f3; }
.job-row[data-cat="docs"] { --card-bg: #faf6ee; --card-line: #eee2ca; }
.job-row[data-cat="web"] { --card-bg: #f4f7fa; --card-line: #e0e7ee; }

/* 悬停只抬起，不再染色 */
.job-row:hover {
  box-shadow: 0 10px 26px rgba(15, 30, 60, 0.07);
  border-color: var(--line-strong);
}

/* 卡片内部回到中性：分类码白底灰字，分类名回到 muted */
.job-cat-code {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--card-line);
  color: var(--ink-soft);
  font-weight: 600;
}

.job-row-kicker > span:nth-child(2) {
  color: var(--muted-light);
  opacity: 1;
}

/* 白底小部件（技能标签 / 语言标签）在半透明卡片上要实心，否则会透出底色 */
.job-row .skill-tag {
  background: #ffffff;
  border-color: #e3eaf5;
}

.job-row .job-language-tag {
  background: #ffffff;
}

/* ============================================================
   接单大厅列表：隔行底色（不再是按分类上色）
   分类色区分「方向」，但列表默认按时间排、方向是混着的，
   上色的目的其实是"别让 530 张一模一样的白卡连成一片"。
   所以改成斑马纹：奇数白、偶数淡蓝灰，跟内容无关、只跟位置有关。
   用 :nth-of-type 而不是 :nth-child——列表末尾的「再加载」是 div，
   不会把 article 的奇偶顶乱。
   ============================================================ */
.job-row {
  --card-bg: #ffffff;
  --card-line: var(--line);
  background: #ffffff;
  border-color: var(--line);
}

.job-results .job-row:nth-of-type(even) {
  background: #f6f9fd;
  border-color: #e4ecf6;
}

/* 悬停时两行都回到「抬一下」，不给额外颜色 */
.job-results .job-row:hover {
  background: #ffffff;
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(15, 30, 60, 0.07);
}

.job-results .job-row:nth-of-type(even):hover {
  background: #f6f9fd;
}

/* 卡片内的分类码回到统一的中性样式（白底灰字） */
.job-cat-code {
  background: #ffffff;
  border: 1px solid #e3eaf5;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   视觉浓度：让首页有明暗节奏，不再整页一片米白
   1) 首屏：极淡的蓝色光晕 + 点阵底，把视线先聚到标题
   2) 概览：整条换成深墨蓝，四个数字用白色，形成一条横向锚点
   3) 功能区：比纸色再深一档，和上下两段拉开
   4) 卡片：细边框 + 柔和投影，不再是"铅笔画的框"
   ============================================================ */

.home-hero {
  position: relative;
  background:
    radial-gradient(880px 460px at 84% -12%, #e4eeff 0%, rgba(228, 238, 255, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#cfdcf0 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 78%);
  pointer-events: none;
}

.home-hero > .shell {
  position: relative;
  z-index: 1;
}

/* 概览：深色横幅 */
.home-stats {
  padding: 52px 0 54px;
  background: var(--ink);
}

.home-stats-head {
  color: #8798b3;
  padding-bottom: 18px;
}

.home-stats-head > span:last-child {
  color: #6c7f9b;
}

.home-stats-grid {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  box-shadow: none;
}

.home-stat {
  min-height: 0;
  padding: 28px 26px 24px;
}

.home-stat + .home-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.home-stat strong {
  color: #ffffff;
  font-size: 50px;
  letter-spacing: -0.05em;
}

.home-stat > span {
  margin-top: 10px;
  color: #d3e0f2;
}

.home-stat small {
  padding-top: 10px;
  color: #8ba0bd;
}

/* 功能区换一档底色，形成 白 → 深 → 浅 → 深 的节奏 */
.home-roadmap {
  background: #f1f6fd;
  border-top: 1px solid #e3ecf8;
  border-bottom: 1px solid #e3ecf8;
}

/* 卡片：有厚度，不再是纯描边 */
.job-row,
.task-card {
  box-shadow: 0 1px 2px rgba(12, 28, 58, 0.04), 0 10px 24px rgba(12, 28, 58, 0.05);
}

.job-row:hover,
.task-card:hover {
  box-shadow: 0 2px 4px rgba(12, 28, 58, 0.05), 0 16px 36px rgba(12, 28, 58, 0.1);
}

/* 接单大厅首屏沿用首页的光晕 + 点阵，保持两个主页面同一套质感 */
.hall-hero {
  position: relative;
  background:
    radial-gradient(760px 380px at 86% -18%, #e6efff 0%, rgba(230, 239, 255, 0) 64%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hall-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d3e0f2 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 42%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.3) 42%, transparent 72%);
  pointer-events: none;
}

.hall-hero > .shell,
.hall-hero-grid {
  position: relative;
  z-index: 1;
}

/* ---------- 彩色图标瓦片 ----------
 * 站点图标是单线稿，成片放在一起会显得「灰」。给它们一个 12% 的淡色底，
 * 让图标成为可扫的点缀，而不是又一层灰线。色值都控制在 92–96% 亮度，
 * 不抢状态徽章（绿/琥珀）和金额的注意力。
 */
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: 0 0 auto;
}

.icon-tile > .icon {
  width: 18px;
  height: 18px;
}

.icon-tile--blue { background: #eaf1ff; color: #1f63ff; }
.icon-tile--teal { background: #e4f5f1; color: #0f8a6e; }
.icon-tile--violet { background: #f1ecfe; color: #6d3fd4; }
.icon-tile--amber { background: #fdf2e0; color: #a86710; }
.icon-tile--rose { background: #fdeef3; color: #c42c5c; }
.icon-tile--indigo { background: #ecedfd; color: #4451cc; }
.icon-tile--green { background: #e8f6ec; color: #1c7a48; }
.icon-tile--sky { background: #e7f3fc; color: #15719f; }
.icon-tile--sand { background: #faf3e4; color: #8a6a1e; }
.icon-tile--slate { background: #edf1f7; color: #40536a; }

/* 深色概览带里，瓦片要稍微亮一点才透得出来 */
.home-stats .icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #cfe0f8;
}

/* 统计卡改成竖向：瓦片 → 数字 → 标签 → 说明 */
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 列表卡片的分类码：用分类色做成小瓦片（整卡不再上色，只留这一处色点） */
.job-row .job-cat-code {
  min-width: 38px;
  height: 24px;
  border-radius: 7px;
  border-color: transparent;
  background: var(--cat-bg);
  color: var(--cat);
  font-weight: 700;
}

/* 详情页 04 的三张卡：图标也做成瓦片。
 * 容器是 .spec-grid；旧写法 .detail-fact 这个类全站已不存在，那条规则从没生效过。 */
.spec-card .icon-tile {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  margin-bottom: 10px;
}

.spec-card .icon-tile > .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
  .icon-tile {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .home-stats .icon-tile {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
}

/* 04 时间与协作：图标单独一行，标签回到普通字号 */
.spec-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.spec-card-label {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.spec-card strong {
  margin-top: 2px;
}

/* 深色带上瓦片要真的带颜色，而不是又一层灰 */
.home-stats .icon-tile--blue   { background: rgba(96, 146, 255, 0.20); color: #96b8ff; }
.home-stats .icon-tile--teal   { background: rgba(64, 200, 172, 0.18); color: #74dcc2; }
.home-stats .icon-tile--violet { background: rgba(150, 120, 255, 0.20); color: #bda9ff; }
.home-stats .icon-tile--amber  { background: rgba(240, 182, 80, 0.20); color: #f2c879; }

/* ============================================================
   接单流程页：三段式示意图 + 四步卡图标
   ============================================================ */
.step-detail-card .icon-tile {
  margin-bottom: 14px;
}

.step-no {
  display: block;
  font: 500 14px/1 var(--mono, ui-monospace, monospace);
  letter-spacing: 0.14em;
  color: var(--signal);
  margin-bottom: 6px;
}

.flow-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.5fr) 88px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin: 34px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 1px 2px rgba(12, 28, 58, 0.04), 0 12px 28px rgba(12, 28, 58, 0.05);
}

.flow-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.flow-stage--steps {
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  background: #f4f8ff;
  border-color: #e0eafa;
}

.flow-stage--done {
  background: #f2fbf7;
  border-color: #d8ebe3;
}

.flow-stage-tag {
  align-self: flex-start;
  font: 500 14px/1 var(--mono, ui-monospace, monospace);
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.flow-stage-tag--done {
  color: #0f8a6e;
}

.flow-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #dbe3ef;
}

.flow-line--w70 { width: 70%; }
.flow-line--w92 { width: 92%; }
.flow-line--w58 { width: 58%; }
.flow-line--w88 { width: 88%; background: #cfe6dd; }
.flow-line--w64 { width: 64%; background: #cfe6dd; }

.flow-chip {
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px dashed #c9d6e8;
  font-size: 14px;
  color: var(--muted);
}

.flow-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.flow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c2d2e8;
}

.flow-dash {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, #c2d2e8 0 5px, transparent 5px 9px);
}

.flow-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2ebf8;
}

.flow-step b {
  margin-top: 6px;
  font-size: 17px;
  color: var(--ink);
}

.flow-step small {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.flow-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

@media (max-width: 1080px) {
  .flow-figure {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .flow-arrows {
    padding: 2px 0;
    transform: rotate(90deg);
    height: 26px;
  }
  .flow-arrows .flow-dash {
    flex: 0 0 18px;
  }
}

@media (max-width: 720px) {
  .flow-stage--steps {
    flex-direction: column;
  }
  .flow-figure {
    padding: 14px;
  }
}

/* 关于页「找 / 核 / 说清楚」三张卡：图标在上，标题与说明在下 */
.about-grid3 > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.about-grid3 > div > .icon-tile {
  margin-bottom: 6px;
}

.about-grid3 > div > strong {
  font-size: 20px;
}

.about-grid3 > div > span:last-child {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* 帮助中心首屏的两层标注小示意图 */
.help-legend-figure {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faff;
  display: grid;
  gap: 10px;
}

.help-legend-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.help-legend-key {
  min-width: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.help-legend-note {
  min-width: 92px;
  font-size: 14px;
  color: var(--muted);
}

/* 「依据摘要」那枚琥珀色小胶囊（与已核对原页的绿、第三方转述的灰并列） */
.mock-pill--amber {
  background: #fdf4e3;
  border-color: #ecdcb6;
  color: #8a5a10;
}

.flow-line--w44 { width: 44%; }

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.flow-chips .flow-chip {
  margin-top: 0;
}

/* 详情页分类名跟着分类色走（只染文字，不加块） */
.detail-main .detail-kicker > span:first-child {
  color: var(--cat, var(--ink-soft));
  font-weight: 600;
}

/* 04 的三到四张卡自适应列数：4 张就一行四列，3 张就一行三列 */
.detail-main .spec-grid {
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
}

/* 手机上箭头要竖过来：不再整体旋转，改成纵向排布 + 竖虚线 */
@media (max-width: 1080px) {
  .flow-arrows {
    flex-direction: column;
    height: auto;
    padding: 2px 0;
    transform: none;
    gap: 4px;
  }

  .flow-arrows .flow-dash {
    flex: 0 0 22px;
    width: 1px;
    height: 22px;
    background: repeating-linear-gradient(180deg, #c2d2e8 0 5px, transparent 5px 9px);
  }
}

/* ============================================================
   本轮修复
   只动颜色、可点范围与移动端排布；字号阶梯、间距体系、@media 结构保持原样。
   ============================================================ */

/* ---------- 对比度：只换颜色，字号字重不变 ---------- */
.job-row-id {
  color: var(--muted);
}

.favorite-button {
  color: var(--muted);
}

.job-row-dot {
  color: var(--dot-separator);
}

/* 深色横幅（.home-stats 背景是 --ink）上的标签与次级文字 */
.home-stats .mono-label,
.home-stats-head > span:last-child {
  color: var(--muted-on-dark);
}

/* 蓝色 CTA 带 */
.closing .eyebrow {
  color: var(--closing-eyebrow);
}

.closing p {
  color: var(--closing-text);
}

/* ---------- 触控热区：图标按钮视觉尺寸不变，热区撑到 44×44 ---------- */
.favorite-button::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.menu-toggle {
  position: relative;
}

.menu-toggle::after {
  content: "";
  position: absolute;
  inset: -2px;
}

/* 带文案的收藏按钮与底部操作条：行式控件直接给 44 高 */
.detail-favorite .favorite-button.is-labeled,
.action-favorite .favorite-button.is-labeled {
  min-height: 44px;
}

.mobile-consult-bar .btn {
  min-height: 44px;
}

/* 底部条里的折算小字 */
.mobile-consult-fx {
  display: block;
  margin-top: 1px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.filter-option {
  min-height: 44px;
}

.filter-chip {
  min-height: 44px;
}

.reset-filters {
  min-height: 44px;
  padding: 0 4px;
}

.filter-mobile-trigger {
  min-height: 44px;
}

.code-send-button {
  min-height: 44px;
}

/* ---------- 来源行：允许换行，不再用省略号切掉平台名 ---------- */
.job-row-foot .job-row-source {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* ---------- hero-em：去掉下划线，靠颜色 + 字重区分 ---------- */
.hero-em {
  text-decoration: none;
  font-weight: 700;
}

/* ---------- 空态：三个出口 ---------- */
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

.empty-reset {
  margin-top: 2px;
}

/* ---------- 移动端筛选抽屉的粘底操作条 ---------- */
.sheet-actions {
  display: none;
}

@media (max-width: 900px) {
  .hall-filters {
    padding-bottom: 0;
  }

  .sheet-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px -18px 0;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
  }

  .sheet-actions .reset-filters {
    flex: 0 0 auto;
    padding: 0 10px;
  }

  .sheet-actions .filter-apply {
    flex: 1 1 auto;
    display: flex;
    margin: 0;
  }

  /* 最后一个筛选项不要被操作条压住 */
  .hall-filters .filter-note {
    margin-bottom: 10px;
  }
}

/* ---------- 375：roadmap 首节点的负外边距把页面撑宽 12px ---------- */
.roadmap-track {
  overflow: clip;
}

@media (max-width: 900px) {
  /* 权重与 .roadmap-step:first-child .roadmap-node::after 相同（0,3,1），
   * 靠后写才压得住原来那条 -32px */
  .roadmap-track .roadmap-step .roadmap-node::after {
    margin-right: 0;
    background: none;
  }
}

/* ---------- 技能标签：≤720 换行显示，最多 3 个 + 「+N」 ---------- */
@media (max-width: 720px) {
  .job-row-tags {
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 5px;
  }

  /* 原来第 4 个以后一律 display:none，现在只保留 3 个技能 + 计数标签 */
  .job-row-tags .skill-tag:nth-child(n + 4) {
    display: inline-flex;
  }

  .job-row-tags .skill-tag,
  .job-row-tags .job-language-tag {
    flex: 0 0 auto;
  }

  .job-row-tags .skill-tag-more {
    color: var(--muted-light);
  }
}

/* ---------- 首屏：375 下把首卡顶到 480 以内 ---------- */
@media (max-width: 720px) {
  /* 窄屏这条说明是全站最小的一档文字，统一到 14px。
   * 一行放不下时靠下面的 ellipsis 截断，不再靠缩字号硬塞。 */
  .demo-strip-inner {
    min-height: 30px;
    gap: 8px;
    padding: 4px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .demo-strip-inner > span:not(.demo-strip-label) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hall-hero {
    padding: 14px 0 12px;
  }

  .hall-hero h1 {
    margin-top: 6px;
    font-size: 30px;
    line-height: 1.18;
  }

  .hall-hero-copy {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hall-hero-meta {
    margin-top: 8px;
    gap: 4px 10px;
    font-size: 14px;
  }

  /* 三个统计收成一行小字 */
  .hall-figures-wrap {
    margin-top: 10px;
    padding-top: 0;
  }

  /* 三个统计压成一行小字：数字 + 标签紧挨着，别让标签掉进下一行 */
  .hall-figures {
    display: flex;
    flex: 0 0 auto;
    grid-template-columns: none;
    justify-content: start;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .hall-figure {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
  }

  /* 数字与标签各只留一条规则（原来先写 15/11px 又写 16/13px，后者赢、前者是死代码） */
  .hall-figure strong {
    font-size: 16px;
  }

  .hall-figure span {
    white-space: nowrap;
    font-size: 14px;
  }

  .hall-figure + .hall-figure {
    padding-left: 0;
    border-left: 0;
  }

  /* 字号统一在下面那条 .hall-figures-foot 里给（14px），这里只管间距 */
  .hall-figures-foot {
    margin-top: 2px;
  }

  .hall-search {
    margin-top: 10px;
  }

  .hall-search input {
    min-height: 44px;
  }

  /* 工具栏收成一行，别把首卡再往下推一行 */
  .hall-toolbar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 0;
  }

  .hall-toolbar-left,
  .hall-toolbar-right {
    min-width: 0;
    gap: 6px;
  }

  .board-count {
    white-space: nowrap;
  }

  .sort-wrap > span {
    display: none;
  }

  .sort-wrap select {
    max-width: 116px;
  }

  .advanced-open-button {
    padding: 0 8px;
    white-space: nowrap;
  }
}

/* ---------- 首页：≤500 恢复第三条信任点；≤720 统计卡只留数字与标签 ---------- */
@media (max-width: 500px) {
  .home-trust-line {
    gap: 6px 14px;
    font-size: 14px;
  }

  .home-trust-line span:nth-child(3) {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .home-stat small {
    display: none;
  }
}

/* ---------- 表单错误：字段级提示跟在输入框下面 ---------- */
.field-error-inline {
  margin: 0;
  min-height: 0;
}

.field-hint {
  margin: 6px 0 0;
  color: var(--muted-light);
  font-size: 14px;
}

.consent-field {
  align-items: flex-start;
}

.consent-field a {
  color: var(--signal-deep);
  text-decoration: underline;
}

/* ---------- 其余按钮/控件补到 44 高 ---------- */
.reset-filters {
  min-width: 44px;
}

.job-row-intent {
  min-height: 44px;
}

.advanced-open-button {
  min-height: 44px;
}

.sort-wrap select {
  min-height: 44px;
}

.correction-chip,
.correction-link {
  min-height: 44px;
}

.header-auth.btn-sm {
  min-height: 44px;
}

/* ---------- 首屏再压一档：375 下首卡要落在 480 以内 ---------- */
@media (max-width: 720px) {
  .hall-hero {
    padding: 10px 0 6px;
  }

  /* 两行图例压成一行，读得到就不占两行的位置 */
  .hall-hero-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    margin-top: 6px;
  }

  .hall-hero-meta span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 统计与「最后采集」排成一行 */
  .hall-figures-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 8px;
  }

  .hall-figures {
    padding-bottom: 0;
  }

  /* 只负责单行省略；字号由下面统一的 14px 规则决定（原来这里写死 10px，太小） */
  .hall-figures-foot {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hall-search {
    min-height: 48px;
    margin-top: 8px;
    padding: 4px 4px 4px 12px;
  }

  /* 技能行固定两行高度：标签长短不一时卡片高度不跳。
   * 标签本身限宽并省略，避免一条「English (UK) Translator」把行数顶到三行。 */
  /* 技能行固定两行高度：标签长短不一时卡片高度不跳。
   * 列间距从 11px 收到 8px，让「英文可读写」稳定落在第二行，
   * 而不是有的卡两行、有的卡三行。 */
  .job-row-tags {
    column-gap: 8px;
    min-height: 58px;
    align-content: flex-start;
  }

  .job-row-tags .skill-tag {
    max-width: 8.5em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* ---------- 按钮形态的链接也补到 44 高 ---------- */
.hall-search .btn,
.source-open-link {
  min-height: 44px;
}

/* ---------- 375 工具栏：按钮不许被压成两行 ---------- */
@media (max-width: 720px) {
  .filter-mobile-trigger,
  .advanced-open-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* ---------- 375 首屏：图例行让位给「最后采集」，工具栏少一个重复入口 ---------- */
@media (max-width: 720px) {
  /* 两行图例在窄屏只能显示成省略号，而它说的「五个海外平台」
   * 与右侧统计里的「5 公开来源」重复；这里收起来，把位置让给采集时间 */
  .hall-hero-meta {
    display: none;
  }

  .hall-figures-wrap {
    flex-wrap: wrap;
    margin-top: 8px;
  }

  /* 「最后采集」独立成行，14px 起 */
  .hall-figures-foot {
    flex: 1 1 100%;
    margin-top: 4px;
    font-size: 14px;
  }

  /* 抽屉里已经有「更多筛选」，工具栏这一个在 375 下只会挤掉结果数 */
  .hall-toolbar .advanced-open-button {
    display: none;
  }
}

/* ---------- 抽屉提交按钮里的结果数：<strong> 在按钮里会被 UA 算成 900 ---------- */
.filter-apply strong {
  font-weight: 700;
}
