.ve-section {
  margin-top: 28px;
}

.section-header__badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  margin-left: 10px;
  vertical-align: middle;
}

.ve-form {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 24px;
  margin: 0;
}

.ve-form-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ve-form-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f5f5f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ve-form-icon svg {
  width: 22px;
  height: 22px;
  color: #1a1a1a;
}

.ve-form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 2px;
  color: #1a1a1a;
}

.ve-form-sub {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

.ve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
}

.ve-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
}

.ve-field select,
.ve-field input {
  width: 100%;
  height: 38px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  padding: 0 10px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.ve-field select:focus,
.ve-field input:focus {
  border-color: #1a1a1a;
}

.ve-field-btn {
  display: flex;
  align-items: flex-end;
}

.ve-btn {
  width: 100%;
  height: 38px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.ve-btn:hover {
  background: #333;
}

.ve-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ve-error {
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-top: 12px;
}

.ve-results {
  border: 1px solid #e5e5e5;
  border-top: none;
  background: #fafaf8;
  padding: 24px;
}

.ve-sample-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #92400e;
  margin-bottom: 16px;
}

.ve-sample-banner a {
  color: #92400e;
  font-weight: 600;
  text-decoration: underline;
}

.ve-result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.ve-est-main {
  flex: 1;
  min-width: 200px;
}

.ve-est-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.ve-est-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ve-conf {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  font-family: 'Inter', sans-serif;
}

.ve-conf--high {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ve-conf--medium {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.ve-conf--low {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.ve-est-range {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.ve-range-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #f0f0ec;
  border: 1px solid #e5e5e5;
  height: 60px;
}

.ve-range-lo,
.ve-range-hi {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
}

.ve-range-lo span:first-child,
.ve-range-hi span:first-child {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
}

.ve-range-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
}

.ve-range-mid {
  width: 2px;
  background: #1a1a1a;
  position: relative;
}

.ve-range-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
}

.ve-meta-row {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.ve-meta-item {
  display: flex;
  flex-direction: column;
}

.ve-meta-val {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.ve-meta-label {
  font-size: 0.68rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
}

.ve-context {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 14px 0;
}

.ve-comps {
  margin-top: 20px;
}

.ve-comps-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.ve-comps-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ve-comps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
}

.ve-comps-table th {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 2px solid #e5e5e5;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  white-space: nowrap;
}

.ve-comps-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #eee;
  color: #333;
  white-space: nowrap;
}

.ve-comps-table .td-mono {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ve-usage-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  font-family: 'Inter', sans-serif;
}

.ve-insufficient {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e5e5;
}

.ve-insuff-icon svg {
  width: 24px;
  height: 24px;
  color: #f59e0b;
}

.ve-insufficient p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .ve-form {
    padding: 16px;
  }
  .ve-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ve-result-header {
    flex-direction: column;
  }
  .ve-est-range {
    max-width: none;
    width: 100%;
  }
  .ve-meta-row {
    flex-wrap: wrap;
    gap: 16px;
  }
  .ve-results {
    padding: 16px;
  }
}
