/* ===== 房屋评估 H5（极简标题栏 + 紫色 Banner + 固定顺序表单） ===== */
:root {
  --primary: #0BA5E9;
  --primary-light: #E0F4FE;
  --purple: #7C3AED;
  --purple-2: #8B5CF6;
  --accent: #FF6B35;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --text-1: #111827;
  --text-2: #6B7280;
  --text-3: #9CA3AF;
  --border: #EDEFF3;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

html, body { margin: 0; padding: 0; }
.ev-body {
  background: var(--bg);
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: calc(30px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

/* ===== 极简标题栏（左返回 / 居中标题 / 右三点菜单） ===== */
.ev-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 6px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}
.ev-header__back {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 22px;
  color: var(--text-1);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-header__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}
/* 右侧占位（保持标题居中，不放置任何自定义菜单按钮） */
.ev-header__spacer {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ===== 紫色 Banner 卡片 ===== */
.ev-hero {
  margin: 10px;
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 60%, #A78BFA 100%);
  border-radius: var(--radius-lg);
  padding: 26px 16px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.ev-hero::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.ev-hero::before {
  content: '';
  position: absolute;
  left: -20px;
  bottom: -40px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.ev-hero__brand {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.75;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.ev-hero__title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}
.ev-hero__sub {
  font-size: 12px;
  opacity: 0.85;
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ===== 表单卡片（白色圆角大卡片，行间浅灰分割线） ===== */
.ev-card {
  margin: 0 10px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.04);
  padding: 4px 14px 18px;
  box-sizing: border-box;
}

.ev-field {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
  box-sizing: border-box;
}
.ev-field:last-of-type {
  border-bottom: none;
}
.ev-field--col {
  display: block;
  padding: 10px 0;
}
.ev-field--col .ev-field__control {
  width: 100%;
}

.ev-field__label {
  width: 92px;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--text-1);
  font-weight: 500;
}
.ev-field__control {
  flex: 1;
  min-width: 0;
}

.ev-required {
  color: #ff4d4f;
  margin-left: 3px;
  font-style: normal;
}

.ev-input,
.ev-select {
  width: 100%;
  font-size: 14px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-1);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  padding: 4px 0;
  font-family: inherit;
  height: 34px;
}
.ev-select { cursor: pointer; }
.ev-input::placeholder { color: var(--text-3); }
.ev-select::-ms-expand { display: none; }
.ev-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 14px;
}
.ev-field--col .ev-input {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: #fff;
  height: auto;
}

/* ===== 楼层辅助组件（滑选/快捷/上地下，按物业类型切换） ===== */
.ev-floor-slider {
  margin-bottom: 10px;
}
.ev-floor-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ev-floor-slider__label {
  font-size: 13px;
  color: var(--text-2);
}
.ev-floor-slider__val {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
}
.ev-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--purple) 0%, var(--purple) var(--range-pct, 50%), var(--border) var(--range-pct, 50%), var(--border) 100%);
  outline: none;
  margin: 0;
}
.ev-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.ev-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple);
  cursor: pointer;
}
.ev-floor-slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-3);
}
.ev-floor-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ev-floor-quick .ev-chip {
  padding: 8px 16px;
  font-size: 13px;
}
.ev-floor-villa {
  margin-bottom: 10px;
}
.ev-floor-villa__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ev-floor-villa__label {
  font-size: 13px;
  color: var(--text-2);
}
.ev-floor-villa__num {
  width: 72px !important;
  text-align: center;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  padding: 8px 4px !important;
  height: auto !important;
}
.ev-floor-villa__hint {
  font-size: 12px;
  color: var(--text-3);
}
.ev-floor-tip {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.5;
}

/* ===== 小区联想下拉 ===== */
.ev-suggest {
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.ev-suggest__item {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ev-suggest__item:last-child { border-bottom: none; }
.ev-suggest__item:active { background: var(--bg); }
.ev-suggest__item--matched { color: var(--purple); font-weight: 600; }
.ev-suggest__meta {
  font-size: 11px;
  color: var(--text-3);
  flex-shrink: 0;
  margin-left: 10px;
}
.ev-suggest__empty {
  padding: 14px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

/* ===== 浅灰楼盘档案（仅展示，不修改表单） ===== */
.ev-profile {
  margin-top: 10px;
  background: #F5F5F7;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid #EEEEF0;
}
.ev-profile__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 8px;
}
.ev-profile__grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
}
.ev-profile__item {
  width: 50%;
  font-size: 12px;
  color: var(--text-2);
  box-sizing: border-box;
  display: flex;
  align-items: baseline;
}
.ev-profile__item--full { width: 100%; }
.ev-profile__key {
  color: var(--text-3);
  margin-right: 6px;
  flex-shrink: 0;
}
.ev-profile__val {
  color: var(--text-1);
  font-weight: 500;
  word-break: break-all;
}

/* ===== 别墅信息展示 ===== */
.ev-villa-info {
  font-size: 14px;
  color: var(--purple);
  font-weight: 600;
  text-align: right;
}
.ev-villa-info--empty {
  color: var(--text-3);
  font-weight: 400;
}

/* ===== 提交按钮 ===== */
.ev-submit {
  margin-top: 22px;
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0BA5E9 0%, #38BDF8 100%);
  box-shadow: 0 6px 14px rgba(11, 165, 233, 0.3);
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
  display: block;
}
.ev-submit:active { opacity: 0.85; }
.ev-submit:disabled {
  background: #E5E7EB;
  color: #9CA3AF;
  box-shadow: none;
  cursor: not-allowed;
}

.ev-tip {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  margin: 12px 0 0;
}

/* ===== 别墅二级弹窗 ===== */
.ev-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 41, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
}
.ev-modal {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 20px 18px calc(24px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  animation: ev-modal-up 0.25s ease;
}
@keyframes ev-modal-up {
  from { transform: translateY(40px); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}
.ev-modal__title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 18px;
}
.ev-modal__group {
  margin-bottom: 18px;
}
.ev-modal__label {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.ev-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ev-modal__hint {
  font-size: 12px;
  color: var(--text-3);
  margin: -6px 0 14px;
  line-height: 1.5;
}
.ev-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  color: var(--text-1);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.ev-chip--active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  font-weight: 600;
}
.ev-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.ev-modal__btn {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.ev-modal__btn--ghost {
  background: var(--bg);
  color: var(--text-2);
}
.ev-modal__btn--primary {
  background: linear-gradient(135deg, #0BA5E9, #38BDF8);
  color: #fff;
}

/* ===== AI 评估 loading 覆盖 ===== */
.ev-loading {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 41, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  color: #fff;
}
.ev-loading__icon {
  font-size: 40px;
  margin-bottom: 14px;
  animation: ev-spin 2s linear infinite;
}
@keyframes ev-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.ev-loading__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.ev-loading__step {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 16px;
}
.ev-loading__bar {
  width: 240px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.ev-loading__bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #8B5CF6, #00C985);
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
  width: 0;
}
.ev-loading__pct {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 1px;
}

/* ===== 来源徽章 ===== */
.ev-source-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  background: linear-gradient(135deg, #FFF7ED, #F0F9FF);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.18);
}
.ev-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-1);
}
.ev-source-chip--purple { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }
.ev-source-chip--blue { background: rgba(11, 165, 233, 0.12); color: var(--primary); }
.ev-source-chip--orange { background: rgba(255, 107, 53, 0.12); color: #FF6B35; }
.ev-source-chip--green { background: rgba(16, 185, 129, 0.12); color: #059669; }
.ev-source-chip--amber { background: rgba(245, 185, 66, 0.12); color: #B7791F; }

/* ===== 结果 ===== */
.ev-result {
  margin: 12px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ev-result:not([style*="display: none"]) + .ev-card { display: none; }

/* 价格卡 */
.ev-price {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(160deg, #F5F3FF 0%, #EDE9FE 100%);
  border-radius: var(--radius-md);
}
.ev-price__label {
  font-size: 12px;
  color: var(--text-2);
}
.ev-price__num {
  font-size: 36px;
  font-weight: 800;
  color: #7C3AED;
  margin: 8px 0;
  line-height: 1;
}
.ev-price__num small {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
}
.ev-price__sub {
  font-size: 13px;
  color: var(--text-1);
}
.ev-price__range {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  color: #7C3AED;
  background: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.ev-price__marketsrc {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: #0B5CAD;
  background: rgba(11, 165, 233, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  text-align: left;
}
.ev-price__srccalls {
  color: #6B8BB0;
}
.ev-price__source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  justify-content: center;
}
.ev-price__source-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: var(--text-1);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 999px;
}
.ev-price__source-chip--blue {
  background: rgba(11, 165, 233, 0.1);
  color: var(--primary);
}
.ev-price__source-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 3px rgba(16, 185, 129, 0.6);
  display: inline-block;
  margin-right: 4px;
}

/* 通用块 */
.ev-block {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.04);
  box-sizing: border-box;
}
.ev-block__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ev-block__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
}
.ev-block__text--small {
  font-size: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px;
  white-space: pre-wrap;
}

/* 数据精度 / 兜底提示 */
.ev-block--warn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.ev-block--precision {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.ev-warn-text {
  font-size: 12px;
  color: #B45309;
}
.ev-block--precision .ev-warn-text {
  color: #047857;
}

/* 周边参考 */
.ev-benchmark {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin: 2px 0 10px;
  background: var(--primary-light);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.ev-ref-list {
  margin-top: 8px;
}
.ev-ref {
  display: flex;
  padding: 4px 0;
  align-items: flex-start;
  min-width: 0;
}
.ev-ref__dot {
  color: var(--primary);
  margin-right: 7px;
  font-size: 13px;
  line-height: 1.8;
  flex-shrink: 0;
}
.ev-ref__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  flex: 1;
  min-width: 0;
  display: block;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* 评估依据 */
.ev-reason {
  display: flex;
  padding: 3px 0;
  align-items: flex-start;
  min-width: 0;
}
.ev-reason__dot {
  color: #8B5CF6;
  font-size: 13px;
  margin-right: 7px;
  line-height: 1.6;
  flex-shrink: 0;
}
.ev-reason__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  min-width: 0;
  display: block;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* 30 天走势图 */
.ev-trend-subtitle {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
}
.ev-live-tag {
  font-size: 10px;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}
.ev-trend-chart {
  margin-top: 6px;
}
.ev-trend-chart__inner {
  display: flex;
  align-items: flex-end;
  height: 120px;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.ev-trend-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.ev-trend-bar {
  width: 100%;
  border-radius: 2px 2px 1px 1px;
  transition: height 0.3s;
}
.ev-trend-bar--up {
  background: linear-gradient(180deg, #EF4444, #DC2626);
  opacity: 0.75;
}
.ev-trend-bar--down {
  background: linear-gradient(180deg, #10B981, #059669);
  opacity: 0.75;
}
.ev-trend-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 9px;
  color: var(--text-3);
}
.ev-trend-stats {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
}
.ev-trend-stat {
  flex: 1;
  text-align: center;
}
.ev-trend-stat-num {
  font-size: 13px;
  font-weight: 700;
  margin-top: 3px;
  display: block;
}
.ev-trend-stat-num--up { color: #DC2626; }
.ev-trend-stat-num--down { color: #059669; }

/* 全年折线图 */
.ev-line {
  margin-top: 6px;
  padding: 4px 0;
}
.ev-line__inner {
  width: 100%;
}
.ev-line__svg {
  width: 100%;
  height: 140px;
  display: block;
}
.ev-line__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
}
.ev-line__axis-tick {
  flex: 1;
  text-align: center;
}
.ev-line__axis-label {
  font-size: 10px;
  color: var(--text-3);
}

/* 图例 */
.ev-trend-legend {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: var(--text-3);
}
.ev-trend-legend__item {
  display: flex;
  align-items: center;
  gap: 3px;
}
.ev-trend-legend__dot {
  width: 8px;
  height: 2px;
  border-radius: 1px;
}
.ev-trend-legend__dot--solid { background: #0BA5E9; }
.ev-trend-legend__dot--dash {
  background: linear-gradient(90deg, #F59E0B 50%, transparent 50%);
  background-size: 4px 100%;
}

/* 数据来源 */
/* 业主建议（挂牌策略） */
.ev-advice { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ev-advice__main { background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%); border: 1px solid #e4dcff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ev-advice__num { font-size: 28px; font-weight: 800; color: #6d28d9; line-height: 1.2; }
.ev-advice__num small { font-size: 12px; font-weight: 600; color: #8b5cf6; margin-left: 2px; }
.ev-advice__main-label { font-size: 13px; font-weight: 600; color: #4c1d95; }
.ev-advice__main-note { font-size: 11px; color: #7c6ba8; }
.ev-advice__split { display: flex; gap: 8px; }
.ev-advice__item { flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.ev-advice__item-tag { font-size: 12px; font-weight: 600; color: var(--text-2); }
.ev-advice__item-num { font-size: 20px; font-weight: 700; color: #2563eb; line-height: 1.3; }
.ev-advice__item-num small { font-size: 11px; font-weight: 600; color: var(--text-3); margin-left: 1px; }
.ev-advice__item-note { font-size: 10px; color: var(--text-3); }
.ev-advice__ai { font-size: 12px; color: var(--text-2); line-height: 1.6; background: #f6f8fc; border-left: 3px solid #2563eb; border-radius: 6px; padding: 8px 10px; }

.ev-source {
  margin-top: -4px;
  text-align: center;
  font-size: 10px;
  padding: 0 12px;
  color: var(--text-3);
}

/* 结果底部操作 */
.ev-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.ev-action {
  flex: 1;
}
.ev-btn {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.ev-btn:active { opacity: 0.85; }
.ev-btn--ghost {
  background: var(--primary-light);
  color: var(--primary);
}
.ev-btn--plain {
  background: #fff;
  color: var(--text-1);
  border: 1px solid var(--border);
}

/* 一键发布二手房 */
.ev-publish-btn {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0BA5E9, #6366F1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
.ev-publish-btn__main {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.ev-publish-btn__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
}

/* 估值依据三块展示（两段式评估） */
.ev-evidence-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.6;
}
.ev-evidence-row:last-child { border-bottom: none; }

/* ========== 一键分享 / 一键发布（评估详情底部操作区） ========== */
.ev-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.ev-action-btn {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-action-btn--ghost {
  background: var(--card-bg, #fff);
  color: var(--primary, #0ba5e9);
  border: 1px solid var(--primary, #0ba5e9);
}
.ev-action-btn--primary {
  background: linear-gradient(90deg, #0ba5e9, #0091d0);
  color: #fff;
}
.ev-action-btn:active { opacity: 0.85; }

/* ========== 历史评估详情：数据异常兜底 ========== */
.ev-detail-error {
  margin: 24px 16px;
  padding: 40px 24px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ev-detail-error__icon { font-size: 44px; }
.ev-detail-error__text {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.ev-detail-error__sub {
  margin-top: 8px;
  font-size: 13px;
  color: #999;
}
.ev-detail-error__btn {
  margin-top: 20px;
  height: 40px;
  padding: 0 28px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(90deg, #0ba5e9, #0091d0);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* ========== 一键分享弹层 ========== */
.ev-share-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-share-panel {
  width: 88%;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px 16px;
  text-align: center;
}
.ev-share-panel__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.ev-share-card {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f7fa;
}
.ev-share-card__img {
  display: block;
  width: 100%;
  height: auto;
}
.ev-share-tip {
  margin: 10px 0 14px;
  font-size: 12px;
  color: #999;
}
.ev-share-panel__actions {
  display: flex;
  gap: 12px;
}
.ev-share-btn {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ev-share-btn--ghost {
  background: #f2f3f5;
  color: #333;
}
.ev-share-btn--primary {
  background: linear-gradient(90deg, #0ba5e9, #0091d0);
  color: #fff;
}

/* ========== 分享落地引导 banner（from=share 进入时显示） ========== */
.ev-guide-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 16px 0;
  padding: 12px 14px;
  background: linear-gradient(90deg, #0ba5e9, #0078c8);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 165, 233, 0.25);
}
.ev-guide-banner__icon { font-size: 24px; flex-shrink: 0; }
.ev-guide-banner__text { flex: 1; min-width: 0; }
.ev-guide-banner__title { font-size: 15px; font-weight: 700; }
.ev-guide-banner__sub { font-size: 12px; opacity: 0.85; margin-top: 2px; }
.ev-guide-banner__btn {
  flex-shrink: 0;
  background: #fff;
  color: #0ba5e9;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ========== 一键发布操作菜单 / 朋友圈引导（通用底部弹层） ========== */
.ev-pub-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ev-pub-sheet {
  width: 100%;
  max-width: 480px;
  background: #f7f8fa;
  border-radius: 16px 16px 0 0;
  padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 12px);
}
.ev-pub-item {
  display: block;
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ev-pub-item:active { background: #f0f1f3; }
.ev-pub-item--cancel { color: #999; font-weight: 600; }
.ev-wx-guide {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 28px 20px calc(env(safe-area-inset-bottom, 0px) + 20px);
  text-align: center;
}
.ev-wx-guide__icon { font-size: 40px; }
.ev-wx-guide__title { font-size: 18px; font-weight: 700; color: #222; margin-top: 8px; }
.ev-wx-guide__desc { font-size: 14px; color: #555; line-height: 1.8; margin-top: 12px; }
.ev-wx-guide__desc b { font-size: 20px; }
.ev-wx-guide__tip { font-size: 12px; color: #999; margin: 12px 0 18px; }
.ev-wx-guide__ok { color: #fff; background: linear-gradient(90deg, #0ba5e9, #0091d0); font-weight: 600; }
.ev-share-target { background: linear-gradient(90deg, #0ba5e9, #0091d0); color: #fff; font-weight: 600; }
.ev-share-note { font-size: 12px; color: #e6a23c; line-height: 1.6; margin: 4px 0 12px; }
.ev-evidence-row--wrap { flex-wrap: wrap; }
.ev-evidence-key {
  flex: 0 0 auto;
  min-width: 84px;
  color: var(--text-2);
}
.ev-evidence-val {
  flex: 1;
  text-align: right;
  color: var(--text-1);
  word-break: break-all;
  overflow-wrap: anywhere;
}
.ev-evidence-val--muted { color: var(--text-3); }
.ev-evidence-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.ev-evidence-tag--normal { background: rgba(11, 165, 233, 0.12); color: #0BA5E9; }
.ev-evidence-tag--affordable { background: rgba(255, 107, 53, 0.14); color: #FF6B35; }
.ev-evidence-note {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 3px;
  text-align: right;
}
.ev-evidence-meta {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-3);
}
