/* Pair the price list's text with opaque surfaces in every palette. */
#service-price-list {
  --rate-surface: #111e2b;
  --rate-card: #192b3b;
  --rate-ink: #f4f8fc;
  --rate-copy: #d5e0eb;
  --rate-line: #52697d;
  background: var(--rate-surface) !important;
  color: var(--rate-copy) !important;
  padding: clamp(22px, 4vw, 44px) !important;
  margin-block: 32px !important;
  border: 1px solid var(--rate-line);
  border-radius: var(--studio-radius, 6px);
  scroll-margin-top: calc(var(--wdg-header-height, 120px) + 20px);
}
html[data-theme="light"] #service-price-list {
  --rate-surface: #f2f6f9;
  --rate-card: #ffffff;
  --rate-ink: #17242d;
  --rate-copy: #30424d;
  --rate-line: #aebfca;
}
#service-price-list :is(h2, h3, strong, label) {
  color: var(--rate-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}
#service-price-list :is(p, li, li span, small) {
  color: var(--rate-copy) !important;
  -webkit-text-fill-color: currentColor !important;
}
#service-price-list > p {
  max-width: 78ch;
  font-size: 17px !important;
  line-height: 1.7 !important;
}
#service-price-list .shared-rate-grid { gap: 20px; }
#service-price-list .shared-rate-group {
  background: var(--rate-card) !important;
  border: 1px solid var(--rate-line) !important;
  border-radius: var(--studio-radius, 6px);
  padding: 22px !important;
}
#service-price-list .shared-rate-group h3 {
  margin: 0 0 14px !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
}
#service-price-list .shared-rate-row {
  font-size: 16px !important;
  line-height: 1.55;
  border-bottom-color: var(--rate-line);
  align-items: baseline;
}
#service-price-list .shared-rate-row:last-child { border-bottom: 0; }
#service-price-list .shared-rate-row strong { font-weight: 700; }
#service-price-list .shared-rate-form { gap: 12px; margin-block: 24px; }
#service-price-list .shared-rate-form label { font-size: 16px; font-weight: 650; }
#service-price-list .shared-rate-form input {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  font: inherit;
  background: #ffffff !important;
  color: #17242d !important;
  -webkit-text-fill-color: currentColor !important;
  border: 1px solid var(--rate-line);
  border-radius: var(--studio-radius, 6px);
}
#service-price-list .shared-rate-form input::placeholder { color: #526271; opacity: 1; }
#service-price-list .shared-rate-form small { font-size: 14px !important; line-height: 1.6; }
#service-price-list .shared-rate-form input:focus-visible {
  outline: 2px solid var(--rate-ink);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  #service-price-list .shared-rate-group { padding: 18px !important; }
  #service-price-list .shared-rate-form label { flex-basis: 100%; }
  #service-price-list .shared-rate-form input { flex: 1 1 140px; }
}
