/* ======== 表单页样式 ======== */
.htw-jw {
  --htw-ink: #0E1430; --htw-cta: #FF6A00; --htw-accent: #B4490C; --htw-tint: #FFF1E8;
  --htw-border: #DDE1EC; --htw-field: #C5CBDB; --htw-muted: #4A5168; --htw-error: #B42318; --htw-bg: #F6F7FB;
  font-family: inherit; background: var(--htw-bg); padding: 24px 32px; color: var(--htw-ink); box-sizing: border-box;
}
.htw-jw *, .htw-jw *::before, .htw-jw *::after { box-sizing: border-box; }
.htw-jw [hidden] { display: none !important; }
.htw-jw__inner { max-width: 1280px; margin: 0 auto; }
.htw-jw__card { position: relative; margin: 0; background: #fff; border: 1px solid var(--htw-border); border-radius: 16px; box-shadow: 0 6px 20px rgba(14,20,48,.06); }
.htw-jw__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 20px; padding: 18px 60px 18px 24px; }
.htw-jw__intro { flex: 1 1 320px; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 4px; }
.htw-jw__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--htw-accent); text-transform: uppercase; }
.htw-jw__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--htw-accent); box-shadow: 0 0 0 3px rgba(236,105,27,.18); flex: none; }
.htw-jw__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.htw-jw__field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.htw-jw__label { font-size: 13px; font-weight: 600; }
.htw-jw__input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--htw-field); border-radius: 12px; font: inherit; font-size: 16px; color: var(--htw-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.htw-jw__input:focus { outline: none; border-color: #EC691B; box-shadow: 0 0 0 3px rgba(236,105,27,.22); }
.htw-jw__error { margin: 0; font-size: 13px; font-weight: 500; color: var(--htw-error); }
.htw-jw__submit { flex: none; align-self: flex-start; margin-top: 25px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--htw-cta); color: var(--htw-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.htw-jw__submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,106,0,.35); }
.htw-jw__combo { position: relative; }
.htw-jw__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 328px; overflow-y: auto; background: #fff; border: 1px solid var(--htw-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(14,20,48,.16); }
.htw-jw__opt { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.htw-jw__opt:hover, .htw-jw__opt.is-active { background: var(--htw-tint); }
.htw-jw__list-note { padding: 12px 10px; font-size: 13px; color: var(--htw-muted); }

/* ======== 表单页的 Loading 等待动画 ======== */
.htw-jw__status { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 24px; min-height: 114px; overflow: hidden; }
.htw-jw__who { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.htw-jw__who a { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--htw-accent); text-decoration: none; }
.htw-jw__steps { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.htw-jw__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
.htw-jw__step::before { content: ""; position: absolute; top: 10px; left: 22px; right: -12px; height: 2px; background: #DDE1EC; }
.htw-jw__step:last-child::before { display: none; }
.htw-jw__step.is-done::before { background: var(--htw-ink); }
.htw-jw__mark { position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #C5CBDB; background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.htw-jw__mark svg { display: none; }
.htw-jw__step.is-active .htw-jw__mark { border-color: var(--htw-ink); animation: htwJwPulse 1.4s ease-out infinite; }
.htw-jw__step.is-done .htw-jw__mark { border: 0; background: var(--htw-ink); }
.htw-jw__step.is-done .htw-jw__mark svg { display: block; }
.htw-jw__step-title { font-size: 14px; font-weight: 600; }
.htw-jw__step-sub { font-size: 13px; color: var(--htw-muted); }
.htw-jw__aside { flex: none; width: 200px; display: flex; justify-content: flex-end; font-size: 13px; text-align: right; line-height: 1.4; }
.htw-jw__slow { color: var(--htw-accent); font-weight: 600; text-decoration: none; }
@keyframes htwJwPulse { 0% { box-shadow: 0 0 0 0 rgba(236,105,27,.45); } 70% { box-shadow: 0 0 0 10px rgba(236,105,27,0); } 100% { box-shadow: 0 0 0 0 rgba(236,105,27,0); } }

/* ======== 结果页样式 ======== */
.htw-jr {
  --htw-ink: #0E1430; --htw-cta: #FF6A00; --htw-accent: #B4490C; --htw-peach: #FFB27A; --htw-tint: #FFF1E8;
  --htw-hover: #FFF8F3; --htw-border: #DDE1EC; --htw-line: #C5CBDB; --htw-muted: #4A5168; --htw-bg: #F6F7FB;
  font-family: inherit; color: var(--htw-ink); background: var(--htw-bg); -webkit-font-smoothing: antialiased;
}
.htw-jr *, .htw-jr *::before, .htw-jr *::after { box-sizing: border-box; }
.htw-jr [hidden] { display: none !important; }
.htw-jr h1, .htw-jr h2, .htw-jr h3, .htw-jr p, .htw-jr ul, .htw-jr ol { margin: 0; }
.htw-jr ul, .htw-jr ol { list-style: none; padding: 0; }
.htw-jr a { color: var(--htw-accent); text-decoration: none; }
.htw-jr a:hover { color: var(--htw-ink); }
.htw-jr__wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.htw-jr__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--htw-accent); }
.htw-jr__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--htw-cta); color: var(--htw-ink) !important; font-size: 17px; font-weight: 600; white-space: nowrap; transition: transform .15s, filter .15s; }
.htw-jr__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Hero */
.htw-jr__hero { background-color: var(--htw-ink); color: #fff; background-image: linear-gradient(rgba(255,178,122,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,178,122,.06) 1px, transparent 1px); background-size: 48px 48px; }
.htw-jr__hero .htw-jr__wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.htw-jr__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.htw-jr__chips .htw-jr__eyebrow { color: var(--htw-peach); margin-right: 6px; }
.htw-jr__chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,178,122,.4); font-size: 14px; color: #E6EAF5; }
.htw-jr__edit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-size: 14px; font-weight: 600; color: var(--htw-peach) !important; }
.htw-jr__headline { font-size: 56px; line-height: 1.06; font-weight: 600; letter-spacing: -.02em; max-width: 920px; text-wrap: balance; }
.htw-jr__intro { max-width: 760px; font-size: 19px; line-height: 1.6; color: #C9D0E6; margin-top: -12px; }
.htw-jr__reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.htw-jr__reason { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,178,122,.22); display: flex; flex-direction: column; gap: 8px; }
.htw-jr__reason .htw-jr__eyebrow { color: var(--htw-peach); font-size: 13px; font-weight: 500; }
.htw-jr__reason strong { font-size: 18px; font-weight: 600; }
.htw-jr__reason span:last-child { font-size: 15px; line-height: 1.5; color: #C9D0E6; }

/* Body & Rail */
.htw-jr__body { padding-top: 64px; }
.htw-jr__section { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; }
.htw-jr__rail { position: relative; display: flex; justify-content: center; }
.htw-jr__rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 23px; width: 2px; background: var(--htw-line); }
.htw-jr__section:first-child .htw-jr__rail::before { top: 36px; }
.htw-jr__stop { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--htw-ink); background: #fff; }
.htw-jr__content { min-width: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.htw-jr__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.htw-jr__head > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.htw-jr__h2 { font-size: 32px; line-height: 1.15; font-weight: 600; }
.htw-jr__sub { font-size: 16px; color: var(--htw-muted); }

/* Cards */
.htw-jr__card { position: relative; background: #fff; border: 1px solid var(--htw-border); border-radius: 16px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.htw-jr__card:hover { transform: translateY(-4px); border-color: #EC691B; box-shadow: 0 14px 30px rgba(14,20,48,.10); }
.htw-jr__stretch { color: var(--htw-ink) !important; }
.htw-jr__stretch::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

/* 展商 */
.htw-jr__arrows { display: flex; gap: 8px; }
.htw-jr__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--htw-line); background: #fff; color: var(--htw-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.htw-jr__arrow:disabled { opacity: .35; }
.htw-jr__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 16px; margin: -8px -4px 0; }
.htw-jr__track::-webkit-scrollbar { display: none; }
.htw-jr__ex { flex: 0 0 290px; scroll-snap-align: start; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.htw-jr__name h3 { font-size: 18px; font-weight: 600; }
.htw-jr__why { margin-top: auto; padding: 8px 12px; border-radius: 8px; background: var(--htw-tint); display: flex; flex-direction: column; gap: 3px; }
.htw-jr__why b { font-size: 12px; font-weight: 600; color: var(--htw-accent); }
.htw-jr__why span { font-size: 14px; font-weight: 500; line-height: 1.4; }

/* 会议 */
.htw-jr__sessions { background: #fff; border: 1px solid var(--htw-border); border-radius: 16px; overflow: hidden; }
.htw-jr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 22px 24px; border-bottom: 1px solid #E6E9F2; transition: background-color .15s; }
.htw-jr__row:last-child { border-bottom: 0; }
.htw-jr__row:hover { background: var(--htw-hover); }
.htw-jr__when { flex: 0 0 132px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--htw-muted); }
.htw-jr__when strong { font-size: 20px; font-weight: 500; color: var(--htw-ink); }
.htw-jr__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

/* 【新增】会议主题标签样式 */
.htw-jr__stage { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #EEF0F5; font-size: 12px; font-weight: 600; color: #2A3150; display: inline-block; margin-bottom: 4px; margin-right: 4px; }

.htw-jr__title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--htw-ink) !important; }
.htw-jr__reason-line { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--htw-accent); margin-top: 4px; }

/* 嘉宾 */
.htw-jr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.htw-jr__sp { overflow: hidden; display: flex; flex-direction: column; }
.htw-jr__photo { height: 240px; overflow: hidden; background: var(--htw-border); display: flex; align-items: center; justify-content: center; color: #8A91A8; }
.htw-jr__photo img { width: 100%; height: 100%; object-fit: cover; }
.htw-jr__sp-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.htw-jr__sp-body h3 { font-size: 18px; font-weight: 600; }
.htw-jr__sp-role { font-size: 14px; color: var(--htw-muted); }

/* 移动端适配 */
@media (max-width: 767px) {
  .htw-jw__status { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; }
  .htw-jw__steps { grid-template-columns: 1fr; gap: 14px; }
  .htw-jw__step { padding: 2px 0 0 36px; min-height: 22px; }
  .htw-jw__step::before { top: 26px; bottom: -14px; left: 10px; right: auto; width: 2px; height: auto; }
  .htw-jw__aside { width: auto; justify-content: flex-start; text-align: left; }
  .htw-jw__aside .htw-jw__slow { display: none; }

  .htw-jr__wrap { padding-left: 20px; padding-right: 20px; }
  .htw-jr__headline { font-size: 30px; }
  .htw-jr__section { display: block; }
  .htw-jr__rail { display: none; }
  .htw-jr__track { padding: 0 20px 6px; margin: 0; }
  .htw-jr__sessions { margin: 0; }
  .htw-jr__row { flex-direction: column; align-items: stretch; padding: 18px; }
  .htw-jr__when { flex: none; flex-direction: row; align-items: center; font-size: 12px; }
  .htw-jr__when strong { font-size: 12px; }
  .htw-jr__grid { display: flex; overflow-x: auto; padding: 0 20px 6px; }
  .htw-jr__sp { flex: 0 0 220px; }
}
