#hm-service-price-calculator {
  --hm-accent: #0d82df;
  --hm-accent-dark: #003f63;
  --hm-accent-light: #eef7fc;
  --hm-border: #dedede;
  --hm-background: #f7f7f7;
  --hm-text: #222222;
  --hm-muted: #666666;

  box-sizing: border-box;
  width: 100%;
  max-width: 820px;
  margin: 1.8em auto;
  color: var(--hm-text);
  font-family: inherit;
}

#hm-service-price-calculator *,
#hm-service-price-calculator *::before,
#hm-service-price-calculator *::after {
  box-sizing: border-box;
}

#hm-service-price-calculator .hm-calculator-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#hm-service-price-calculator h2 {
  margin: 0 0 8px;
  color: var(--hm-text);
  font-size: 1.65rem;
  line-height: 1.25;
}

#hm-service-price-calculator .hm-heading-arrow {
  color: var(--hm-accent);
}

#hm-service-price-calculator .hm-intro {
  margin: 0 0 18px;
  color: var(--hm-muted);
  line-height: 1.55;
}

#hm-service-price-calculator .hm-field-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

#hm-service-price-calculator .hm-field-row {
  padding: 13px 12px;
  background: var(--hm-background);
  border: 1px solid #e6e6e6;
  border-radius: 7px;
}

#hm-service-price-calculator .hm-field-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  line-height: 1.35;
}

#hm-service-price-calculator .hm-field-note {
  display: block;
  margin-top: 6px;
  color: var(--hm-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

#hm-service-price-calculator input[type="number"],
#hm-service-price-calculator select {
  width: 100%;
  min-height: 43px;
  padding: 9px 10px;
  color: var(--hm-text);
  background: #ffffff;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  font: inherit;
  font-size: 16px;
}

#hm-service-price-calculator input[type="number"] {
  text-align: right;
}

#hm-service-price-calculator input[type="number"]:focus,
#hm-service-price-calculator select:focus {
  outline: 3px solid rgba(13, 130, 223, 0.16);
  border-color: var(--hm-accent);
}

#hm-service-price-calculator .hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

#hm-service-price-calculator button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#hm-service-price-calculator .hm-primary-button {
  color: #ffffff;
  background: var(--hm-accent);
  border: 1px solid var(--hm-accent);
}

#hm-service-price-calculator .hm-primary-button:hover,
#hm-service-price-calculator .hm-primary-button:focus {
  color: #ffffff;
  background: var(--hm-accent-dark);
  border-color: var(--hm-accent-dark);
}

#hm-service-price-calculator .hm-secondary-button {
  color: var(--hm-text);
  background: #ffffff;
  border: 1px solid #bdbdbd;
}

#hm-service-price-calculator .hm-results {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: var(--hm-accent-light);
  border: 1px solid #b9d9ef;
  border-radius: 9px;
}

#hm-service-price-calculator .hm-results.is-visible {
  display: block;
}

#hm-service-price-calculator .hm-main-result-label {
  margin-bottom: 5px;
  font-size: 0.95rem;
  font-weight: 700;
}

#hm-service-price-calculator .hm-main-result {
  margin-bottom: 8px;
  color: var(--hm-accent-dark);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
}

#hm-service-price-calculator .hm-main-result-note {
  margin: 0 0 18px;
  color: var(--hm-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

#hm-service-price-calculator .hm-result-explanation {
  margin: 16px 0 0;
  line-height: 1.55;
}

#hm-service-price-calculator .hm-result-details {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 130, 223, 0.2);
  line-height: 1.5;
}

#hm-service-price-calculator .hm-warning {
  margin: 14px 0 0;
  padding: 12px 13px;
  color: #003f63;
  background: rgba(255, 255, 255, 0.62);
  border-left: 4px solid var(--hm-accent);
  border-radius: 5px;
  line-height: 1.5;
}

#hm-service-price-calculator .hm-notice {
  margin-top: 20px;
  padding: 14px 15px;
  color: #444444;
  background: #f2f2f2;
  border-left: 4px solid #999999;
  border-radius: 5px;
  font-size: 0.9rem;
  line-height: 1.5;
}

#hm-service-price-calculator .hm-pricing-updated {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}

@media (max-width: 680px) {
  #hm-service-price-calculator .hm-calculator-card {
    padding: 18px 14px;
  }

  #hm-service-price-calculator .hm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #hm-service-price-calculator button {
    width: 100%;
  }
}
