/* 身心匹配三页：困扰选择 / 自评 / 结果 */

.bm-flow {
  max-width: var(--nu-max);
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(max(8px, env(safe-area-inset-top, 0px)) + 56px) 16px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.bm-flow__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bm-flow__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--nu-muted);
  line-height: 1.45;
}

.bm-scenario {
  display: none !important;
}

.bm-concern-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bm-concern-btn {
  appearance: none;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bm-concern-btn:hover,
.bm-concern-btn:focus-visible {
  background: rgba(0, 173, 143, 0.12);
  border-color: rgba(0, 200, 175, 0.35);
  outline: none;
}

.bm-progress {
  font-size: 13px;
  color: rgba(200, 255, 235, 0.75);
  margin-bottom: 10px;
}

.bm-question {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
}

.bm-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

/* 自评页：选项下方的「上一题」 */
.bm-quiz-nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.bm-quiz-nav__btn {
  flex: 0 0 auto;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}

.bm-quiz-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.bm-opt {
  appearance: none;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bm-opt:hover,
.bm-opt:focus-visible {
  background: rgba(0, 173, 143, 0.15);
  outline: none;
}

.bm-result-tier {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 0.5px solid rgba(0, 200, 175, 0.35);
  background: rgba(0, 173, 143, 0.12);
  color: rgba(200, 255, 235, 0.95);
  margin-bottom: 12px;
}

.bm-result-body {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
}

.bm-result-support {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.bm-practice-line {
  font-size: 14px;
  color: var(--nu-muted);
  margin: 0 0 8px;
}

.bm-practice-line strong {
  color: rgba(220, 255, 240, 0.95);
  font-weight: 700;
}

.bm-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.bm-btn-alt {
  appearance: none;
  border: none;
  background: none;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(180, 240, 220, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
  align-self: center;
  text-align: center;
}

.bm-btn-alt:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: none;
}

/* 「换一个练习」下方的说明与按钮对齐居中 */
#bm-alt-note {
  text-align: center;
}

.bm-disclaimer {
  margin-top: 20px;
  font-size: 9px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
}

.bm-scenario {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.bm-scenario button {
  appearance: none;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
}

.bm-scenario button.is-active {
  border-color: rgba(0, 200, 175, 0.45);
  background: rgba(0, 173, 143, 0.15);
}

.bm-weekly-banner {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}
