/* ============================================================
   B 端品牌门户样式 —— 与首页 / 护肤百科共享同一套设计语言
   配色 token 与 index.html 首页完全一致
   ============================================================ */
:root {
  --green: #7EB8A2;
  --green-deep: #5A8F7A;
  --green-light: #D4EBE1;
  --warm-bg: #F5F3F0;
  --gold: #C8956C;
  --gold-deep: #B07D4E;
  --text: #1d1d1f;
  --text-secondary: #86868b;
  --text-tertiary: #aeaeb2;
  --border: #e5e5ea;
  --card-bg: #ffffff;
  --width: 680px;
  /* 兼容旧品牌页引用 */
  --partner-primary: #7EB8A2;
  --partner-primary-dark: #5A8F7A;
  --partner-primary-light: #D4EBE1;
  --partner-accent: #C8956C;
  --danger: #ff6b6b;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body.partner-page {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: var(--card-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── 顶部导航：与首页完全一致 ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green);
}
.site-header-inner {
  max-width: var(--width); margin: 0 auto; padding: 0 24px;
  height: 48px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-size: 16px; font-weight: 700; color: #fff; text-decoration: none;
  letter-spacing: -.01em; display: flex; align-items: center; gap: 7px;
}
.site-logo img { width: 24px; height: 24px; border-radius: 5px; }
.site-logo .sub { font-weight: 500; font-size: 12px; opacity: .82; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { font-size: 13px; color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s; white-space: nowrap; }
.site-nav a:hover { color: #fff; }
.site-nav a.active { color: #fff; font-weight: 700; }
.site-nav a.cta-link {
  background: #fff; color: var(--green-deep); padding: 5px 14px;
  border-radius: 20px; font-weight: 600; font-size: 12px;
}
.site-nav a.cta-link:hover { background: var(--green-light); }

/* ── 门户首页 Hero（宣传型渐变）── */
.partner-hero {
  background: linear-gradient(165deg, #7EB8A2 0%, #5A8F7A 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px 72px;
}
.partner-hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: .06em;
  background: rgba(255,255,255,.16); color: #fff;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 18px;
}
.partner-hero h1 {
  font-size: 38px; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.22; margin-bottom: 14px;
}
.partner-hero .lead {
  font-size: 17px; color: rgba(255,255,255,.92);
  max-width: 520px; margin: 0 auto 28px; line-height: 1.65;
}
.partner-hero .hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.partner-hero .btn-solid {
  background: #fff; color: var(--green-deep); padding: 13px 28px;
  border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.partner-hero .btn-solid:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.partner-hero .btn-ghost {
  background: transparent; color: #fff; padding: 13px 24px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .15s;
}
.partner-hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.partner-hero .hero-promise {
  display: inline-block; margin: 0 0 24px;
  font-size: 15px; font-weight: 700; color: var(--green-deep);
  background: #fff; padding: 8px 22px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

/* ── 核心价值两支柱 ── */
.pillar-grid {
  max-width: var(--width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.pillar {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
}
.pillar .p-icon { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.pillar .pillar-lead { font-size: 14px; font-weight: 600; color: var(--green-deep); margin-bottom: 14px; line-height: 1.6; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  position: relative; padding: 4px 0 4px 18px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.55;
}
.pillar li::before {
  content: ""; position: absolute; left: 1px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}

/* ── 通用区块容器 ── */
.partner-container { max-width: var(--width); margin: 0 auto; padding: 0 24px; }
.partner-section { padding: 48px 24px; }
.partner-section.alt { background: var(--warm-bg); }
.section-eyebrow {
  text-align: center; font-size: 12px; letter-spacing: .08em;
  color: var(--gold-deep); text-transform: uppercase; margin-bottom: 6px; font-weight: 700;
}
.section-title {
  text-align: center; font-size: 24px; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 8px; color: var(--text);
}
.section-sub {
  text-align: center; font-size: 15px; color: var(--text-secondary);
  max-width: 480px; margin: 0 auto 32px; line-height: 1.6;
}

/* ── 四类身份卡片 ── */
.role-grid {
  max-width: var(--width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.role-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 22px; text-decoration: none;
  color: var(--text); position: relative; overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.role-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--green); opacity: 0; transition: opacity .18s;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(90,143,122,.16);
  border-color: var(--green);
}
.role-card:hover::before { opacity: 1; }
.role-card .icon { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.role-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 3px; letter-spacing: -.01em; }
.role-card .tag { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.role-card .punch {
  font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.5;
  padding: 10px 12px; margin: 0 0 12px;
  background: var(--warm-bg); border-radius: 8px; border-left: 3px solid var(--gold);
}
.role-card .bullets { list-style: none; margin: 0; padding: 0; }
.role-card .bullets li {
  position: relative; padding: 3px 0 3px 16px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.role-card .bullets li::before {
  content: ""; position: absolute; left: 1px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.role-card .examples { font-size: 12px; color: var(--text-secondary); margin: 0 0 4px; line-height: 1.5; }
.role-card .arrow {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--green-deep);
}

/* ── 信任背书 ── */
.trust-grid {
  max-width: var(--width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.trust-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 16px;
}
.trust-item .t-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-light); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.trust-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.trust-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ── 底部 CTA 带 ── */
.cta-band {
  background: linear-gradient(165deg, #7EB8A2 0%, #5A8F7A 100%);
  color: #fff; text-align: center; padding: 52px 24px;
}
.cta-band h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,.9); margin-bottom: 24px; }
.cta-band .btn-solid {
  background: #fff; color: var(--green-deep); padding: 14px 36px;
  border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none;
  display: inline-block; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transition: transform .15s, box-shadow .15s;
}
.cta-band .btn-solid:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* ── 成交归你 机制带 ── */
.deal-band {
  background: var(--warm-bg);
  padding: 52px 24px; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.deal-flow {
  max-width: var(--width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px;
}
.deal-step {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 18px;
}
.deal-step .num {
  width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--green); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.deal-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.deal-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.deal-note {
  max-width: 560px; margin: 22px auto 0;
  font-size: 14px; font-weight: 600; color: var(--green-deep);
}

/* ════════════════════════════════════════════
   角色专属介绍页
   ════════════════════════════════════════════ */
.role-hero {
  background: linear-gradient(165deg, #7EB8A2 0%, #5A8F7A 100%);
  color: #fff; text-align: center; padding: 56px 24px 60px;
}
.role-hero .r-icon { font-size: 44px; line-height: 1; margin-bottom: 14px; }
.role-hero h1 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.role-hero .disc { font-size: 16px; color: var(--gold); font-weight: 600; margin: 0 0 12px; }
.role-hero .disc-roles { font-size: 13px; color: rgba(255,255,255,.85); margin: -4px 0 12px; }
.role-hero .lead { font-size: 17px; color: rgba(255,255,255,.92); max-width: 520px; margin: 0 auto; line-height: 1.65; }

.selling-grid {
  max-width: var(--width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.selling-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 18px;
}
.selling-card .icon { font-size: 26px; margin-bottom: 10px; }
.selling-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--green-deep); }
.selling-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.flow {
  max-width: var(--width); margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 22px 24px;
  font-size: 14px; color: var(--text); line-height: 2.1;
}
.flow .step { display: flex; align-items: flex-start; gap: 10px; }
.flow .step::before {
  content: "↓"; color: var(--green); font-weight: 700; margin-right: 2px;
}
.flow .step:first-child::before { content: "①"; color: var(--gold); }
.flow .step:nth-child(2)::before { content: "②"; color: var(--gold); }
.flow .step:nth-child(3)::before { content: "③"; color: var(--gold); }
.flow .step:nth-child(4)::before { content: "④"; color: var(--gold); }

.rules {
  max-width: var(--width); margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
}
.rules ul { list-style: none; }
.rules li { position: relative; padding: 8px 0 8px 28px; font-size: 14px; color: var(--text); }
.rules li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-light); color: var(--green-deep);
  font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center;
}

.role-cta { text-align: center; padding: 8px 0 8px; }
.btn-primary {
  display: inline-block; padding: 14px 40px;
  background: var(--green-deep); color: #fff; border: none;
  border-radius: 12px; font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #4a7a68; transform: translateY(-1px); }

/* ════════════════════════════════════════════
   表单页（入驻 / 登录）
   ════════════════════════════════════════════ */
.form-page-hero {
  background: linear-gradient(165deg, #7EB8A2 0%, #5A8F7A 100%);
  color: #fff; text-align: center; padding: 44px 24px 48px;
}
.form-page-hero h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.form-page-hero p { font-size: 15px; color: rgba(255,255,255,.9); }

.form-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px; max-width: 520px; margin: -28px auto 0;
  box-shadow: 0 8px 32px rgba(90,143,122,.10); position: relative;
}
.form-card label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 6px; color: var(--text); }
.form-card label:first-child { margin-top: 0; }
.form-card label .req { color: #ff6b6b; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(126,184,162,.18);
}
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--text-tertiary); }
.form-card .radio-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.form-card .radio-card {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px;
  transition: border-color .15s, background .15s;
}
.form-card .radio-card:has(input:checked) { border-color: var(--green); background: var(--green-light); }
.form-card .radio-card label {
  display: flex; align-items: center; gap: 8px; margin: 0; flex: 1;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.form-card .radio-card input { width: auto; }
/* 类型名旁的「查看详情」引导符号：右向 chevron，静默、悬停点亮 */
.form-card .radio-card .type-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-left: auto;
  color: var(--text-secondary); text-decoration: none;
  transition: background .15s, color .15s;
}
.form-card .radio-card .type-link:hover {
  background: var(--green-light); color: var(--green-deep);
}
.form-card .checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-secondary); margin-top: 18px; font-weight: 400; }
.form-card .checkbox-row input { width: auto; margin-top: 3px; }
.form-card .submit-btn {
  width: 100%; margin-top: 26px; padding: 14px;
  background: var(--green-deep); color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .2s, transform .15s;
}
.form-card .submit-btn:hover { background: #4a7a68; transform: translateY(-1px); }
.form-card .submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-msg { margin-top: 16px; font-size: 14px; text-align: center; }
.form-msg.ok { color: var(--green-deep); }
.form-msg.err { color: #ff6b6b; }
.form-note { font-size: 12px; color: var(--text-tertiary); margin-top: 14px; line-height: 1.6; text-align: center; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; }
.code-row .code-btn {
  padding: 0 16px; border: 1px solid var(--green); color: var(--green-deep);
  background: #fff; border-radius: 10px; cursor: pointer; white-space: nowrap;
  font-size: 13px; font-weight: 600; font-family: inherit;
}
.code-row .code-btn:disabled { opacity: .6; cursor: not-allowed; }
.code-row .code-btn:hover:not(:disabled) { background: var(--green-light); }

/* ── 页脚：与首页一致 ── */
.site-footer {
  margin-top: auto;
  background: var(--card-bg); border-top: 1px solid var(--border);
  text-align: center; padding: 24px 24px 32px;
  font-size: 12px; color: var(--text-tertiary); line-height: 2;
}
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .beian-icon { width: 12px; height: 12px; vertical-align: -1px; }

/* ════════════════════════════════════════════
   品牌后台（登录后）
   ════════════════════════════════════════════ */
.console-bar {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 48px; z-index: 99;
}
.console-bar-inner {
  max-width: var(--width); margin: 0 auto; padding: 0 24px;
  height: 44px; display: flex; align-items: center; justify-content: space-between;
}
.console-nav { display: flex; align-items: center; gap: 4px; }
.console-nav a {
  font-size: 13px; color: var(--text-secondary); text-decoration: none;
  padding: 6px 12px; border-radius: 8px; transition: all .15s;
}
.console-nav a:hover { color: var(--text); }
.console-nav a.active { background: var(--green-light); color: var(--green-deep); font-weight: 600; }
.console-logout { font-size: 13px; color: var(--text-tertiary); text-decoration: none; }
.console-logout:hover { color: var(--text); }

.console-body { max-width: var(--width); margin: 0 auto; padding: 24px 24px 56px; flex: 1; width: 100%; }
.console-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; margin-top: 16px;
}
.console-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.console-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.console-card .todo { color: var(--gold-deep); }

.placeholder {
  text-align: center; color: var(--text-secondary);
  padding: 48px 24px; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 14px; margin-top: 16px; line-height: 1.9;
}

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 16px; }
.kpi {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 18px; text-align: center;
}
.kpi .num { font-size: 28px; font-weight: 700; color: var(--text); }
.kpi .lbl { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.channel-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.channel-table th, .channel-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.channel-table th { color: var(--text-secondary); font-weight: 500; }
.channel-table a.btn { display: inline-block; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--green); color: var(--green-deep); text-decoration: none; font-size: 13px; margin-right: 6px; }
.channel-table button.del { padding: 4px 12px; border-radius: 6px; border: 1px solid #ff6b6b; color: #ff6b6b; background: #fff; cursor: pointer; font-size: 13px; }
.empty { text-align: center; color: var(--text-secondary); padding: 40px; }

/* ── 普通用户提示区 ── */
.user-note {
  background: var(--warm-bg);
  padding: 32px 24px;
}
.user-note-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.user-note h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.user-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.user-note a {
  color: var(--green-deep);
  font-weight: 500;
  text-decoration: none;
  margin-left: 8px;
}
.user-note a:hover {
  text-decoration: underline;
}

.cta-band .cta-sub {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.cta-band .cta-sub a {
  color: #fff;
  text-decoration: underline;
}

/* ── Hero补充说明 ── */
.partner-hero .hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  padding: 10px 18px;
  border-radius: 20px;
  display: inline-block;
}

.role-hero .hero-promise {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.role-hero .hero-promise span {
  background: #fff;
  color: var(--green-deep);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

/* ── 案例卡片 ── */
.case-grid {
  max-width: var(--width);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow .2s, transform .2s;
}
.case-card:hover {
  box-shadow: 0 4px 16px rgba(90,143,122,.1);
  transform: translateY(-2px);
}
.case-card .case-tag {
  display: inline-block;
  font-size: 12px;
  background: var(--green-light);
  color: var(--green-deep);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 500;
}
.case-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.case-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.case-card strong {
  color: var(--green-deep);
  font-weight: 700;
  font-size: 18px;
}

/* ── FAQ样式 ── */
.faq-list {
  max-width: 700px;
  margin: 32px auto 0;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.faq-item:hover {
  border-color: var(--green);
}
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  outline: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: var(--green-deep);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 0;
}

/* ── 响应式 ── */
@media (max-width: 640px) {
  .partner-hero { padding: 48px 20px 56px; }
  .partner-hero h1 { font-size: 30px; }
  .role-hero h1 { font-size: 27px; }
  .role-grid, .trust-grid, .selling-grid, .pillar-grid, .case-grid { grid-template-columns: 1fr; }
  .partner-section { padding: 36px 20px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .role-hero .hero-promise { gap: 8px; }
  .role-hero .hero-promise span { font-size: 12px; padding: 5px 10px; }
  .partner-hero .hero-note { font-size: 13px; padding: 8px 14px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .selling-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   UX 优化：转化 CTA 前置 + 身份预选 + 表单分组（2026-08-26）
   ════════════════════════════════════════════ */

/* 角色页 Hero 行动区：申请入口首屏可见（胶囊按钮，与 promise 标签统一） */
.role-hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.role-hero .btn-solid {
  background: #fff; color: var(--green-deep); padding: 12px 32px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.15); transition: transform .15s, box-shadow .15s;
}
.role-hero .btn-solid:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.role-hero .btn-ghost {
  background: transparent; color: #fff; padding: 12px 24px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s;
}
.role-hero .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* 入驻表单：协议勾选单行连续 + 分组标题 */
.form-card .checkbox-row { gap: 10px; margin-top: 20px; line-height: 1.7; cursor: pointer; }
.form-card .checkbox-row input { margin-top: 2px; flex-shrink: 0; }
.form-card .checkbox-row > span { flex: 1; min-width: 0; }
.form-card .checkbox-row a { color: var(--green-deep); font-weight: 500; }

/* ── 表单分组卡片 ── */
.form-group {
  background: var(--warm-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 20px;
}
.form-group:first-of-type { margin-top: 16px; }
.form-group-title {
  margin: 0 0 14px; padding: 0; font-size: 14px; font-weight: 700;
  color: var(--text); letter-spacing: .02em;
  display: flex; align-items: center; gap: 8px;
}
.form-group-title::before {
  content: ""; display: block; width: 3px; height: 16px;
  background: var(--green); border-radius: 2px; flex-shrink: 0;
}
.form-group label:first-of-type { margin-top: 0; }
.form-group label { margin-top: 14px; }
.form-group label:first-child { margin-top: 0; }

/* ── 伙伴类型选择区 ── */
.partner-type-section {
  margin-top: 4px;
}
.partner-type-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.partner-type-header > label {
  font-size: 14px; font-weight: 600; margin: 0; display: block; white-space: nowrap;
}
.type-tip {
  color: var(--text-tertiary); font-size: 13px; margin: 0;
  line-height: 1.5; padding: 2px 10px;
  background: var(--warm-bg); border-radius: 6px;
  border-left: 2px solid var(--border);
  flex: 1; min-width: 0;
}

/* ── 协议勾选区 ── */
.agreement-section {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ── 查询入口条 ── */
.status-check-entry {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; margin-bottom: 16px;
  background: var(--warm-bg); border: 1px dashed var(--border);
  border-radius: 10px; font-size: 14px; color: var(--text-secondary);
}
.link-btn {
  background: none; border: none; color: var(--green-deep); font-weight: 600;
  font-size: 14px; cursor: pointer; padding: 0; font-family: inherit;
  text-decoration: underline; text-underline-offset: 2px;
}
.link-btn:hover { color: var(--gold-deep); }

/* ── 查询状态面板 ── */
.status-panel {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(90,143,122,.08);
}
.status-panel h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px; text-align: center;
}
.status-form { max-width: 360px; margin: 0 auto; }
.status-form input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--text);
}
.status-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(126,184,162,.18); }

/* ── 查询结果列表 ── */
.query-result { margin-top: 16px; }
.status-item {
  background: var(--warm-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; margin-bottom: 10px;
}
.status-item-header {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px;
}
.status-brand { font-weight: 700; font-size: 15px; color: var(--text); }
.status-type {
  font-size: 12px; color: var(--text-secondary); background: #fff;
  padding: 2px 8px; border-radius: 10px; border: 1px solid var(--border);
}
.status-pending { font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.status-approved { font-size: 13px; font-weight: 600; color: var(--green-deep); }
.status-rejected { font-size: 13px; font-weight: 600; color: #e74c3c; }
.status-item-meta { font-size: 12px; color: var(--text-tertiary); }
.review-comment {
  margin-top: 8px; padding: 8px 12px; font-size: 13px; color: #c0392b;
  background: #fdf2f2; border-radius: 6px; border-left: 3px solid #e74c3c;
}

/* ── 提交成功卡片 ── */
.success-card {
  background: var(--card-bg); border: 2px solid var(--green);
  border-radius: 16px; padding: 40px 28px; margin-bottom: 16px;
  text-align: center; box-shadow: 0 8px 32px rgba(90,143,122,.15);
}
.success-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--green); color: #fff; font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.success-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--green-deep); }
.success-app-id {
  font-size: 14px; color: var(--text-secondary); margin-bottom: 8px;
}
.success-app-id strong { color: var(--text); font-family: monospace; letter-spacing: .02em; }
.success-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.success-actions { display: flex; justify-content: center; gap: 24px; }

/* ── 补充信息「选填」标注 ── */
.optional-hint {
  font-size: 12px; font-weight: 400; color: var(--text-tertiary);
  margin-left: 4px;
}