/* ───────────── 邀请兑换页 /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，旧类无人引用。） */

/* ═══════════ 团队管理 · 设置页 ════════════ */
.me-set { max-width: 760px; display: flex; flex-direction: column; gap: 42px; }
.me-set-sec { display: flex; flex-direction: column; gap: 12px; }
.me-set-page-head { display: flex; flex-direction: column; gap: 6px; }
.me-set-page-head h1,
.me-settings-detail-head h1 {
  margin: 0; color: #1d1d1f; font-size: 24px; font-weight: 500; line-height: 32px; letter-spacing: -.02em;
}
.me-set-page-head p,
.me-settings-detail-head p { margin: 0; color: #86868b; font-size: 14px; line-height: 20px; }
/* section 标题：内容线对齐，靠留白而不是分割线组织层级。 */
.me-set-h { margin: 0 0 0 2px; font-size: 14px; line-height: 22px; color: #3c3c43; font-weight: 500; }
.me-set-head { display: flex; flex-direction: column; gap: 4px; }
.me-set-head .me-set-h { line-height: 26px; }
.me-set-sub { margin: 0 0 0 2px; font-size: 13px; line-height: 19px; color: #86868b; }

/* Codex 式设置组：同类项目共用白色容器；chrome 对齐 .me-shell-side 的轻描边 + 轻阴影。 */
.me-set-group {
  background: #fff; border-radius: 18px; -webkit-corner-shape: squircle; corner-shape: squircle;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px -12px rgba(0, 0, 0, 0.06);
}
.me-set-row-title { color: #1d1d1f; font-size: 15px; font-weight: 500; line-height: 20px; }
.me-set-row-desc { color: #86868b; font-size: 13px; line-height: 18px; }

/* ── 账号行 ── */
.me-set-acct { display: flex; flex-direction: column; }
.me-set-acct-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; }
.me-set-acct-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.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; }

/* 设置页 → 次级页面入口。 */
.me-set-route-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  color: #1d1d1f; text-decoration: none;
  transition: background-color .16s ease;
}
.me-set-route-card:hover { background: #f7f7f8; }
.me-set-route-icon {
  width: 34px; height: 38px; display: grid; place-items: center; flex-shrink: 0;
  color: #68686d;
}
.me-set-route-icon svg { width: 20px; height: 20px; }
.me-set-route-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.me-set-route-title { font-size: 15px; line-height: 20px; font-weight: 500; }
.me-set-route-desc { font-size: 13px; line-height: 18px; color: #86868b; }
.me-set-route-arrow { width: 16px; height: 16px; flex-shrink: 0; color: #a1a1a6; }
.me-set-route-group { display: flex; flex-direction: column; padding: 2px; }
.me-set-route-group .me-set-route-card { padding: 16px 18px; }

/* 设置二级页统一标题。 */
.me-settings-detail-head { display: flex; align-items: flex-start; gap: 14px; }
.me-settings-back {
  width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0;
  color: #1d1d1f; border-radius: 50%; text-decoration: none; box-shadow: inset 0 0 0 1px #e8e8ed;
  transition: background-color .16s ease, box-shadow .16s ease;
}
.me-settings-back:hover { background: #f7f7f8; box-shadow: inset 0 0 0 1px #c7c7cc; }
.me-settings-back svg { width: 16px; height: 16px; }

/* /team-manage/settings/billing */
.me-billing { display: flex; flex-direction: column; gap: 28px; }
.me-billing-head { display: flex; align-items: flex-start; gap: 14px; }
.me-billing-back {
  width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0;
  color: #1d1d1f; border: 1px solid #e8e8ed; border-radius: 50%; text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.me-billing-back:hover { border-color: #c7c7cc; background: #f7f7f8; }
.me-billing-back svg { width: 16px; height: 16px; }
.me-billing-title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; color: #1d1d1f; }
.me-billing-sub { margin: 3px 0 0; font-size: 13px; line-height: 18px; color: #86868b; }
.me-billing-list { display: flex; flex-direction: column; gap: 26px; }
.me-billing-row { display: block; color: inherit; text-decoration: none; }
.me-billing-row-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0; }
.me-billing-row:hover .me-billing-product-line h2 { color: #2e84fa; }
.me-billing-row-arrow { width: 16px; height: 16px; flex: 0 0 auto; color: #c7c7cc; transition: color .15s, transform .15s; }
.me-billing-row:hover .me-billing-row-arrow { color: #1d1d1f; transform: translateX(2px); }
.me-billing-main { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 5px; }
.me-billing-product-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.me-billing-product-line h2 { margin: 0; overflow: hidden; color: #1d1d1f; font-size: 15px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.me-billing-status { flex-shrink: 0; font-size: 11px; font-weight: 500; line-height: 16px; }
.me-billing-status.is-paid { color: #18794e; }
.me-billing-status.is-pending { color: #9a6700; }
.me-billing-status.is-closed { color: #6e6e73; }
.me-billing-status.is-refunded { color: #175cd3; }
.me-billing-meta, .me-billing-order-no { margin: 0; color: #86868b; font-size: 12px; line-height: 17px; }
.me-billing-order-no { overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.me-billing-amount { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; gap: 4px; }
.me-billing-amount strong { color: #1d1d1f; font-size: 15px; line-height: 20px; font-weight: 500; }
.me-billing-amount span { color: #86868b; font-size: 12px; line-height: 17px; }
.me-billing-state {
  min-height: 220px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  color: #86868b; font-size: 14px; text-align: center;
}
.me-billing-state p { margin: 0; color: #1d1d1f; }
.me-billing-state span { font-size: 13px; }
.me-billing-state--error { color: #b42318; }
.me-billing-empty-icon { width: 36px; height: 36px; display: grid; place-items: center; color: #86868b; font-size: 16px !important; }
.me-billing-scroll-sentinel { min-height: 48px; display: grid; place-items: center; color: #86868b; font-size: 13px; }
.me-billing-more { align-self: center; padding: 9px 18px; color: #1d1d1f; background: #fff; border: 1px solid #d2d2d7; border-radius: 999px; cursor: pointer; }
.me-billing-more:hover { border-color: #1d1d1f; }
.me-billing-more:disabled { opacity: .5; cursor: default; }
.me-billing-inline-error { margin: -12px 0 0; color: #b42318; font-size: 13px; text-align: center; }
.me-billing-detail { max-width: 760px; }
.me-billing-detail-section { display: flex; flex-direction: column; gap: 20px; }
.me-billing-result {
  padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  border: 1px solid #ececef; border-radius: 18px; background: #fafafa; text-align: center;
}
.me-billing-result-status { font-size: 13px; font-weight: 500; line-height: 18px; }
.me-billing-result strong { color: #1d1d1f; font-size: 30px; font-weight: 600; line-height: 38px; letter-spacing: -.02em; }
.me-billing-result p { max-width: 480px; margin: 0; color: #68686d; font-size: 12px; line-height: 18px; }
.me-billing-result.is-paid .me-billing-result-status { color: #18794e; }
.me-billing-result.is-pending .me-billing-result-status { color: #9a6700; }
.me-billing-result.is-closed .me-billing-result-status { color: #6e6e73; }
.me-billing-result.is-refunded .me-billing-result-status { color: #175cd3; }
.me-billing-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.me-billing-detail-heading h2 { margin: 0; color: #1d1d1f; font-size: 20px; font-weight: 500; line-height: 28px; }
.me-billing-detail-heading p { margin: 4px 0 0; color: #86868b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 17px; overflow-wrap: anywhere; }
.me-billing-order-copy { margin-top: 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 9px; }
.me-billing-order-copy span { color: #86868b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 17px; overflow-wrap: anywhere; }
.me-billing-order-copy button, .me-billing-sync-notice button {
  appearance: none; padding: 0; border: 0; background: transparent; color: #2e84fa;
  font: inherit; font-size: 11px; cursor: pointer;
}
.me-billing-detail-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; }
.me-billing-detail-list > div { min-width: 0; }
.me-billing-detail-list dt { margin: 0 0 4px; color: #86868b; font-size: 12px; line-height: 17px; }
.me-billing-detail-list dd { margin: 0; color: #1d1d1f; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.me-billing-sync-notice {
  margin: -4px 0 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px;
  color: #8a4b08; font-size: 12px; line-height: 18px;
}
.me-billing-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.me-billing-detail-action-error { margin: -8px 0 0; color: #b42318; font-size: 13px; line-height: 18px; }

/* ── 白色描边 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; padding: 4px; }
.me-set-member { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 14px; }
.me-set-member-left { display: flex; flex: 1; 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; }
.me-set-member-side { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.me-set-member-role,
.me-set-self-label { display: inline-flex; align-items: center; gap: 5px; color: #68686d; font-size: 12px; line-height: 18px; white-space: nowrap; }
.me-set-member-role svg,
.me-set-self-label svg { width: 14px; height: 14px; flex-shrink: 0; }
.me-set-self-label { color: #86868b; }
.me-set-member-actions { display: inline-flex; align-items: center; }
.me-set-more {
  appearance: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: #86868b; cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.me-set-more:hover,
.me-set-more[aria-expanded="true"] { color: #1d1d1f; background: #f2f2f3; }
.me-set-more:disabled { opacity: .45; cursor: default; }
.me-set-more svg { width: 16px; height: 16px; }
.me-set-action-pop .me-pop-body { padding: 6px; gap: 0; overflow: visible; }
.me-set-action-menu { display: flex; flex-direction: column; gap: 2px; }
.me-set-action-menu button {
  appearance: none; width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px;
  border: 0; border-radius: 9px; background: transparent; color: #1d1d1f; font: inherit;
  font-size: 13px; line-height: 18px; text-align: left; white-space: nowrap; cursor: pointer;
}
.me-set-action-menu button:hover { background: #f5f5f5; }
.me-set-action-menu button:disabled { opacity: .5; cursor: default; }
.me-set-action-menu button.is-danger { color: #c7362f; }
.me-set-action-menu svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── 邀请协作者 ── */
.me-set-invite-head { display: flex; align-items: center; gap: 16px; }
.me-set-invite-head .me-set-head { flex: 1; min-width: 0; }
/* Codex 风格的浅灰动作按钮：灰底、深色文字，hover 时只加深底色。 */
.me-set-invite-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: #f5f5f5; color: #1d1d1f; border: 0; border-radius: 12px;
  -webkit-corner-shape: squircle; corner-shape: squircle;
  padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 500; line-height: 20px; cursor: pointer;
  transition: background-color 0.15s ease;
}
.me-set-invite-btn:hover { background: #ececef; }
.me-set-invite-btn:active { background: #e5e5e7; }
.me-set-invite-btn:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 2px; }
.me-set-invite-btn svg { width: 14px; height: 14px; color: currentColor; }

/* 待接受的邀请列表 */
.me-set-pending { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; }
.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; }

/* ── 团队操作 / 危险操作 ── */
.me-set-team-operations { display: flex; flex-direction: column; padding: 4px; }
.me-set-operation-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 70px; padding: 12px 14px; border-radius: 14px;
}
.me-set-operation-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.me-set-danger-copy { color: #c7362f; }

/* ── 额度兑换 ── */
.me-credit-redeem-card { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.me-credit-redeem-copy { display: flex; flex-direction: column; gap: 4px; }
.me-credit-redeem-control { display: flex; align-items: flex-start; gap: 10px; }
.me-credit-redeem-field { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 6px; }
.me-credit-redeem-input {
  width: 100%; height: 42px; padding: 0 13px; box-sizing: border-box;
  border: 1px solid #e2e2e5; border-radius: 11px; background: #fff; color: #1d1d1f;
  font: inherit; font-size: 14px; letter-spacing: .06em; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.me-credit-redeem-input:focus { border-color: #86868b; box-shadow: 0 0 0 3px rgba(0, 0, 0, .04); }
.me-credit-redeem-input[aria-invalid="true"] { border-color: #c7362f; }
.me-credit-redeem-submit {
  appearance: none; height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  background: #1d1d1f; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: opacity .15s ease;
}
.me-credit-redeem-submit:hover { opacity: .84; }
.me-credit-redeem-error { color: #c7362f; font-size: 12px; line-height: 17px; }
.me-credit-redeem-success { margin: -4px 0 0; color: #18794e; font-size: 13px; line-height: 19px; }

/* ── 邀请弹窗（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: 34px; }
  .me-set-acct-row,
  .me-set-route-card { padding: 16px; }
  .me-set-route-group .me-set-route-card { padding: 15px 14px; }
  .me-set-route-desc { white-space: normal; }
  .me-set-member { gap: 10px; padding: 11px 10px; }
  .me-set-member-left { gap: 9px; }
  .me-set-member-role svg { display: none; }
  .me-set-operation-row { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px 12px; }
  .me-set-operation-row > button { align-self: flex-end; }
  .me-credit-redeem-card { padding: 17px 16px; }
  .me-credit-redeem-control { align-items: stretch; flex-direction: column; }
  .me-credit-redeem-submit { align-self: flex-end; padding: 0 22px; }
  .me-set-invite-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .me-set-invite-side { justify-content: flex-end; }
  .me-billing { gap: 22px; }
  .me-billing-row-content { align-items: flex-start; gap: 12px; }
  .me-billing-product-line { align-items: flex-start; flex-direction: column; gap: 6px; }
  .me-billing-amount strong { font-size: 14px; }
  .me-billing-row-arrow { margin-top: 2px; }
  .me-billing-result { padding: 20px 16px; }
  .me-billing-result strong { font-size: 26px; line-height: 34px; }
  .me-billing-detail-list { grid-template-columns: 1fr; gap: 15px; }
}

/* ── 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;
}
