/**
 * HormLab Portal · 报告查询页样式
 */

/* 页头 */
.page-hero-h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; line-height: 1.25; margin: 18px 0 16px; letter-spacing: -1px; color: #fff; }
.page-hero-lead { color: var(--text-white-soft); font-size: 17px; margin: 0 auto; }
.page-hero-h1 .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 卡片 */
.rp-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 30px; margin-bottom: 22px;
  transition: box-shadow .25s ease;
}
.rp-card:hover { box-shadow: var(--shadow-md); }
.rp-card-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.rp-icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: rgba(212,162,78,.1); border: 1px solid rgba(212,162,78,.25);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.rp-title { font-size: 19px; font-weight: 700; }
.rp-sub { font-size: 13.5px; color: var(--text-mid); margin-top: 4px; }

/* 链接输入 */
.rp-input-row { display: flex; gap: 12px; }
.rp-input-row input {
  flex: 1; padding: 14px 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--border-light); font-size: 14px;
  color: var(--text-dark); outline: none; transition: border-color .2s ease;
  font-family: var(--font-en);
}
.rp-input-row input:focus { border-color: var(--gold); }
.rp-input-row .btn { white-space: nowrap; padding: 14px 26px; }
.rp-hint { font-size: 12.5px; color: var(--text-light); margin-top: 12px; }
.rp-hint code {
  background: var(--bg-light); padding: 2px 8px; border-radius: var(--r-xs);
  font-size: 12px; color: var(--text-mid);
}
.rp-error {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.3);
  color: var(--danger); font-size: 13.5px;
}

/* 扫码区 */
.rp-qr-row { display: flex; gap: 28px; align-items: center; }
.rp-qr-img {
  width: 180px; height: 180px; border-radius: var(--r-md);
  border: 1px solid var(--border-light); flex-shrink: 0;
}
.rp-qr-steps { display: flex; flex-direction: column; gap: 12px; }
.rp-step { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-mid); }
.rp-step-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* 页内 FAQ */
.rp-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .2s ease;
}
.faq-item:hover { border-color: rgba(212,162,78,.4); }
.faq-item summary {
  padding: 16px 20px; font-size: 15px; font-weight: 600; cursor: pointer;
  list-style: none; position: relative; padding-right: 44px; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 300; color: var(--gold); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--text-mid); line-height: 1.75; margin: 0; }

.rp-back { text-align: center; margin-top: 30px; }

/* 响应式 */
@media (max-width: 640px) {
  .rp-input-row { flex-direction: column; }
  .rp-qr-row { flex-direction: column; text-align: center; }
  .rp-step { justify-content: flex-start; text-align: left; }
}
