/* ============================================================
   LAVMAY · shared.css — 跨页面复用的表单原子 + FAQ
   这些类在 journey / product / club 三页都会用到，
   放在共享文件里，避免某页忘记引入而「样式静默不生效」。
   ============================================================ */

/* ---------- 表单字段 ---------- */
.fld { display: block; margin-bottom: 14px; }
.fld-l {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--lm-muted);
  margin-bottom: 6px;
}
.fld-l em { font-style: normal; color: var(--lm-muted-2); font-weight: 400; }

.fld input[type="text"],
.fld input[type="email"],
.fld input[type="password"],
.fld input[type="number"],
.fld input[type="date"],
.fld select,
.fld textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: var(--r-xs);
  border: 1.4px solid var(--lm-line);
  background: var(--lm-white);
  font-size: 14.5px;
  color: var(--lm-ink);
  transition: border-color .2s, box-shadow .2s;
  min-height: 46px;
}
.fld textarea { resize: vertical; line-height: 1.6; min-height: 60px; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none;
  border-color: var(--lm-teal);
  box-shadow: 0 0 0 3px rgba(46, 156, 144, .16);
}
.fld input::placeholder, .fld textarea::placeholder { color: #7e8f88; }
.fld--full { grid-column: 1 / -1; }
.fld--inline { display: flex; align-items: center; gap: 8px; margin: 0; }
.fld--inline .fld-l { margin: 0; white-space: nowrap; }
.fld--inline select { width: auto; min-height: 38px; padding: 6px 10px; font-size: 13px; }

/* ---------- 表单内提示 ---------- */
.auth-msg {
  font-size: 12px;
  line-height: 1.6;
  min-height: 1.2em;
  margin: 4px 0 12px;
  color: var(--lm-muted);
}
.auth-msg.is-err { color: #a8321a; font-weight: 600; }
.auth-msg.is-ok { color: var(--lm-teal); font-weight: 600; }

/* ---------- FAQ 折叠 ---------- */
.faq-list { border-top: 1.5px solid var(--lm-line); }
.faq { border-bottom: 1.5px solid var(--lm-line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '＋';
  font-size: 17px;
  font-weight: 400;
  color: var(--lm-teal);
  flex: none;
}
.faq[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--lm-teal); }
.faq-body { padding: 0 2px 20px; }
.faq-body p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--lm-muted);
  margin-bottom: 10px;
}
.faq-body p:last-child { margin-bottom: 0; }
.faq-body b { color: var(--lm-ink); font-weight: 700; }
.faq-body i { font-style: italic; }
