﻿/* ===== 首页重新设计 - 位置区域 ===== */
.home-page .location-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.home-page .location-field {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-page .location-field span {
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

.home-page .location-field input,
.home-page .location-field select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-page .location-field input:focus,
.home-page .location-field select:focus {
  outline: none;
  border-color: var(--primary, #1a56db);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.home-page .expo-region-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.home-page .expo-region-row legend {
  float: left;
  margin-right: 16px;
  padding: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
}

.home-page .radio-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
}

.home-page .radio-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary, #1a56db);
}

.home-page .location-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  align-self: flex-end;
  padding-bottom: 8px;
}

/* ===== 分类快速筛选 ===== */
.home-page .category-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.home-page .chips-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
}

.home-page .chip {
  padding: 5px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.home-page .chip:hover {
  border-color: var(--primary, #1a56db);
  color: var(--primary, #1a56db);
  background: rgba(26, 86, 219, 0.04);
}

.home-page .chip.selected {
  border-color: var(--primary, #1a56db);
  background: var(--primary, #1a56db);
  color: #fff;
}

/* ===== 操作按钮间距 ===== */
.home-page .search-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ===== How It Works ===== */
.home-page .how-it-works {
  padding: 48px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
}

.home-page .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.home-page .step-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-page .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.home-page .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #1a56db) 0%, #3b82f6 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.home-page .step-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.home-page .step-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* ===== 快速入口卡片 ===== */
.home-page .quick-access {
  padding: 48px 0;
}

.home-page .card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.home-page .quick-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.home-page .quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary, #1a56db), #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.home-page .quick-card:hover {
  border-color: var(--primary, #1a56db);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.12);
  transform: translateY(-2px);
}

.home-page .quick-card:hover::before {
  transform: scaleX(1);
}

.home-page .quick-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px;
}

.home-page .quick-card p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  flex: 1;
}

.home-page .card-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 18px;
  color: var(--primary, #1a56db);
  transition: transform 0.2s;
}

.home-page .quick-card:hover .home-page .card-arrow {
  transform: translateX(4px);
}

/* ===== 介绍网格 ===== */
.home-page .intro-grid-section {
  padding: 48px 0;
  background: #fff;
}

.home-page .intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-page .intro-grid article {
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.home-page .intro-grid article h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary, #1a56db);
  margin: 0 0 10px;
}

.home-page .intro-grid article p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ===== 响应式适配 ===== */
@media (max-width: 1024px) {
  .home-page .steps-grid,
  .home-page .card-grid,
  .home-page .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-page .location-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .location-divider {
    display: none;
  }

  .home-page .steps-grid,
  .home-page .card-grid,
  .home-page .intro-grid {
    grid-template-columns: 1fr;
  }

  .home-page .step-card {
    display: flex;
    flex-direction: row;
    gap: 16px;
    text-align: left;
  }

  .home-page .step-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .home-page .quick-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .home-page .card-arrow {
    margin-top: 0;
  }
}

/* ===== 首页实时资源 ===== */
.home-page .home-live-expos { padding-top: 8px; }
.home-page .home-expo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.home-page .home-expo-card { display: grid; min-height: 172px; gap: 9px; padding: 14px; border: 1px solid #dce9e6; border-radius: 7px; background: #fff; color: #173a38; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.home-page .home-expo-card:hover { border-color: #72bdb1; box-shadow: 0 10px 22px rgba(0, 90, 84, .1); transform: translateY(-2px); }
.home-page .home-expo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-page .home-logo { display: grid; width: 40px; height: 40px; place-items: center; overflow: hidden; border: 1px solid #e0ece9; border-radius: 6px; background: #f7fbfa; color: #08766c; font-size: 15px; font-weight: 800; flex: 0 0 auto; }
.home-page .home-logo img { width: 100%; height: 100%; object-fit: contain; }
.home-page .home-logo-fallback { background: #e5f4f0; }
.home-page .home-expo-state { padding: 4px 7px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.home-page .home-expo-state.live { background: #d9f5e8; color: #167448; }
.home-page .home-expo-state.upcoming { background: #e5f2fb; color: #176289; }
.home-page .home-expo-card strong { min-height: 38px; overflow: hidden; color: #183b39; font-size: 14px; line-height: 1.4; }
.home-page .home-expo-card time, .home-page .home-expo-meta { overflow: hidden; color: #6a807d; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.home-page .home-discovery-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding-top: 12px; padding-bottom: 18px; }
.home-page .home-resource-panel { min-width: 0; padding: 20px; border: 1px solid #dce9e6; border-radius: 8px; background: #fff; }
.home-page .section-head.compact { align-items: start; margin-bottom: 14px; }
.home-page .section-head.compact .eyebrow { margin-bottom: 4px; font-size: 11px; }
.home-page .section-head.compact h2 { margin: 0; font-size: 20px; }
.home-page .section-head.compact > a { color: #08766c; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-page .home-company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.home-page .home-company-item { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf3f1; color: #173a38; text-decoration: none; }
.home-page .home-company-item:nth-last-child(-n + 2) { border-bottom: 0; }
.home-page .home-company-item > span:last-child { display: grid; min-width: 0; gap: 3px; }
.home-page .home-company-item strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.home-page .home-company-item small { overflow: hidden; color: #738987; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-page .home-industry-list { display: grid; }
.home-page .home-industry-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 53px; padding: 7px 0; border-bottom: 1px solid #edf3f1; color: #173a38; text-decoration: none; }
.home-page .home-industry-item:last-child { border-bottom: 0; }
.home-page .home-industry-item > img, .home-page .home-industry-icon { width: 42px; height: 42px; border-radius: 5px; object-fit: cover; }
.home-page .home-industry-icon { display: grid; place-items: center; background: #e7f4f1; color: #08766c; font-size: 13px; font-weight: 800; }
.home-page .home-industry-item > span:last-child { display: grid; min-width: 0; grid-template-columns: 1fr auto; gap: 3px 8px; align-items: center; }
.home-page .home-industry-item em { color: #08766c; font-size: 11px; font-style: normal; }
.home-page .home-industry-item strong { overflow: hidden; grid-column: 1 / -1; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.home-page .home-industry-item small { justify-self: end; color: #839491; font-size: 11px; }
.home-page .home-feed-empty { padding: 20px 0; color: #748987; font-size: 13px; }
.home-page .latest-demands-section { padding-top: 16px; }
.home-page #home-ai-results:empty { display: none; }

@media (max-width: 1100px) {
  .home-page .home-expo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-page .home-discovery-grid { grid-template-columns: 1fr; }
  .home-page .home-company-list { grid-template-columns: 1fr; }
  .home-page .home-company-item:nth-last-child(-n + 2) { border-bottom: 1px solid #edf3f1; }
  .home-page .home-company-item:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .home-page .home-expo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .home-resource-panel { padding: 16px; }
}

/* ===== 首页 Banner 内嵌匹配与平台数据 ===== */
.home-page .home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  min-height: 470px;
  padding-top: 54px;
  padding-bottom: 44px;
}

.home-page .home-hero .hero-copy {
  max-width: 760px;
}

.home-page .home-hero h1 {
  max-width: 700px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.24;
}

.home-page .hero-match-console {
  width: min(100%, 940px);
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(5, 41, 39, .46);
  box-shadow: 0 18px 40px rgba(0, 26, 24, .22);
  backdrop-filter: blur(13px);
}

.home-page .hero-mode-switch {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

.home-page .hero-mode-control {
  display: flex;
  min-height: 38px;
  border: 1px solid rgba(225, 255, 250, .25);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.home-page .hero-mode-control.active {
  border-color: rgba(92, 225, 205, .82);
  background: rgba(4, 105, 95, .56);
}

.home-page .hero-mode-option {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 11px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
}

.home-page .hero-mode-option strong { font-size: 14px; }
.home-page .hero-mode-option span { color: rgba(224, 255, 249, .62); font-size: 11px; }
.home-page .hero-mode-control.active .hero-mode-option { color: #fff; }

.home-page .hero-mode-detail {
  display: none;
  align-items: center;
  margin: 0;
  padding: 5px 9px;
  border: 0;
  border-left: 1px solid rgba(225, 255, 250, .2);
  color: rgba(234, 255, 251, .8);
  font-size: 12px;
}

.home-page .hero-mode-control.active .hero-mode-detail { display: flex; }
.home-page .hero-city-field { gap: 7px; }
.home-page .hero-city-field input {
  width: 100px;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}
.home-page .hero-city-field input::placeholder { color: rgba(234, 255, 251, .64); }
.home-page .hero-region-field { gap: 9px; }
.home-page .hero-region-field legend { display: none; }
.home-page .hero-region-field label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; color: #fff; }
.home-page .hero-region-field input { margin: 0; accent-color: #4ee0ca; }

.home-page .hero-query-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-page .hero-query-label { flex: 1; min-width: 0; }
.home-page .hero-query-label textarea {
  display: block;
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 6px;
  outline: 0;
  resize: none;
  background: rgba(255, 255, 255, .96);
  color: #183a37;
  font: inherit;
  line-height: 20px;
}
.home-page .hero-query-label textarea:focus { border-color: #55d7c2; box-shadow: 0 0 0 3px rgba(91, 226, 205, .18); }
.home-page .hero-match-submit { min-width: 106px; min-height: 46px; background: #f4fbf8; color: #006d63; }
.home-page .hero-match-submit:hover { background: #d8f5ec; }
.home-page .hero-clear-button { padding: 8px 4px; border: 0; background: transparent; color: rgba(237, 255, 251, .74); font-size: 12px; cursor: pointer; }
.home-page .hero-clear-button:hover { color: #fff; }
.home-page .hero-match-helper {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  margin: 0;
  padding: 2px 6px;
  border: 0;
  background: transparent;
  color: rgba(232, 255, 250, .78);
  font-size: 12px;
  cursor: pointer;
}
.home-page .hero-match-helper:hover { color: #fff; }
.home-page .hero-match-helper:focus-visible { outline: 2px solid #7ee7d8; outline-offset: 3px; }
.home-page .hero-ai-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(213, 245, 240, .7);
  box-shadow: 0 0 0 4px rgba(213, 245, 240, .1);
}
.home-page .hero-ai-status[data-state="running"] .hero-ai-status-dot {
  background: #78ffe8;
  box-shadow: 0 0 0 4px rgba(120, 255, 232, .14), 0 0 12px rgba(120, 255, 232, .9);
  animation: homeAiStatusPulse .8s ease-in-out infinite alternate;
}
.home-page .hero-ai-status[data-state="complete"] .hero-ai-status-dot { background: #79f2b2; }
.home-page .hero-ai-status[data-state="error"] .hero-ai-status-dot { background: #ff9d9d; }

@keyframes homeAiStatusPulse {
  from { transform: scale(.82); opacity: .72; }
  to { transform: scale(1.12); opacity: 1; }
}

.home-page .home-data-strip {
  width: 100%;
  border-bottom: 1px solid #e3eeeb;
  background: #fff;
}
.home-page .home-data-strip-inner {
  width: min(100% - 48px, var(--page-frame-width));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}
.home-page .home-data-item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 14px 20px;
  border-right: 1px solid #e7efed;
}
.home-page .home-data-item:last-child { border-right: 0; }
.home-page .home-data-item strong { color: #006d63; font-size: 22px; line-height: 1; letter-spacing: 0; }
.home-page .home-data-item span { color: #66807c; font-size: 13px; }
.home-page .latest-demands-priority { padding-top: 30px; }

.home-page .hero-results {
  width: min(100%, var(--page-frame-width));
  min-height: 0;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .hero-results .result-card { color: #173a38; }
.home-page .hero-results .result-title h3 { color: #173a38; }
.home-page .supplier-result-card { align-content: start; }
.home-page .supplier-result-identity {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
}
.home-page .supplier-result-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 5px;
}
.home-page .supplier-result-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #173a38;
  font-size: 15px;
  line-height: 1.4;
  text-overflow: ellipsis;
}
.home-page .supplier-result-logo {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dceae7;
  border-radius: 6px;
  background: #eff8f5;
  color: #08766c;
  font-size: 17px;
  font-weight: 800;
}
.home-page .supplier-result-logo img { width: 100%; height: 100%; object-fit: contain; }
.home-page .supplier-match-score {
  justify-self: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0b665e;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}
body.public-reference-page.home-page .home-match-grid .supplier-result-card .supplier-match-score {
  background: transparent;
  color: #0b665e;
  font-size: 12px;
  font-weight: 400;
}
.home-page .supplier-result-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.home-page .supplier-result-actions .btn,
.home-page .supplier-result-actions .result-reason-button {
  width: auto;
  min-width: 0;
  min-height: 28px;
  margin: 0;
  padding: 4px 5px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
.home-page .supplier-result-actions .favorite-btn { grid-column: auto; }
.home-page .supplier-result-actions .btn.primary { color: #fff; }
body.public-reference-page.home-page .home-match-grid .supplier-result-actions .favorite-btn { grid-column: auto; }
.home-page .home-result-hidden { display: none; }
.home-page .home-results-more {
  position: relative;
  display: block;
  margin: 18px auto 0;
  padding: 5px 18px;
  border: 0;
  background: linear-gradient(105deg, rgba(210, 242, 237, .55) 20%, #fff 43%, #75ead8 50%, #fff 57%, rgba(210, 242, 237, .55) 80%);
  background-size: 240% 100%;
  color: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  background-clip: text;
  -webkit-background-clip: text;
  animation: homeResultsShine 1.8s linear infinite;
}
.home-page .home-results-more:hover { filter: drop-shadow(0 0 7px rgba(117, 234, 216, .72)); }
.home-page .home-results-more:focus-visible { outline: 2px solid #8ce8da; outline-offset: 3px; }
@keyframes homeResultsShine {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-ai-status[data-state="running"] .hero-ai-status-dot { animation: none; }
  .home-page .home-results-more { animation: none; color: #d9fff8; }
}

.home-ai-analysis-dialog { width: min(680px, calc(100% - 36px)); }
.home-ai-analysis-detail { display: grid; gap: 16px; max-height: min(68vh, 680px); padding-top: 18px; overflow-y: auto; }
.home-ai-detail-summary { margin: 0; padding: 12px 14px; border: 1px solid #cbe7e2; border-radius: 6px; background: #eff9f7; color: #126d65; font-size: 13px; line-height: 1.65; }
.home-ai-detail-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home-ai-detail-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 42px; padding: 7px 10px; border-bottom: 1px solid #e5efed; color: #6b7f7c; }
.home-ai-detail-steps li > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #edf4f3; color: #66817d; font-size: 11px; }
.home-ai-detail-steps li.done { color: #194b47; }
.home-ai-detail-steps li.done > span { background: #d9f5ee; color: #08766c; }
.home-ai-detail-steps li.active > span { background: #08766c; color: #fff; box-shadow: 0 0 0 4px rgba(8, 118, 108, .1); }
.home-ai-detail-steps li.error > span { background: #ffe3e3; color: #a62929; }
.home-ai-detail-steps strong { font-size: 13px; font-weight: 700; }
.home-ai-detail-fields { display: grid; gap: 0; margin: 0; border: 1px solid #e0ece9; border-radius: 6px; overflow: hidden; }
.home-ai-detail-fields > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); border-bottom: 1px solid #e8f0ee; }
.home-ai-detail-fields > div:last-child { border-bottom: 0; }
.home-ai-detail-fields dt,
.home-ai-detail-fields dd { margin: 0; padding: 10px 12px; font-size: 12px; line-height: 1.7; }
.home-ai-detail-fields dt { background: #f4f8f7; color: #54706c; font-weight: 700; }
.home-ai-detail-fields dd { color: #263f3c; overflow-wrap: anywhere; }
.home-ai-detail-error { margin: 0; padding: 11px 13px; border-radius: 6px; background: #fff0f0; color: #9c2525; font-size: 13px; }

@media (max-width: 720px) {
  .home-page .home-hero { min-height: auto; padding-top: 42px; }
  .home-page .hero-mode-switch { display: grid; grid-template-columns: 1fr; }
  .home-page .hero-mode-control { width: 100%; }
  .home-page .hero-query-row { flex-wrap: wrap; }
  .home-page .hero-query-label { flex-basis: calc(100% - 114px); }
  .home-page .home-data-strip-inner { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .home-data-item:nth-child(2) { border-right: 0; }
  .home-page .home-data-item:nth-child(-n + 2) { border-bottom: 1px solid #e7efed; }
}

@media (max-width: 480px) {
  .home-page .hero-mode-option span { display: none; }
  .home-page .hero-city-field input { width: 84px; }
  .home-page .hero-query-label { flex-basis: calc(100% - 105px); }
  .home-page .hero-match-submit { min-width: 97px; }
  .home-page .home-data-item { gap: 5px; padding: 12px 8px; }
  .home-page .home-data-item strong { font-size: 19px; }
  .home-page .home-data-item span { font-size: 12px; }
}

