/* 伙伴。页头、四格条、区块头用 components.css 的 ds-*；区块底用 sec-aura / sec-tint / sec-deep，卡片一律白底（2026-11-13） */
.pt-wrap { max-width: 1200px; margin: 0 auto; }
.pt-narrow { max-width: 960px; }
.pt-sec { scroll-margin-top: calc(var(--header-h) + 56px); }
.anchor-bar + .pt-sec { padding-top: 72px; }

/* ---------- 入驻权益与流程：白区块用浅灰卡 ---------- */
.pt-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pt-benefits article { padding: 28px 24px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); background: rgba(255, 255, 255, .82); box-shadow: var(--sh-1); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.pt-benefits h3 { margin-top: 16px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-benefits p { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--sub); }
.pt-flow { margin-top: 56px; }
.pt-sub-title { margin-bottom: 24px; font-size: 24px; font-weight: 600; line-height: 34px; color: var(--title); }
.pt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pt-steps li { position: relative; padding: 24px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); background: rgba(255, 255, 255, .82); box-shadow: var(--sh-1); }
.pt-steps li + li::before { content: ""; position: absolute; top: 40px; left: -20px; width: 20px; height: 1px; background: var(--brand-200); }
.pt-steps b { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-brand); color: var(--white); font-size: 16px; font-weight: 600; box-shadow: 0 6px 16px rgba(var(--brand-rgb), .28); }
.pt-steps h4 { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-steps p { margin: 6px 0 14px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pt-state { display: inline-flex; align-items: center; height: 22px; margin-right: 6px; padding: 0 8px; border-radius: var(--r-xs); background: var(--fill-2); font-size: 12px; color: var(--sub); }
.pt-state.is-talk { color: var(--brand-500); }
.pt-state.is-ok { background: var(--green-50); color: var(--green-600); }
.pt-state.is-no { background: var(--accent-50); color: var(--accent-600); }
.pt-coop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; font-size: 14px; color: var(--sub); }
.pt-coop span { margin-right: 4px; color: var(--title); font-weight: 500; }
.pt-coop em { padding: 4px 12px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--sh-1); color: var(--title); font-style: normal; }

/* ---------- 入驻申请表：灰区块用白卡 ---------- */
.pt-apply { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 24px; }
.pt-form { position: relative; overflow: hidden; padding: 32px 36px 36px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.pt-form::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad-brand); }
.pt-form-head h2 { font-size: 24px; font-weight: 600; line-height: 34px; color: var(--title); }
.pt-form-head p { margin-top: 6px; font-size: 14px; color: var(--sub); }
.pt-form-head i, .pt-field i { margin-left: 2px; color: var(--accent); font-style: normal; }
.pt-form fieldset { margin: 24px 0 0; padding: 0; border: 0; }
.pt-form legend { width: 100%; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: 16px; font-weight: 600; line-height: 24px; color: var(--title); }
.pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 16px; }
.pt-field { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt-field.is-wide { grid-column: 1 / -1; }
.pt-field > span { font-size: 14px; line-height: 20px; color: var(--text); }
.pt-field input:not([type="radio"]):not([type="file"]), .pt-field select, .pt-field textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); font-size: 14px; color: var(--title); transition: border-color var(--dur-1), box-shadow var(--dur-1); }
.pt-field textarea { height: auto; min-height: 120px; padding: 10px 12px; line-height: 22px; resize: vertical; }
.pt-field input:focus, .pt-field select:focus, .pt-field textarea:focus { border-color: var(--brand-400); box-shadow: var(--ring); outline: none; }
.pt-field input::placeholder, .pt-field textarea::placeholder { color: var(--placeholder); }
.pt-field.is-invalid input, .pt-field.is-invalid select, .pt-field.is-invalid textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 31, .12); }
.pt-count { align-self: flex-end; font-size: 12px; color: var(--muted); }
.pt-radios { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-radio { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 14px; color: var(--text); cursor: pointer; transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1); }
.pt-radio input { accent-color: var(--brand-500); }
.pt-radio:has(input:checked) { border-color: var(--brand-500); background: var(--white); color: var(--brand-500); box-shadow: var(--ring); }
.pt-upload { position: relative; display: grid; grid-template-columns: 24px auto; align-items: center; column-gap: 10px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--fill-1); cursor: pointer; transition: border-color var(--dur-1), background var(--dur-1); }
.pt-upload:hover { border-color: var(--brand-300); background: var(--fill-1); }
.pt-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pt-upload b { font-size: 14px; font-weight: 500; color: var(--brand-600); }
.pt-upload small { grid-column: 2; font-size: 14px; line-height: 20px; color: var(--muted); }
.pt-upload .ico { grid-row: span 2; }
.pt-files li { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--fill-1); font-size: 14px; color: var(--text); }
.pt-files li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pt-files li small { color: var(--muted); }
.pt-files li button { font-size: 14px; color: var(--brand-500); }
.pt-agree { display: flex; align-items: flex-start; gap: 8px; margin-top: 24px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pt-agree input { margin-top: 4px; accent-color: var(--brand-500); }
.pt-agree a { color: var(--brand-500); }
.pt-error { margin-top: 16px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--accent-50); font-size: 14px; line-height: 22px; color: var(--accent-600); }
.pt-submit { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 14px; line-height: 22px; color: var(--muted); }
.pt-submit .btn { min-width: 160px; }
.pt-done { padding: 40px 0 8px; text-align: center; }
.pt-done .ico { --ico-c: var(--green-600); --ico-f: var(--green-50); }
.pt-done h3 { margin-top: 12px; font-size: 24px; font-weight: 600; line-height: 32px; color: var(--title); }
.pt-done p { max-width: 520px; margin: 8px auto 24px; font-size: 14px; line-height: 24px; color: var(--sub); }
.pt-done b { color: var(--title); }
.pt-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 72px); }
.pt-aside-card { padding: 24px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-1); }
.pt-aside-card h3 { font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-aside-card li { position: relative; margin-top: 10px; padding-left: 14px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pt-aside-card li::before { content: ""; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300); }
.pt-aside-call p { margin-top: 4px; font-size: 14px; color: var(--sub); }
.pt-tel { display: block; margin: 10px 0 14px; font-size: 24px; font-weight: 600; line-height: 32px; color: var(--brand-500); }

/* ---------- 伙伴墙：白区块用浅灰卡 ---------- */
.pt-tier + .pt-tier { margin-top: 40px; }
.pt-tier-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pt-tier-head h3 { font-size: 24px; font-weight: 600; line-height: 34px; color: var(--title); }
.pt-tier-head p { font-size: 14px; color: var(--sub); }
.pt-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* 某一档还没有伙伴：一条横向邀请条占满整行，不摆空位卡 */
.pt-invite { display: flex; grid-column: 1 / -1; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); background: rgba(255, 255, 255, .82); box-shadow: var(--sh-1); transition: background var(--dur-3), box-shadow var(--dur-3); }
.pt-invite:hover { background: var(--white); box-shadow: var(--sh-2); }
.pt-invite-logo { display: flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--r-card); background: var(--brand-50); transition: background var(--dur-3); }
.pt-invite:hover .pt-invite-logo { background: var(--brand-100); }
.pt-invite-txt { flex: 1 1 auto; min-width: 0; }
.pt-invite b { display: block; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-invite small { display: block; margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pt-invite .btn { flex: none; }
.pt-invite:hover .btn { border-color: var(--brand-300); color: var(--brand-500); }
/* 真实伙伴卡（由 1.0 用 #partner-card 模板克隆填入） */
.pt-partner { display: flex; flex-direction: column; align-items: center; padding: 28px 20px 24px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); background: rgba(255, 255, 255, .82); box-shadow: var(--sh-1); text-align: center; transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), background var(--dur-3); }
.pt-partner:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--sh-2); }
.pt-partner > b { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-partner > small { margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--muted); }
.pt-partner-products { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.pt-partner-products .tag { background: var(--fill-2); color: var(--sub); }
.pt-partner-site { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--brand-500); }
.pt-partner-site .arrow-r { width: 6px; height: 6px; }

/* ---------- 代理商 ---------- */
.pt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 64px; }
.pt-split-copy .sec-title { margin-top: 0; }
.pt-rules { margin: 24px 0 28px; }
.pt-rules li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 22px; }
.pt-rules b { font-weight: 600; color: var(--title); }
.pt-rules span { color: var(--sub); }
.pt-mock { position: relative; }
.pt-ui { position: relative; font-size: 14px; }
.pt-ui-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-ui-cards div { padding: 12px 14px; border-radius: var(--r-sm); background: var(--fill-1); }
.pt-ui-cards small { display: block; color: var(--muted); }
.pt-ui-cards b { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; line-height: 28px; color: var(--title); }
.pt-ui-title { margin-top: 16px; font-weight: 600; color: var(--title); }
.pt-ui-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--text); }
.pt-ui-list em { padding: 1px 8px; border-radius: var(--r-xs); font-style: normal; }
.pt-ui-list .is-run { background: var(--fill-2); color: var(--brand-500); }
.pt-ui-list .is-ok { background: var(--green-50); color: var(--green-600); }

/* ---------- 超级个体：白区块用浅灰卡 ---------- */
.pt-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.pt-chain li { position: relative; padding: 24px 20px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); background: rgba(255, 255, 255, .82); box-shadow: var(--sh-1); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), background var(--dur-3); }
.pt-chain li:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--sh-2); }
.pt-chain li + li::after { content: ""; position: absolute; top: 50%; left: -13px; width: 7px; height: 7px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.pt-chain b { font-size: 20px; font-weight: 600; color: var(--brand-500); }
.pt-chain h4 { margin-top: 10px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-chain p { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pt-terms { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 20px; padding: 24px 28px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-card); background: rgba(255, 255, 255, .82); box-shadow: var(--sh-1); }
.pt-terms h3 { position: relative; padding-left: 12px; font-size: 18px; font-weight: 600; line-height: 26px; color: var(--title); }
.pt-terms h3::before { content: ""; position: absolute; top: 4px; left: 0; width: 3px; height: 18px; border-radius: 2px; background: var(--brand-500); }
.pt-terms ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; padding-left: 24px; border-left: 1px solid var(--line); }
.pt-terms li { position: relative; padding-left: 14px; font-size: 14px; line-height: 22px; color: var(--sub); }
.pt-terms li::before { content: ""; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-400); }

@media (max-width: 1240px) and (min-width: 901px) {
  .pt-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-chain li + li::after { display: none; }
  .pt-steps li + li::before { display: none; }
}

@media (max-width: 900px) {
  .anchor-bar + .pt-sec { padding-top: 48px; }
  .pt-benefits, .pt-steps, .pt-wall, .pt-chain { grid-template-columns: 1fr; gap: 12px; }
  .pt-chain li + li::after { display: none; }
  .pt-steps li + li::before { display: none; }
  .pt-flow { margin-top: 40px; }
  .pt-invite { flex-wrap: wrap; padding: 20px; }
  .pt-apply { grid-template-columns: 1fr; }
  .pt-form { padding: 20px; }
  .pt-grid { grid-template-columns: 1fr; }
  .pt-submit { flex-direction: column; align-items: stretch; }
  .pt-aside { position: static; }
  .pt-split { grid-template-columns: 1fr; gap: 32px; }
  .pt-rules li { grid-template-columns: 1fr; gap: 4px; }
  .pt-terms { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .pt-terms ul { grid-template-columns: 1fr; padding-left: 0; border-left: 0; }
}
