.surgical-cost-calculation {
  display: grid;
  gap: var(--space-4);
  margin-block: var(--space-6);
  padding: var(--space-5);
  border: var(--border-width) solid color-mix(in srgb, var(--color-border) 68%, var(--color-brand-support) 32%);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-surface) 94%, var(--color-brand-support-soft) 6%);
  box-shadow: var(--shadow-sm);
}

.surgical-cost-calculation__notice {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-inline-start: var(--space-1) solid var(--color-info);
  background: var(--color-info-bg);
}

.surgical-cost-calculation__item {
  display: grid;
  gap: var(--space-3);
}

.surgical-cost-calculation__details {
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.surgical-cost-calculation__details summary {
  min-height: 2.75rem;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.surgical-cost-calculation__details summary:focus-visible {
  border-radius: var(--radius-sm);
  box-shadow: var(--focus-ring);
}

.surgical-cost-calculation__details[open] > summary {
  border-bottom: var(--border-width) solid var(--color-border);
}

.surgical-cost-calculation__details > :not(summary) {
  margin: var(--space-4);
}

@media (max-width: 48rem) {
  .surgical-cost-calculation {
    padding: var(--space-3);
  }
}
