/* saas-pricing-calculator — extracted from inline <style> */
.evvy-cost-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.evvy-cost-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 0.75rem;
  align-items: center;
}
.evvy-cost-row .form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0;
  color: var(--evvy-text-secondary, #666);
}
.evvy-cost-row .input-group {
  max-width: 140px;
}
.evvy-tier-card {
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.evvy-tier-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cluster-dark);
}
.evvy-tier-header .evvy-tier-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cluster-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.evvy-tier-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.625rem;
}
.evvy-tier-fields .form-label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: var(--evvy-text-secondary, #666);
}
.evvy-tier-fields .form-control {
  font-size: 0.8125rem;
}
.evvy-tier-fields .form-text {
  font-size: 0.6875rem;
  margin-top: 0.15rem;
}
.evvy-annual-hint {
  font-size: 0.6875rem;
  color: var(--cluster-dark);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}
.evvy-growth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.evvy-growth-grid .form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.evvy-growth-grid .form-text {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.evvy-projection-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: collapse;
  margin-top: 0.75rem;
}
.evvy-projection-table th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--evvy-text-secondary, #666);
  padding: 0.5rem 0.375rem;
  border-bottom: 2px solid var(--evvy-border-color, #DEE2E6);
  text-align: right;
}
.evvy-projection-table th:first-child {
  text-align: left;
}
.evvy-projection-table td {
  padding: 0.375rem;
  border-bottom: 1px solid var(--evvy-border-color, #DEE2E6);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--evvy-text-primary, #333);
}
.evvy-projection-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.evvy-projection-table tbody tr:hover {
  background: color-mix(in srgb, var(--cluster-dark) 4%, transparent);
}
.evvy-projection-wrap {
  margin-top: 1rem;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  display: none;
}
.evvy-section-header {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--evvy-text-secondary, #666);
  margin-bottom: 0.5rem;
}
.evvy-tier-bar-wrap {
  margin-top: 1rem;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 1.25rem 1.5rem;
  display: none;
}
.evvy-tier-bar {
  display: flex;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.625rem;
}
.evvy-tier-bar-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.4s ease;
}
.evvy-tier-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
}
.evvy-tier-bar-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.evvy-tier-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.evvy-psych-panel {
  margin-top: 1rem;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 1.25rem 1.5rem;
  display: none;
}
.evvy-psych-item {
  display: flex;
  gap: 0.625rem;
  padding: 0.5rem 0;
}
.evvy-psych-item + .evvy-psych-item {
  border-top: 1px dashed var(--evvy-border-color, #DEE2E6);
}
.evvy-psych-icon {
  font-size: 1.125rem;
  color: var(--cluster-dark);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.evvy-psych-text {
  font-size: 0.8125rem;
  color: var(--evvy-text-primary, #333);
  line-height: 1.45;
}
.evvy-psych-text strong {
  color: var(--cluster-dark);
}
.evvy-competitor-wrap {
  margin-top: 0.5rem;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 1.25rem 1.5rem;
}
.evvy-competitor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.625rem;
}
.evvy-competitor-fields .form-label {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.evvy-competitor-analysis {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--evvy-text-primary, #333);
  line-height: 1.5;
  display: none;
}
.evvy-churn-sim {
  margin-top: 0.5rem;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--evvy-border-color, #DEE2E6);
  border-radius: var(--evvy-radius-lg, 12px);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}
.evvy-churn-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.evvy-churn-table th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--evvy-text-secondary, #666);
  padding: 0.5rem 0.375rem;
  border-bottom: 2px solid var(--evvy-border-color, #DEE2E6);
  text-align: right;
}
.evvy-churn-table th:first-child {
  text-align: left;
}
.evvy-churn-table td {
  padding: 0.375rem;
  border-bottom: 1px solid var(--evvy-border-color, #DEE2E6);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.evvy-churn-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.evvy-churn-loss {
  color: var(--bs-danger, #dc3545);
  font-weight: 600;
}
.evvy-rate-unit {
  font-size: 0.4em;
  font-weight: 600;
  opacity: 0.55;
  letter-spacing: -0.02em;
}
[data-bs-theme="dark"] .evvy-tier-card {
  background: var(--evvy-gray-100, #1E1E1E);
}
[data-bs-theme="dark"] .evvy-projection-wrap,
[data-bs-theme="dark"] .evvy-tier-bar-wrap,
[data-bs-theme="dark"] .evvy-psych-panel,
[data-bs-theme="dark"] .evvy-competitor-wrap,
[data-bs-theme="dark"] .evvy-churn-sim {
  background: var(--evvy-gray-100, #1E1E1E);
}
[data-bs-theme="dark"] .evvy-tier-header .evvy-tier-num {
  color: #1a1a2e;
}
@media (max-width: 575.98px) {
  .evvy-tier-fields {
    grid-template-columns: 1fr 1fr;
  }
  .evvy-cost-row {
    grid-template-columns: 1fr 120px;
  }
  .evvy-growth-grid {
    grid-template-columns: 1fr;
  }
  .evvy-competitor-fields {
    grid-template-columns: 1fr;
  }
  #results-area .evvy-results-row {
    grid-template-columns: 1fr !important;
  }
}
