/* ==========================================================================
 * RMC 商业变现层样式（定价 / 专家目录 / 招聘 / 结算）
 * ========================================================================== */

/* ---------- 定价三档 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0;
}
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  border: 1px solid var(--line, #e3e0d8);
  border-radius: 16px;
  padding: 26px 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold-2, #c9a227);
  box-shadow: 0 10px 30px rgba(201,162,39,.18);
}
.price-card .pc-tag {
  position: absolute; top: -12px; left: 22px;
  background: var(--gold-2, #c9a227); color: #1a1a1a;
  font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 700;
}
.price-card h3 { margin: 6px 0 4px; font-size: 20px; }
.price-card .pc-meta { color: var(--ink-3, #6b6862); font-size: 13px; }
.price-card .pc-price {
  font-size: 30px; font-weight: 800; margin: 14px 0 2px; color: var(--ink-1, #1a1a1a);
}
.price-card .pc-price small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 18px; flex: 1; }
.price-card li {
  padding: 7px 0 7px 22px; position: relative; font-size: 14px;
  border-bottom: 1px dashed var(--line, #eee);
}
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal, #1f8a8a); font-weight: 700; }
.price-card li.no::before { content: "—"; color: #bbb; }
.price-card li.no { color: #aaa; }

/* ---------- 通用按钮（商业层） ---------- */
.btn-gold, .btn-line {
  display: inline-block; text-align: center; cursor: pointer;
  border-radius: 10px; padding: 11px 18px; font-size: 14px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; transition: .15s;
}
.btn-gold { background: var(--gold-2, #c9a227); color: #1a1a1a; }
.btn-gold:hover { background: #b8921f; }
.btn-line { background: #fff; border-color: var(--gold-2, #c9a227); color: #8a6d12; }
.btn-line:hover { background: #fbf6e7; }
.price-card .btn-gold, .price-card .btn-line { width: 100%; }

/* ---------- 专家目录 ---------- */
.exp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 22px 0;
}
@media (max-width: 720px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card {
  border: 1px solid var(--line, #e3e0d8); border-radius: 14px; padding: 18px 20px; background: #fff;
  display: flex; flex-direction: column;
}
.exp-head { display: flex; align-items: center; gap: 12px; }
.exp-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal, #1f8a8a), var(--gold-2, #c9a227));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.exp-name { font-weight: 800; font-size: 16px; }
.exp-title { font-size: 12px; color: var(--ink-3, #6b6862); }
.exp-bio { font-size: 13px; color: var(--ink-2, #4a4843); margin: 10px 0 12px; line-height: 1.6; }
.exp-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.exp-actions .btn-line { flex: 1; padding: 9px 10px; font-size: 13px; }
.exp-price { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.exp-price b { color: var(--gold-2, #b8921f); }

/* ---------- 招聘 ---------- */
.job-list { display: grid; gap: 14px; margin: 22px 0; }
.job-card {
  border: 1px solid var(--line, #e3e0d8); border-radius: 12px; padding: 16px 18px; background: #fff;
}
.job-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.job-title { font-weight: 800; font-size: 17px; }
.job-co { color: var(--ink-3); font-size: 13px; }
.job-meta { font-size: 12px; color: var(--ink-3); margin: 6px 0; }
.job-meta .jt { background: #f1ede0; color: #7a6a2a; padding: 2px 8px; border-radius: 999px; margin-right: 6px; }
.job-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.job-contact { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* ---------- 结算 / 我的订单 ---------- */
.co-wrap { max-width: 760px; margin: 10px auto 40px; }
.co-box {
  border: 1px solid var(--line, #e3e0d8); border-radius: 16px; padding: 26px; background: #fff; margin-bottom: 22px;
}
.co-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line, #eee); font-size: 15px; }
.co-row b { font-weight: 700; }
.co-amount { font-size: 26px; font-weight: 800; color: var(--gold-2, #b8921f); }
.co-pay { margin-top: 18px; }
.co-qr {
  width: 180px; height: 180px; border: 1px solid var(--line, #e3e0d8); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 12px; text-align: center;
  margin: 12px 0; background: repeating-linear-gradient(45deg,#faf8f2,#faf8f2 8px,#f3efe4 8px,#f3efe4 16px);
}
.co-note { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.co-success { text-align: center; padding: 20px; }
.co-success .big { font-size: 40px; }
.co-pending { text-align: center; padding: 20px; }
.co-pending .big { font-size: 40px; }
.co-orders td, .co-orders th { padding: 8px 10px; font-size: 13px; }
.co-orders .st-paid { color: #1f8a4f; font-weight: 700; }
.co-orders .st-pending { color: #c98a1f; font-weight: 700; }
.co-orders .st-review { color: #2f6fb0; font-weight: 700; }
.co-empty { color: var(--ink-3); padding: 20px; text-align: center; }

/* ---------- 支付网关选择 ---------- */
.co-gateways { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.co-gateways .btn-gold { flex: 1 1 140px; }
.gw-wx   { background: #07c160 !important; border-color: #07c160 !important; color: #fff !important; }
.gw-ali  { background: #1677ff !important; border-color: #1677ff !important; color: #fff !important; }
.gw-st   { background: #635bff !important; border-color: #635bff !important; color: #fff !important; }
.co-qr-lg { width: 240px; min-height: 240px; height: auto; max-width: 100%; margin: 10px auto; background: #fff; border: 1px solid var(--line,#e3e0d8); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 8px; box-sizing: border-box; }
.co-qr-lg canvas { max-width: 100%; border-radius: 8px; }
/* 静态收款码图片（竖版比例也不会被压扁） */
.co-qr-lg img { width: auto; height: auto; max-width: 100%; max-height: 420px; object-fit: contain; border-radius: 8px; display: block; }

/* ---------- 表单 ---------- */
.cm-form .cm-field { margin-bottom: 14px; }
.cm-form label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; }
.cm-form input, .cm-form select, .cm-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line, #d8d4c8);
  border-radius: 9px; font-size: 14px; font-family: inherit; background: #fff;
}
.cm-form textarea { min-height: 90px; resize: vertical; }
.cm-btns { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cm-hint { font-size: 13px; color: var(--ink-3); }
