/* ============================================================
   交易策略大师页（strategy.html）专有样式
   复用 style.css 的设计令牌与通用组件（.btn/.field/.form-note/
   .form-msg/.check 等），此处只写本页特有结构，避免污染主样式
   ============================================================ */

/* ---------- Hero 上的提示条（深色底） ---------- */
.demo-banner--onDark {
  margin: 22px 0 0;
  max-width: 780px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.86);
}
.demo-banner--onDark b {
  color: #fff;
}

/* ---------- 策略选择卡（tablist） ---------- */
.strat-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.strat-card {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.strat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.strat-card.is-active {
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(192, 36, 52, 0.12);
}
.strat-card:focus-visible {
  outline: 2px solid var(--c-brand-500);
  outline-offset: 2px;
}
.strat-card__icon {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}
.strat-card h3 {
  margin: 0 0 2px;
  font-size: 18px;
  color: var(--c-ink);
}
.strat-card__sub {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-brand-500);
  margin-bottom: 8px;
}
.strat-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-ink-2);
}

/* ---------- 测算区：左参数 / 右结果 ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.calc__form {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.calc__title {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--c-ink);
}
.calc__result {
  position: sticky;
  top: 88px;
  background: linear-gradient(160deg, var(--c-brand-050), #fff);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.calc__placeholder {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
}

/* ---------- 表单布局 ---------- */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* 模式单选卡 */
.mode {
  border: 0;
  padding: 0;
  margin: 18px 0 0;
}
.mode legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
}
.mode__opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.mode__opt.is-on {
  border-color: var(--c-brand-500);
  background: var(--c-brand-050);
}
.mode__opt input {
  margin-top: 3px;
  accent-color: var(--c-brand-500);
}
.mode__opt strong {
  display: block;
  font-size: 14px;
  color: var(--c-ink);
}
.mode__opt em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c-muted);
  margin-top: 2px;
}

/* CALL 参数组 */
.opt-group {
  margin-top: 8px;
  padding: 14px;
  background: var(--c-bg-soft);
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-sm);
}

/* ---------- 结果区组件 ---------- */
.res__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}
.res__kpi {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.res__kpi span {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
}
.res__kpi strong {
  display: block;
  font-size: 20px;
  color: var(--c-ink);
  margin-top: 2px;
}
.res__kpi--hl strong {
  color: var(--c-green-700);
}
.res__kpi--hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(143, 29, 34, 0.06), rgba(143, 29, 34, 0.02));
  border: 1px solid rgba(143, 29, 34, 0.35);
  text-align: center;
  padding: 18px 14px;
}
.res__kpi--hero span {
  font-size: 13px;
  color: #8f1d22;
  font-weight: 600;
}
.res__kpi--hero strong {
  font-size: 34px;
  color: #8f1d22;
  letter-spacing: 0.5px;
  margin-top: 6px;
}
.res__rows {
  border-top: 1px solid var(--c-line);
}
.res__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 13.5px;
}
.res__row span {
  color: var(--c-muted);
}
.res__row b {
  color: var(--c-ink);
  font-weight: 600;
}
.res__sub {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
}
.res__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.res__table th,
.res__table td {
  text-align: right;
  padding: 8px 6px;
  border-bottom: 1px solid var(--c-line);
}
.res__table th:first-child,
.res__table td:first-child {
  text-align: left;
}
.res__table th {
  color: var(--c-muted);
  font-weight: 600;
}
.res__table td small {
  color: var(--c-muted);
  font-weight: 400;
}
.res__pos {
  color: #b42318;
  font-weight: 600;
}
.res__neg {
  color: #12805c;
  font-weight: 600;
}
.res__table--tiers td.is-ref {
  background: rgba(143, 29, 34, 0.1);
  font-weight: 700;
  color: #8f1d22;
}
.res__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-muted);
}
.res__err {
  background: #fef3f2;
  border: 1px solid #fecdc9;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13.5px;
  color: #b42318;
}

/* ---------- 执行流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.flow__step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
}
.flow__step i {
  font-style: normal;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-brand-500);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow__step h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--c-ink);
}
.flow__step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c-muted);
}

/* ---------- 解决方案包 ---------- */
.pkg-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pkg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.pkg-card--hl {
  position: relative;
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(192, 36, 52, 0.1);
}
.pkg-card__badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--c-brand-500);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.pkg-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--c-ink);
}
.pkg-card__price {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand-500);
}
.pkg-card__desc {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-ink-2);
}
.pkg-card__fit {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--c-muted);
}
.pkg-card .btn {
  margin-top: auto;
}

/* ---------- 采购步骤条 ---------- */
.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}
.stepper li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.stepper li.is-done {
  color: rgba(255, 255, 255, 0.9);
}
.stepper li.is-done span {
  background: var(--c-green-600);
  border-color: var(--c-green-600);
}
.stepper li.is-current {
  color: #fff;
  font-weight: 700;
}
.stepper li.is-current span {
  background: var(--c-brand-300);
  border-color: var(--c-brand-300);
  color: var(--c-brand-900);
}

/* ---------- 采购区 ---------- */
.order {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.order__summary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 20px;
}
.order__summary h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #fff;
}
.order__summary dl {
  margin: 0;
}
.order__summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.order__summary dt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.order__summary dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-align: right;
}
.order__hint {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}
.order__form {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.order__form label em {
  font-style: normal;
  color: #e5484d;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "＋";
  color: var(--c-brand-500);
  font-weight: 700;
  margin-right: 8px;
}
.faq details[open] summary::before {
  content: "－";
}
.faq details p {
  margin: 0;
  padding: 0 16px 16px 32px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

/* ---------- 风险提示盒 ---------- */
.risk-box {
  margin-top: 30px;
  max-width: 820px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-left: 3px solid #d9a13b;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.risk-box h3 {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: var(--c-ink);
}
.risk-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-ink-2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .strat-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .identity-tabs {
    grid-template-columns: 1fr;
  }
  .calc {
    grid-template-columns: 1fr;
  }
  .calc__result {
    position: static;
  }
  .split-tiers {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .pkg-list {
    grid-template-columns: 1fr;
  }
  .order {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  .res__kpis {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
  }
}

/* ---------- 身份门禁 ---------- */
.section--gate {
  background: var(--c-bg-soft);
  padding: 64px 0;
}
.identity-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
}
.identity-card {
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.identity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.identity-card.is-active {
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(192, 36, 52, 0.12);
}
.identity-card:focus-visible {
  outline: 2px solid var(--c-brand-500);
  outline-offset: 2px;
}
.identity-card__icon {
  display: block;
  font-size: 30px;
  margin-bottom: 10px;
}
.identity-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--c-ink);
}
.identity-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-ink-2);
}

/* 策略卡推荐徽标 */
.strat-card__rec {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: var(--c-brand-500);
  padding: 2px 10px;
  border-radius: 999px;
}
/* display:inline-block 会覆盖 hidden 属性，需显式恢复 */
.strat-card__rec[hidden] {
  display: none;
}

/* ---------- 稳健履约通 · 双档分成可视化 ---------- */
.split-bench {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 0 0 18px;
}
.bench__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 6px;
}
.bench__label {
  color: var(--c-muted);
}
.bench__val {
  font-weight: 600;
  color: var(--c-ink);
}
.bench__bar {
  height: 10px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  overflow: hidden;
  margin-bottom: 12px;
}
.bench__fill {
  height: 100%;
  border-radius: 999px;
}
.bench__fill--a {
  background: var(--c-brand-500);
}
.bench__fill--p {
  background: var(--c-green-600);
}
.bench__gap {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--c-muted);
}
.bench__gap b {
  color: var(--c-brand-700);
}

.split-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 8px;
}
.split-tier {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.split-tier h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--c-ink);
}
.split-tier__rule {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--c-muted);
}
.split-tier__rule b {
  color: var(--c-brand-700);
}
.donut {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 12px;
}
.donut__hole {
  position: absolute;
  inset: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.donut__hole span {
  font-size: 11px;
  color: var(--c-muted);
}
.donut__hole strong {
  font-size: 18px;
  color: var(--c-green-700);
}
.split-tier__list {
  margin: 0;
  border-top: 1px solid var(--c-line);
}
.split-tier__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
}
.split-tier__list li span {
  color: var(--c-muted);
}
.split-tier__list li b {
  color: var(--c-ink);
  font-weight: 600;
}
.split-tier__list li.is-net span,
.split-tier__list li.is-net b {
  color: var(--c-brand-700);
  font-weight: 700;
}

/* ---------- 需求分级向导 ---------- */
.wiz-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.wiz-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--c-muted);
  font-weight: 600;
}
.wiz-steps li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: 12px;
  color: var(--c-muted);
}
.wiz-steps li.is-current {
  color: var(--c-brand-700);
}
.wiz-steps li.is-current span {
  background: var(--c-brand-500);
  border-color: var(--c-brand-500);
  color: #fff;
}
.wiz-steps li.is-done span {
  background: var(--c-green-600);
  border-color: var(--c-green-600);
  color: #fff;
}

.wiz-panel {
  animation: wizIn 0.25s ease;
}
@keyframes wizIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.wiz-q {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--c-ink);
}
.wiz-hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--c-muted);
}
.wiz-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 6px;
}
.wiz-opt {
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 16px 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.wiz-opt:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.wiz-opt.is-on {
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px var(--c-brand-050);
}
.wiz-opt:focus-visible {
  outline: 2px solid var(--c-brand-500);
  outline-offset: 2px;
}
.wiz-opt__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
}
.wiz-opt__desc {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c-muted);
}
.wiz-branch + .wiz-branch {
  margin-top: 8px;
}
.wiz-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

/* 匹配结果 */
.wiz-match {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.wiz-match__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--c-brand-500);
  padding: 3px 12px;
  border-radius: 999px;
}
.wiz-match__title {
  margin: 12px 0 2px;
  font-size: 24px;
  color: var(--c-ink);
}
.wiz-match__sub {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-brand-700);
}
.wiz-match__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink-2);
}
.wiz-match__reason {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-ink-2);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-brand-500);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.wiz-match__reason b {
  color: var(--c-brand-700);
}
.wiz-match__pkg {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--c-ink-2);
}
.wiz-match__pkg b {
  color: var(--c-brand-700);
}
.wiz-match__cross {
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-ink-2);
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-radius: 10px;
}
.wiz-match__cross b {
  color: var(--c-brand-700);
}
.seller-box {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--c-surface-2, #f6f8f7);
  border: 1px solid var(--c-line, #e3e9e6);
  border-radius: 14px;
}
.seller-box .wiz-q {
  margin-top: 0;
}
.seller-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.seller-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(22,163,74,.06));
  border: 1px solid rgba(15,118,110,.25);
  border-left: 4px solid #0f766e;
  border-radius: 12px;
}
.seller-tip__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 260px;
  font-size: 14px;
}
.seller-tip__text span {
  color: var(--c-muted);
}
.identity-wrap {
  margin-top: 22px;
}
.wiz-match__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.wiz-chips__label {
  font-size: 13px;
  color: var(--c-muted);
}
.wiz-chip {
  font: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--c-brand-300);
  color: var(--c-brand-700);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.16s;
}
.wiz-chip:hover {
  background: var(--c-brand-050);
}

/* 策略卡匹配态 */
.strat-card--matched {
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(192, 36, 52, 0.12);
}
.strat-card--dim {
  opacity: 0.62;
}
.strat-card__rec {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: var(--c-brand-500);
  padding: 2px 10px;
  border-radius: 999px;
}
/* display:inline-block 会覆盖 hidden 属性，需显式恢复 */
.strat-card__rec[hidden] {
  display: none;
}

/* ---------- 引导交互优化（2026-10 改版） ---------- */
/* 步骤条：可点击回跳 + 每步显示已选项 */
.wiz-steps li {
  cursor: pointer;
  padding: 4px 10px;
  margin: -4px -10px;
  border-radius: 999px;
  transition: background 0.16s, opacity 0.16s;
}
.wiz-steps li:hover {
  background: rgba(255, 255, 255, 0.14);
}
.wiz-steps li.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}
.wiz-steps li.is-locked:hover {
  background: transparent;
}
.wiz-steps__pick {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-green-600);
  background: rgba(30, 158, 90, 0.14);
  border-radius: 999px;
  padding: 1px 8px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 匹配摘要横幅：向导完成后常驻策略区顶部，滚动时吸顶跟随 */
.match-banner {
  position: sticky;
  top: 78px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 26px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--c-brand-050), #fff 65%);
  border: 1px solid var(--c-brand-300);
  border-left: 4px solid var(--c-brand-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.match-banner[hidden] {
  display: none;
}
.match-banner__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  font-size: 12.5px;
  color: var(--c-muted);
}
.match-banner__crumbs b {
  color: var(--c-ink);
  font-weight: 600;
}
.match-banner__crumb-sep {
  color: #c9cfd8;
}
.match-banner__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  flex: 1;
}
.match-banner__rec {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-brand-500);
  letter-spacing: 0.5px;
}
.match-banner__name {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-ink);
}
.match-banner__name small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-brand-700);
  margin-left: 8px;
}
.match-banner__reason {
  font-size: 12.5px;
  color: var(--c-ink-2);
  line-height: 1.6;
}
.match-banner__type {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  font-size: 12px;
  font-style: normal;
  color: var(--c-brand-700);
  background: var(--c-brand-50, #eaf4ee);
  border-radius: 999px;
  vertical-align: middle;
}
.match-banner__crossline {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8a6d1a;
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-radius: 10px;
  padding: 8px 12px;
}
.match-banner__actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
@media (max-width: 720px) {
  .match-banner {
    top: 70px;
    padding: 12px 14px;
  }
  .match-banner__actions {
    margin-left: 0;
    width: 100%;
  }
  .match-banner__actions .btn {
    flex: 1;
    text-align: center;
  }
}

/* 测算结果 CTA：打通 测算 → 方案包 动线 */
.calc__cta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--c-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.calc__cta-note {
  font-size: 12px;
  color: var(--c-muted);
}

/* ---------- 聚焦式需求分级弹层 ---------- */
.fow-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(23, 28, 38, 0.48);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fowFade 0.2s ease;
}
.fow-overlay[hidden] {
  display: none;
}
@keyframes fowFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fow-dialog {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  width: min(680px, 100%);
  max-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fowIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@keyframes fowIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.fow-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--c-line);
}
.fow-head__text {
  min-width: 130px;
}
.fow-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--c-brand-500);
}
.fow-head h3 {
  margin: 2px 0 0;
  font-size: 19px;
  color: var(--c-ink);
}
.fow-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fow-progress span {
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
}
.fow-progress__bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.fow-progress__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-brand-500), var(--c-brand-700));
  border-radius: 999px;
  transition: width 0.35s ease;
}
.fow-close {
  border: none;
  background: var(--c-bg-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-muted);
  flex: none;
}
.fow-close:hover {
  background: #eeecec;
  color: var(--c-ink);
}
.fow-body {
  padding: 24px;
  overflow-y: auto;
}
.fow-body .wiz-match {
  box-shadow: none;
  border-color: var(--c-line);
}
.fow-qhint {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--c-muted);
}
.fow-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.fow-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px 18px;
  border-top: 1px solid var(--c-line);
}
.fow-foot__hint {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  color: var(--c-muted);
}
@media (max-width: 640px) {
  .fow-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .fow-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .fow-head {
    flex-wrap: wrap;
  }
  .fow-progress {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }
}

/* ---------- 工作台：常态与选中态同为 flex，避免 display 切换破坏 sticky ---------- */
.strat-workbench {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
}
.strat-workbench > .strat-tabs {
  flex: 1 1 100%;
}
.strat-workbench > .calc {
  flex: 1 1 100%;
  min-width: 0;
}
/* ---------- 选中策略后的工作台：左 1/4 策略侧栏（吸顶），右 3/4 测算 ---------- */
.strat-workbench.has-pick {
  gap: 26px;
}
/* 左侧策略侧栏：选中卡 + 缩略卡栏，桌面端滚动吸顶 */
.strat-workbench.has-pick > .strat-side {
  flex: 0 0 clamp(230px, 25%, 340px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 84px;
}
/* 被选中的卡片（JS 包入 .strat-side）：侧栏置顶 */
.strat-workbench.has-pick .strat-side > .strat-card.is-active {
  position: relative;
  flex-shrink: 0;
  padding: 16px 18px;
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(192, 36, 52, 0.14), var(--shadow);
  background: linear-gradient(165deg, #fff 55%, var(--c-brand-050));
  transition: border-color 0.18s, box-shadow 0.18s, padding 0.28s ease, background 0.28s ease;
}
.strat-workbench.has-pick .strat-side > .strat-card.is-active::after {
  content: "正在查看";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-brand-500);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px 10px;
  letter-spacing: 0.05em;
}
.strat-workbench.has-pick .strat-side > .strat-card.is-active .strat-card__icon {
  font-size: 24px;
  margin-bottom: 4px;
  transition: font-size 0.22s ease;
}
.strat-workbench.has-pick .strat-side > .strat-card.is-active h3 {
  font-size: 16.5px;
  transition: font-size 0.22s ease;
}
.strat-workbench.has-pick .strat-side > .strat-card.is-active .strat-card__sub {
  font-size: 12px;
  margin-bottom: 6px;
  transition: margin 0.24s ease;
}
.strat-workbench.has-pick .strat-side > .strat-card.is-active p {
  font-size: 12.5px;
  line-height: 1.6;
  transition: opacity 0.22s ease;
}
/* 其余策略：侧栏内缩略纵排 */
.strat-workbench.has-pick .strat-tabs {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 0;
}
.strat-workbench.has-pick .strat-tabs .strat-card {
  padding: 11px 14px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s,
              opacity 0.22s ease, background 0.28s ease;
}
.strat-workbench.has-pick .strat-tabs .strat-card__icon {
  font-size: 18px;
  margin-bottom: 2px;
}
.strat-workbench.has-pick .strat-tabs .strat-card h3 {
  font-size: 13.5px;
}
.strat-workbench.has-pick .strat-tabs .strat-card__sub {
  font-size: 11px;
  margin-bottom: 0;
}
.strat-workbench.has-pick .strat-tabs .strat-card p {
  display: none;
}
.strat-workbench.has-pick .strat-tabs .strat-card:not(.is-active) {
  opacity: 0.78;
}
.strat-workbench.has-pick .strat-tabs .strat-card:not(.is-active):hover {
  opacity: 1;
}
.strat-workbench.has-pick .strat-tabs .strat-card.is-active {
  /* 选中卡被提升后，缩略栏内理论上无 is-active；兜底隐藏 */
  display: none;
}
/* 测算区：右侧 3/4 */
.strat-workbench.has-pick .calc {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 980px) {
  .strat-workbench,
  .strat-workbench.has-pick {
    flex-direction: column;
    gap: 16px;
  }
  .strat-workbench.has-pick > .strat-side {
    flex: none;
    width: 100%;
    position: static;
  }
  .strat-workbench.has-pick .calc {
    flex: 1 1 100%;
    width: 100%;
  }
  .strat-workbench.has-pick .strat-tabs {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .strat-workbench.has-pick .strat-side > .strat-card.is-active,
  .strat-workbench.has-pick .strat-tabs .strat-card {
    transition: none;
  }
}

/* 灵活增益通 · 客户收益曲线 */
.res__chart { margin: 10px 0 2px; }
.res__chart svg { max-height: 330px; }
.calc__result .call-flow { margin-bottom: 14px; }
.res__chart svg { width: 100%; height: auto; display: block; }
.res__chart text { font-size: 11px; fill: var(--c-muted); }
.res__chart .cg-axis { font-size: 11.5px; }
.res__chart .cg-grid { stroke: rgba(15, 23, 42, 0.07); stroke-width: 1; }
.res__chart .cg-zero { stroke: rgba(15, 23, 42, 0.35); stroke-dasharray: 5 4; }
.res__chart .cg-tick { stroke: rgba(15, 23, 42, 0.3); stroke-width: 1; }
.res__chart .cg-area--up { fill: rgba(143, 29, 34, 0.10); }
.res__chart .cg-area--down { fill: rgba(22, 101, 52, 0.10); }
.res__chart .cg-line { fill: none; stroke: var(--c-brand-500); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.res__chart .cg-dot { fill: #fff; stroke-width: 2; }
.res__chart .cg-dot--loss { stroke: var(--c-green-700); }
.res__chart .cg-dot--kink { stroke: var(--c-brand-500); }
.res__chart .cg-dot--be { stroke: rgba(15, 23, 42, 0.55); }
.res__chart .cg-lab { font-size: 11px; fill: var(--c-ink-2); }

/* 灵活增益通 · 客户收益曲线（大字版 + 悬停交互） */
.res__chart { margin: 12px 0 2px; position: relative; }
.res__chart svg { width: 100%; height: auto; display: block; }
.res__chart text { font-size: 17px; fill: var(--c-muted); }
.res__chart .cg-axis { font-size: 17.5px; }
.res__chart .cg-grid { stroke: rgba(15, 23, 42, 0.07); stroke-width: 1; }
.res__chart .cg-zero { stroke: rgba(15, 23, 42, 0.35); stroke-width: 1.2; stroke-dasharray: 5 4; }
.res__chart .cg-tick { stroke: rgba(15, 23, 42, 0.3); stroke-width: 1; }
.res__chart .cg-area--up { fill: rgba(143, 29, 34, 0.10); }
.res__chart .cg-area--down { fill: rgba(22, 101, 52, 0.10); }
.res__chart .cg-line { fill: none; stroke: var(--c-brand-500); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.res__chart .cg-dot { fill: #fff; stroke-width: 3; }
.res__chart .cg-dot--loss { stroke: var(--c-green-700); }
.res__chart .cg-dot--kink { stroke: var(--c-brand-500); }
.res__chart .cg-dot--be { stroke: rgba(15, 23, 42, 0.55); }
.res__chart .cg-lab { font-size: 16px; fill: var(--c-ink-2); }
.res__chart .cg-catch { fill: transparent; cursor: crosshair; }
.res__chart .cg-cross-line { stroke: rgba(143, 29, 34, 0.45); stroke-width: 1.4; stroke-dasharray: 4 4; }
.res__chart .cg-cross-dot { fill: #fff; stroke: var(--c-brand-500); stroke-width: 3.2; }
.res__chart .cg-tip { position: absolute; transform: translate(14px, -50%); min-width: 230px; background: #fff; border: 1px solid rgba(15, 23, 42, 0.10); border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16); padding: 12px 14px; font-size: 14px; pointer-events: none; z-index: 5; }
.res__chart .cg-tip--flip { transform: translate(calc(-100% - 14px), -50%); }
.cg-tip-title { font-weight: 600; color: var(--c-ink); margin-bottom: 6px; font-size: 14.5px; }
.cg-tip-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 2.5px 0; color: var(--c-ink-2); }
.cg-tip-row span { white-space: nowrap; flex-shrink: 0; }
.cg-tip-row b { white-space: nowrap; text-align: right; }
.cg-tip-row b.cg-tip-long { white-space: normal; }

/* 可折叠区块（保证金阶梯报价） */
.res__fold { margin: 14px 0 6px; border: 1px solid rgba(15, 23, 42, 0.10); border-radius: 12px; background: rgba(15, 23, 42, 0.02); }
.res__fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; user-select: none; }
.res__fold > summary::-webkit-details-marker { display: none; }
.res__fold > summary::before { content: "▸"; color: var(--c-brand-500); font-size: 14px; margin-right: 8px; transition: transform 0.18s; }
.res__fold[open] > summary::before { transform: rotate(90deg); }
.res__fold-title { font-weight: 600; font-size: 15px; color: var(--c-ink); flex: 1; }
.res__fold-hint { font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.res__fold-body { padding: 2px 16px 14px 38px; }


/* ============================================================
   需求评估区视觉聚焦（2026-11-02）：简化 + 入场动画 + 视觉引导
   ============================================================ */
/* Hero 收紧：让需求向导首屏可见 */
.page-hero--compact { padding-top: 40px; padding-bottom: 34px; }
.page-hero--compact .lead { max-width: 620px; }
.demo-banner--slim {
  margin-top: 16px;
  padding: 9px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 640px;
}

/* 向导区头部：一句话指令，弱化装饰 */
.wiz-head { text-align: left; margin-bottom: 18px; }
.wiz-head h2 { margin: 8px 0 6px; }
.wiz-head p { color: var(--c-ink-2); font-size: 14.5px; margin: 0; }

/* “从这里开始”呼吸提示：只在未选择时可见 */
.wiz-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--c-brand-050, #e8f3ee);
  color: var(--c-brand-700, #1f7a5a);
  font-size: 13px;
  font-weight: 600;
  animation: wizStartFloat 2.2s ease-in-out infinite;
}
.wiz-start__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-brand-600, #1f7a5a);
  color: #fff;
  position: relative;
  flex-shrink: 0;
}
.wiz-start__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--c-brand-500, #2c9a72);
  opacity: 0;
  animation: wizStartRing 2.2s ease-out infinite;
}
.wiz-panel.has-pick .wiz-start { display: none; }

@keyframes wizStartFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes wizStartRing {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* 方向/主体卡片：入场依次浮出 + 悬停浮起 + 选中弹跳 */
.wiz-panel .identity-card {
  opacity: 0;
  transform: translateY(14px);
  animation: wizCardIn 0.5s cubic-bezier(0.22, 0.9, 0.3, 1.2) forwards;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.wiz-panel .identity-tabs .identity-card:nth-child(1) { animation-delay: 0.15s; }
.wiz-panel .identity-tabs .identity-card:nth-child(2) { animation-delay: 0.3s; }
.wiz-panel .identity-card:hover { transform: translateY(-3px); }
.wiz-panel .identity-card.is-active {
  opacity: 1;
  animation: wizCardPop 0.32s cubic-bezier(0.22, 0.9, 0.3, 1.3) forwards;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(28, 122, 90, 0.18);
}
@keyframes wizCardIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wizCardPop {
  0% { transform: scale(0.97); }
  60% { transform: scale(1.03); }
  100% { transform: translateY(-2px) scale(1.02); }
}

/* 第二步内容入场：点选方向后滑入 */
.wiz-enter { animation: wizStepIn 0.45s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
@keyframes wizStepIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 步骤条：当前步脉冲高亮，已完成步打勾变色 */
.wiz-steps li span { transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.wiz-steps li.is-current span { animation: wizStepPulse 1.8s ease-in-out infinite; }
@keyframes wizStepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28, 122, 90, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(28, 122, 90, 0); }
}

/* 选中主体后的“开始需求分级”按钮：吸引点击 */
.wiz-actions .btn--primary:not(:disabled) { animation: wizCtaGlow 1.6s ease-in-out infinite; }
@keyframes wizCtaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28, 122, 90, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(28, 122, 90, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wiz-start, .wiz-start__dot::after,
  .wiz-panel .identity-card,
  .wiz-steps li.is-current span,
  .wiz-actions .btn--primary:not(:disabled),
  .wiz-enter { animation: none; }
  .wiz-panel .identity-card { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .page-hero--compact { padding-top: 28px; padding-bottom: 24px; }
  .wiz-head h2 { font-size: 21px; }
}


/* ============================================================
   匹配结果卡片强化（2026-11-02）：精简文字、突出重点
   ============================================================ */
.wiz-match { padding: 26px 28px; }
.wiz-match__title {
  margin: 14px 0 4px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.wiz-match__sub {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-brand-700);
}
.wiz-match__why {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  padding: 11px 14px;
  font-size: 14.5px;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-brand-500);
  border-radius: var(--radius-sm);
}
.wiz-match__why b {
  color: var(--c-brand-700);
  white-space: nowrap;
  flex-shrink: 0;
}
.wiz-match__cross { margin-top: 4px; }
.wiz-match__chips { margin-top: 6px; }

@media (max-width: 720px) {
  .wiz-match { padding: 20px 18px; }
  .wiz-match__title { font-size: 26px; }
  .wiz-match__why { flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
}


/* ============================================================
   灵活增益通 · 收益流程图 + 紧凑参数表（2026-11-02）
   ============================================================ */
.call-flow {
  margin-bottom: 18px;
  padding: 16px 18px 14px;
  background: linear-gradient(150deg, #f2faf6, #fff);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.call-flow__caption {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-brand-700);
  letter-spacing: 0.5px;
}
.call-flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.call-flow__steps li {
  position: relative;
  text-align: center;
  padding: 0 2px;
}
/* 节点间箭头（最后一步除外） */
.call-flow__steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 8px;
  right: -11px;
  color: var(--c-brand-500);
  font-size: 13px;
  font-weight: 700;
}
.call-flow__steps i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
  border-radius: 50%;
  background: var(--c-brand-600, #1f7a5a);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.call-flow__steps li.is-gain i { background: #b8860b; }
.call-flow__steps b {
  display: block;
  font-size: 13px;
  color: var(--c-ink);
  margin-bottom: 2px;
}
.call-flow__steps span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--c-ink-2);
}
.call-flow__risk {
  margin: 12px 0 0;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #8a2f2f;
  background: #fbeaea;
  border-radius: 8px;
  text-align: center;
}

/* 参数表：三策略统一轻量排版（两行一组 / 一行三项） */
#form-steady.form--compact,
#form-ccer.form--compact,
#form-call.form--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  align-items: end;
}
#form-ccer.form--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#form-steady.form--compact .calc__title,
#form-ccer.form--compact .calc__title,
#form-call.form--compact .calc__title {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line, #e8eeeb);
  font-size: 15px;
}
#form-steady.form--compact .field-row,
#form-ccer.form--compact .field-row,
#form-call.form--compact .field-row { display: contents; }
#form-steady.form--compact .field,
#form-ccer.form--compact .field,
#form-call.form--compact .field { margin: 0; }
#form-steady.form--compact label,
#form-ccer.form--compact label,
#form-call.form--compact label {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: 4px;
}
#form-steady.form--compact input,
#form-ccer.form--compact input,
#form-call.form--compact input {
  padding: 6px 10px;
  font-size: 13.5px;
  border-radius: 8px;
}
#form-steady.form--compact .form-note,
#form-ccer.form--compact .form-note,
#form-call.form--compact .form-note { display: none; }
.form-foot,
.call-form__foot {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* 策略面板两大板块：收益（流程+曲线） / 参数（表单+KPI） */
.strat-block {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.strat-block:last-child { margin-bottom: 0; }
.call-kpis {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c-line);
}
.call-kpis:empty {
  display: none;
}
.call-kpis .res__kpis { margin-bottom: 0; }
.call-kpis .res__roi { margin: 12px 0 4px; }

/* 保证金收益率高亮（达到约定目标价时） */
.res__roi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 12px 0 4px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(192, 36, 52, .07), rgba(220, 90, 70, .05));
  border: 1px solid rgba(192, 36, 52, .3);
  border-radius: 12px;
  text-align: center;
}
.res__roi-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-brand-700);
  letter-spacing: .5px;
}
.res__roi strong {
  font-size: 34px;
  line-height: 1.15;
  color: var(--c-brand-600);
}
.res__kpi-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--c-muted);
}

/* 成交触发条件区块（目标价 / 到期日 孰先执行） */
#form-call.form--compact .trigger-box {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 12px 16px 10px;
  background: linear-gradient(135deg, rgba(15, 118, 110, .07), rgba(22, 163, 74, .05));
  border: 1px solid rgba(15, 118, 110, .3);
  border-radius: 10px;
}
#form-call.form--compact .trigger-box__caption {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-brand-700, #0f766e);
  letter-spacing: .5px;
}
#form-call.form--compact .trigger-box__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
#form-call.form--compact .trigger-box__hint {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* 填写指引强化：标签加深、占位符可见、空值高亮 */
#form-steady.form--compact label,
#form-ccer.form--compact label,
#form-call.form--compact label {
  color: var(--c-ink-2, #44504a);
}
#form-steady.form--compact input::placeholder,
#form-ccer.form--compact input::placeholder,
#form-call.form--compact input::placeholder {
  color: #9aa6a1;
  opacity: 1;
}
#form-steady.form--compact .input-unit,
#form-ccer.form--compact .input-unit,
#form-call.form--compact .input-unit {
  color: var(--c-ink-2, #44504a);
  font-weight: 500;
}
#form-steady.form--compact .field.is-todo input,
#form-ccer.form--compact .field.is-todo input,
#form-call.form--compact .field.is-todo input {
  border-color: #d97706;
  background: #fffbeb;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, .12);
}
#form-steady.form--compact .field.is-todo:not(.is-next) label::after,
#form-ccer.form--compact .field.is-todo:not(.is-next) label::after,
#form-call.form--compact .field.is-todo:not(.is-next) label::after {
  content: "待填写";
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border-radius: 999px;
}
/* 当前应填项：跳动箭头指向 */
#form-steady.form--compact .field.is-next label::after,
#form-ccer.form--compact .field.is-next label::after,
#form-call.form--compact .field.is-next label::after {
  content: "\1F449  先填这项";
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--c-brand-600);
  border-radius: 999px;
  animation: fillArrowBounce 1s ease-in-out infinite;
}
@keyframes fillArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
/* 当前应填项整体微光晕，引导聚焦 */
#form-steady.form--compact .field.is-next input,
#form-ccer.form--compact .field.is-next input,
#form-call.form--compact .field.is-next input {
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px rgba(192, 36, 52, .15);
  background: #fff;
}

/* 输入框内联单位与字段提示徽标 */
#form-steady.form--compact .input-wrap,
#form-ccer.form--compact .input-wrap,
#form-call.form--compact .input-wrap {
  position: relative;
}
#form-steady.form--compact .input-wrap input,
#form-ccer.form--compact .input-wrap input,
#form-call.form--compact .input-wrap input {
  width: 100%;
  padding-right: 52px;
}
#form-steady.form--compact .input-unit,
#form-ccer.form--compact .input-unit,
#form-call.form--compact .input-unit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--c-muted);
  pointer-events: none;
}
#form-steady.form--compact .field-tag,
#form-ccer.form--compact .field-tag,
#form-call.form--compact .field-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--c-brand-700, #0f766e);
  background: rgba(15, 118, 110, .1);
  border-radius: 999px;
  vertical-align: 1px;
}
#form-steady.form--compact .field-tag--info,
#form-ccer.form--compact .field-tag--info,
#form-call.form--compact .field-tag--info {
  color: var(--c-muted);
  background: var(--c-surface-2, #f0f3f1);
}

@media (max-width: 480px) {
  .call-flow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .call-flow__steps li:nth-child(2)::after { content: none; }
  #form-steady.form--compact,
  #form-ccer.form--compact,
  #form-call.form--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
}
