/* ───────────── 邀请兑换页 /invite/<token> ───────────── */
.me-invite-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #ffffff;
}
.me-invite-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  -webkit-corner-shape: squircle;
  corner-shape: squircle;
  box-shadow: 0 14px 44px -10px rgba(0, 0, 0, 0.1);
  padding: 40px 36px;
}
.me-invite-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #86868b;
}
.me-invite-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  line-height: 1.3;
}
.me-invite-sub {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3c3c43;
}
.me-invite-meta {
  margin: 24px 0 0;
  display: grid;
  gap: 0;
}
.me-invite-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  font-size: 15px;
}
.me-invite-meta > div + div {
  border-top: 1px solid #ececef;
}
.me-invite-meta dt {
  margin: 0;
  color: #86868b;
}
.me-invite-meta dd {
  margin: 0;
  color: #1d1d1f;
}
.me-invite-accept-form {
  margin-top: 24px;
}
.me-invite-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  -webkit-corner-shape: squircle;
  corner-shape: squircle;
  background: #1d1d1f;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
  box-sizing: border-box;
}
.me-invite-accept-form .me-invite-accept {
  margin-top: 0;
}
.me-invite-accept:hover:not(:disabled) {
  opacity: 0.85;
}
.me-invite-accept:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.me-invite-accept-err {
  margin: 12px 0 0;
  font-size: 13px;
  color: #b91c1c;
}
.me-invite-foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: #a1a1a6;
  line-height: 1.5;
}

/* ── 兑换成功后的「加 Bonnie」引导屏（不加也能进，纯引导提订阅率） ── */
.me-invite-bonnie {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.me-invite-bonnie-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
}
.me-invite-bonnie-sub {
  margin: 8px 0 0;
  font-size: 13px;
  color: #86868b;
  line-height: 1.6;
}
.me-invite-bonnie .bm-qr-img {
  margin: 20px 0 4px;
}

/* ── 投递列表（仪表盘卡 + 投递情况页共用） ── */
.me-applist {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* 行（Read.cv「投递行」形态）：上 = 头像 + 名字/副信息 + 收藏星；下 = 操作 pill 行。
   行之间不画分割线 —— 靠 padding 间距区分。 */
/* 行（Figma 427 形态，单行）：头像 + 名字/副信息(flex) + 右侧 CV / 收藏 / 箭头。 */
.me-applist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.me-applist-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f0f0ee;
  color: #86868b;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-corner-shape: round;
  corner-shape: round;
}
.me-applist-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.me-applist-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.me-applist-name {
  font-size: 15px;
  font-weight: 400;
  color: #1d1d1f;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.me-applist-name:hover {
  text-decoration: underline;
}
/* 未读蓝点（名字之后） */
.me-applist-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2e84fa;
}
.me-applist-sub {
  font-size: 14px;
  color: #86868b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 右侧动作：CV pill + 收藏爱心 + 查看箭头。Figma 三者间距 16px。 */
.me-applist-actions {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
/* CV pill（Figma chip）：白底 + 1px #ececef 描边 + CV 图标(20) + "CV"(15px/400/#3c3c43)。 */
.me-applist-cv {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border: 1px solid #ececef;
  border-radius: 999px;
  background: #ffffff;
  color: #3c3c43;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.me-applist-cv:hover {
  border-color: #1d1d1f;
}
/* 收藏爱心(17)：未收藏浅灰描边，收藏态实心 ink-1。容器 32 圆形(hover 底)。 */
.me-applist-fav {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #c7c7cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.me-applist-fav:hover {
  background: #f5f5f5;
  color: #86868b;
}
.me-applist-fav.is-on,
.me-applist-fav.is-on:hover {
  color: #1d1d1f;
}
/* 查看主页箭头(24，#3c3c43) */
.me-applist-view {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #3c3c43;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.me-applist-view:hover {
  background: #f5f5f5;
  color: #1d1d1f;
}

/* （已删除 .me-mat-modal-* 旧预览弹窗样式 —— 团队页预览已改用统一的
   .me-modal-dialog--preview 壳 + 圆形 chrome，旧类无人引用。） */

/* ═══════════ 团队管理 · 其他设置页（Figma 572:2 / 564:4015）═══════════ */
.me-set { display: flex; flex-direction: column; gap: 44px; }
.me-set-sec { display: flex; flex-direction: column; gap: 16px; }
/* section 标题：克制——15px / ink-1 / 不加粗（靠颜色分层 §1.1） */
.me-set-h { margin: 0; font-size: 15px; line-height: 26px; color: #1d1d1f; font-weight: 400; }
.me-set-head { display: flex; flex-direction: column; gap: 4px; }
.me-set-head .me-set-h { line-height: 26px; }
.me-set-sub { margin: 0; font-size: 15px; line-height: 19px; color: #86868b; }

/* ── 账号行 ── */
.me-set-acct { display: flex; flex-direction: column; }
.me-set-acct-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.me-set-acct-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.me-set-acct-label { font-size: 15px; line-height: 20px; color: #86868b; flex-shrink: 0; }
.me-set-acct-val { font-size: 15px; line-height: 20px; color: #1d1d1f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 白色描边 pill（退出登录 / 复制 / 作废）── */
.me-set-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; border: 1px solid #ececef; border-radius: 999px;
  -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 8px 14px 8px 13px; font: inherit; font-size: 13px; line-height: 18px;
  color: #1d1d1f; cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.me-set-pill:hover { border-color: #1d1d1f; }
.me-set-pill svg { width: 14px; height: 14px; flex-shrink: 0; color: #86868b; }
.me-set-pill:disabled { opacity: 0.5; cursor: default; }
/* 移除成员：红字 pill（白底不填充，hover 只上描边色） */
.me-set-pill--danger { color: #c7362f; }
.me-set-pill--danger svg { color: #c7362f; }
.me-set-pill--danger:hover { border-color: #c7362f; }

/* ── 团队成员 ── */
.me-set-members { display: flex; flex-direction: column; }
.me-set-member { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.me-set-member-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.me-set-avatar {
  width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0; overflow: hidden;
  background: #1d1d1f; color: #ffffff; font-size: 12.8px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
}
.me-set-avatar img { width: 100%; height: 100%; object-fit: cover; }
.me-set-member-name { font-size: 15px; line-height: 20px; color: #1d1d1f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-set-member-chips { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ── chip（你 / 角色）：白底 + 1px ink-3 描边 + icon 前缀（§1.6/§1.7）── */
.me-set-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; border: 1px solid #86868b; border-radius: 999px;
  -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 4px 10px 4px 9px; font-size: 13px; line-height: 18px; color: #1d1d1f; white-space: nowrap;
}
.me-set-chip svg { width: 14px; height: 14px; flex-shrink: 0; color: #1d1d1f; }

/* ── 邀请协作者 ── */
.me-set-invite-head { display: flex; align-items: center; gap: 16px; }
.me-set-invite-head .me-set-head { flex: 1; min-width: 0; }
/* 尺寸对齐「新建职位」按钮（.me-btn）：padding 10/18、14px、gap 6、pill */
.me-set-invite-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: #1d1d1f; color: #ffffff; border: 0; border-radius: 999px;
  -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 500; line-height: 20px; cursor: pointer;
  transition: opacity 0.15s;
}
.me-set-invite-btn:hover { opacity: 0.85; }
.me-set-invite-btn svg { width: 14px; height: 14px; color: #ffffff; }

/* 待接受的邀请列表 */
.me-set-pending { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.me-set-pending-label { margin: 0; font-size: 13px; font-weight: 500; line-height: 18px; color: #86868b; letter-spacing: 0.52px; }
.me-set-pending-empty { margin: 0; font-size: 13px; line-height: 18px; color: #a1a1a6; }
.me-set-invite-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0; }
.me-set-invite-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.me-set-invite-linkic {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  background: #ffffff; border: 1px dashed #ececef;
  display: inline-flex; align-items: center; justify-content: center;
}
.me-set-invite-linkic svg { width: 18px; height: 18px; color: #86868b; }
.me-set-invite-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.me-set-invite-info-top { display: flex; align-items: center; gap: 8px; }
.me-set-invite-title { font-size: 15px; font-weight: 500; line-height: 20px; color: #1d1d1f; white-space: nowrap; }
.me-set-invite-meta { font-size: 13px; line-height: 18px; color: #86868b; }
.me-set-invite-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.me-set-invite-err { margin: 0; font-size: 12px; color: #b91c1c; }

/* ── 邀请弹窗（Figma 564:4015）── */
.me-set-modal-root {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 23, 42, 0.3);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: me-modal-fade 0.18s cubic-bezier(.2, 0, 0, 1);
}
.me-set-modal {
  background: #ffffff; width: 520px; max-width: 100%;
  border-radius: 24px; -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 28px; display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 30px 40px rgba(0, 0, 0, 0.35);
}
.me-set-modal-title { margin: 0; font-size: 15px; line-height: 26px; color: #1d1d1f; }
.me-set-modal-fields { display: flex; flex-direction: column; gap: 22px; }
.me-set-field { display: flex; flex-direction: column; gap: 8px; }
.me-set-field-label { font-size: 13px; line-height: 18px; color: #86868b; }
.me-set-select { position: relative; width: 100%; }
.me-set-select select {
  appearance: none; -webkit-appearance: none; width: 100%; font: inherit;
  background: #ffffff; border: 1px solid #ececef; border-radius: 10px;
  -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 11px 38px 11px 14px; font-size: 15px; line-height: 21px; color: #1d1d1f; cursor: pointer;
}
.me-set-select select:focus { outline: none; border-color: #1d1d1f; }
.me-set-select-chev {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #86868b; pointer-events: none; display: inline-flex;
}
.me-set-modal-submit {
  background: #1d1d1f; color: #ffffff; border: 0; width: 100%;
  border-radius: 12px; -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 13px 18px; font: inherit; font-size: 15px; font-weight: 500; line-height: 21px; cursor: pointer;
  transition: opacity 0.15s;
}
.me-set-modal-submit:hover { opacity: 0.85; }
.me-set-modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.me-set-modal-err { margin: 0; font-size: 13px; color: #b91c1c; }

@media (max-width: 720px) {
  .me-set { gap: 32px; }
  .me-set-invite-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .me-set-invite-side { justify-content: flex-end; }
}

/* ── Bonjour 精选分组（JOB-65）—— 职位投递弹窗左栏列表里的置顶分组头 ── */
.me-sig-group {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px 8px;
  font-size: 12px;
  font-weight: 400;
  color: #86868b;
  letter-spacing: 0.01em;
}
/* Bonjour 精选头：复刻设计稿 779:2173 —— sparkle + 渐变文字（PingFang SC Semibold 15px） */
.me-sig-group--curated {
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  background-image: linear-gradient(159deg, #FF6B6B 8.5%, #4F9CFF 50%, #B987FF 91.5%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.me-sig-group-spark {
  display: inline-flex;
  flex: 0 0 auto;
}

