/* The clinic overview keeps identity, contact details and photos together. */
.profile-main {
  padding: 22px 42px 45px;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin-bottom: 24px;
  color: #28786f;
  font-size: 12px;
  text-decoration: none;
}

.profile-back svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.profile-contact svg,
.profile-claim svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-back:hover,
.profile-address:hover small,
.profile-category-list a:hover,
.profile-claim a:hover,
.profile-source-link:hover {
  text-decoration: underline;
}

.profile-loading,
.profile-error {
  padding: 65px 0 100px;
}

.profile-error h1 {
  margin-bottom: 17px;
  font-size: 40px;
}

.profile-error p {
  margin-bottom: 26px;
}

.profile-missing {
  margin-left: 22px;
  font-size: 14px;
}

.profile-overview {
  display: grid;
  gap: 28px;
  margin-bottom: 34px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-overview.has-photos {
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
}

.profile-summary {
  min-width: 0;
  padding: 4px 3px;
}

.has-photos .profile-summary {
  grid-column: 2;
  grid-row: 1;
}

.profile-title {
  max-width: 900px;
  font-size: 34px;
  line-height: 1.14;
  letter-spacing: -.4px;
  text-wrap: pretty;
}

.profile-title,
.profile-panel h2,
.profile-panel h3,
.profile-panel li,
.profile-address span {
  overflow-wrap: anywhere;
}

.profile-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}

.profile-category-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 28px;
  color: #326e5c;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.profile-category-list span {
  overflow-wrap: anywhere;
}

.profile-category-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 21px;
  min-width: 0;
}

.profile-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 530px;
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}

.profile-address span {
  display: block;
  min-width: 0;
}

.profile-address small {
  display: block;
  margin-top: 3px;
  color: #276b79;
  font-size: 12px;
}

.profile-address svg {
  margin-top: 2px;
}

.profile-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.profile-contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #aac3c6;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  text-decoration: none;
}

.profile-contact-actions a:hover {
  background: #f1f7f6;
}

.profile-contact-actions .profile-call {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.profile-contact-actions .profile-call:hover {
  background: #d84e35;
}

.profile-topics {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid #e5ece8;
}

.profile-topics h2 {
  margin-bottom: 9px;
  font: 500 14px/1.5 var(--sans);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #dce9e0;
  border-radius: 4px;
  background: #f0f6f1;
  color: #32664f;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.profile-tag:hover {
  border-color: #91b4a1;
  background: #e6f0e8;
}

.profile-topics .profile-note {
  max-width: 570px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.profile-topics-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.profile-visual {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  min-width: 0;
}

.profile-gallery { min-width: 0; }

.profile-gallery-stage {
  position: relative;
}

.profile-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #f1f4f1;
  overflow: hidden;
  cursor: zoom-in;
}

.profile-cover img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: contain;
  object-position: center;
}

.profile-cover,
#expanded-photo {
  touch-action: pan-y pinch-zoom;
}

.profile-cover:focus-visible,
.profile-gallery-controls button:focus-visible {
  outline: 3px solid #167989;
  outline-offset: 3px;
}

.profile-gallery-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.profile-gallery-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  color: #063b46;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 2px 8px rgb(3 52 65 / 18%);
  pointer-events: auto;
  cursor: pointer;
}

.profile-gallery-controls [data-gallery-step="-1"] { left: 12px; }
.profile-gallery-controls [data-gallery-step="1"] { right: 12px; }

.profile-gallery-controls button:hover {
  border-color: #fff;
  background: #fff;
}

.profile-gallery-controls p {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 52px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgb(3 52 65 / 84%);
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  text-align: center;
}

/* Main sections stay readable, with separate cards for practical details. */
.profile-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 36px;
}

.profile-primary,
.profile-secondary {
  min-width: 0;
}

.profile-primary {
  display: grid;
}

.profile-panel {
  min-width: 0;
}

.profile-primary > .profile-panel {
  padding-bottom: 27px;
}

.profile-primary > .profile-panel + .profile-panel {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.profile-primary > .profile-panel:last-child {
  padding-bottom: 0;
}

.profile-panel h2 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.3;
}

.profile-panel h3 {
  font-size: 21px;
  line-height: 1.35;
}

.profile-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.profile-panel .profile-note {
  margin-top: 17px;
  font-size: 12px;
  line-height: 1.75;
}

.profile-description {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.profile-secondary {
  display: grid;
  gap: 20px;
  align-content: start;
}

.profile-secondary > .profile-panel {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.profile-secondary .profile-panel h2 {
  font-size: 24px;
}

.profile-hours {
  margin: 0;
}

.profile-hours > div {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) minmax(0, auto);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid #e5ece6;
  font-size: 13px;
  line-height: 1.65;
}

.profile-hours > div:last-child {
  border: 0;
}

.profile-hours dt {
  color: var(--muted);
}

.profile-hours dd {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.profile-hours-interval {
  display: block;
  white-space: nowrap;
}

.profile-panel .profile-hours-label {
  margin: 0 0 5px;
  font: 500 13px/1.6 var(--sans);
  color: var(--ink);
}

.profile-walk-in-hours {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-walk-in-hours p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  font-size: 13px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}

.profile-walk-in-hours p > span:first-child { color: var(--muted); }

.profile-insurance {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.profile-insurance li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.profile-insurance li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: none;
  align-self: center;
  border-radius: 50%;
  background: #719d9a;
}

.profile-insurance-details {
  margin-top: 12px;
}

.profile-insurance-qualifier {
  color: var(--muted);
  font-size: 12px;
}

.profile-insurance-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #326b61;
  font-size: 12px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.profile-insurance-details summary::-webkit-details-marker { display: none; }
.profile-insurance-details summary::marker { content: ''; }
.profile-insurance-details summary:hover span { text-decoration: underline; }
.profile-insurance-details summary:focus,
.profile-insurance-details summary:focus-visible {
  outline: none;
}
.profile-insurance-details summary:focus-visible span {
  text-decoration: underline;
  text-decoration-color: #326b61;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (forced-colors: active) {
  .profile-insurance-details summary:focus-visible span {
    text-decoration-color: CanvasText;
  }
}

.profile-insurance-details summary svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-insurance-details .profile-insurance-chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.profile-insurance-details[open] .profile-insurance-chevron { transform: rotate(180deg); }
.profile-insurance-details-body { padding: 3px 0 8px; }
.profile-insurance-details-body p {
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.profile-insurance-details-body .profile-source-link { margin-top: 5px; }

.profile-insurance-panel .profile-insurance-contact {
  display: flex;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e5ece8;
  color: #326b61;
}

.profile-secondary .profile-claim h2 {
  margin-bottom: 11px;
  font-size: 20px;
}

.profile-claim p {
  font-size: 12px;
}

.profile-claim a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin-top: 11px;
  color: #226774;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.profile-content-sparse {
  display: block;
}

.profile-content-sparse .profile-primary {
  display: none;
}

.profile-content-sparse .profile-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.profile-services {
  container-type: inline-size;
}

.profile-services-list,
.profile-conditions-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}

.profile-services-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 17px 28px;
  color: var(--ink);
}

.profile-services-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
}

.profile-service-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 36px;
  color: #36786b;
}

.profile-service-symbol svg {
  width: 32px;
  height: 32px;
}

.profile-service-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-conditions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.profile-conditions-list li {
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 4px;
  background: #f2f4f5;
  overflow-wrap: anywhere;
}

.profile-service-group + .profile-service-group {
  margin-top: 28px;
}

.profile-condition-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.profile-condition-note a { color: #236675; }
.profile-condition-marker { margin-left: 2px; font-size: .75em; line-height: 0; }

.profile-services-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 12px;
}

.profile-services-sources .profile-source-link {
  margin-top: 0;
}

@container (min-width: 520px) {
  .profile-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-visit-detail + .profile-visit-detail,
.profile-visit-detail + .profile-additional-links {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e4ebe8;
}

.profile-visit-detail h3,
.profile-additional-links h3 {
  margin-bottom: 10px;
  font: 500 15px/1.6 var(--sans);
}

.profile-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 14px;
  color: #276b79;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.profile-source-link svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.profile-accreditation + .profile-accreditation {
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid #e4ebe8;
}

.profile-accreditation h3 {
  margin-bottom: 7px;
  font: 500 15px/1.6 var(--sans);
}

.profile-accreditation .profile-note {
  margin-top: 7px;
}

.profile-accreditation .profile-source-link {
  margin-top: 5px;
}

.profile-verified-accreditation {
  max-width: 460px;
  margin-top: 10px;
}

.profile-verified-accreditation summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 2px 4px 2px 0;
  color: #326e5c;
  list-style: none;
  cursor: pointer;
}

.profile-verified-accreditation summary::-webkit-details-marker { display: none; }

.profile-accreditation-seal {
  width: 28px;
  height: 28px;
  flex: none;
  object-fit: contain;
}

.profile-accreditation-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  min-width: 0;
  gap: 1px 8px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.profile-accreditation-title { font-weight: 500; }

.profile-accreditation-distinction { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }

.profile-accreditation-chevron {
  grid-column: 2;
  grid-row: 1;
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-verified-accreditation[open] .profile-accreditation-chevron { transform: rotate(180deg); }

.profile-verified-accreditation summary:focus,
.profile-verified-accreditation summary:focus-visible { outline: none; }

.profile-verified-accreditation summary:hover .profile-accreditation-title,
.profile-verified-accreditation summary:focus-visible .profile-accreditation-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.profile-verified-accreditation summary:focus-visible .profile-accreditation-title {
  text-decoration-thickness: 2px;
}

.profile-accreditation-details {
  margin: 5px 0 0 36px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.profile-accreditation-details .profile-accreditation-date { margin-top: 10px; font-size: 12px; }
.profile-accreditation-details .profile-source-link { margin-top: 3px; }
.profile-verified-accreditation.seal-unavailable .profile-accreditation-details { margin-left: 0; }
.profile-verified-accreditation + .profile-topics { margin-top: 12px; }

.profile-visual > .profile-verified-accreditation { margin-top: 12px; }
.profile-visual .profile-accreditation-seal { width: 40px; height: 40px; }
.profile-visual .profile-accreditation-label { font-size: 14px; }
.profile-visual .profile-accreditation-details { margin-left: 48px; }
.profile-visual .seal-unavailable .profile-accreditation-details { margin-left: 0; }

.profile-additional-links ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-additional-links .profile-source-link {
  margin-top: 0;
  font-size: 13px;
}

/* One pricing card groups offers, shared terms and source information. */
.profile-primary > .profile-panel.profile-pricing {
  margin-bottom: 27px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.profile-primary > .profile-panel.profile-pricing:last-child {
  margin-bottom: 0;
  padding-bottom: 23px;
}

.profile-primary > .profile-pricing + .profile-panel {
  padding-top: 0;
  border-top: 0;
}

.pricing-heading h2 {
  margin-bottom: 7px;
}

.profile-pricing .pricing-intro {
  font-size: 13px;
  line-height: 1.75;
}

.pricing-summary {
  margin-top: 14px;
}

.profile-pricing .pricing-group-title,
.profile-pricing .pricing-standard h3 {
  margin: 0;
  font: 600 16px/1.5 var(--sans);
}
.offer-list.offer-list-grouped { border-top: 0; margin-top: 18px; }
.price-group + .price-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dfe7e4; }
.price-group .price-offer { padding: 12px 0 12px 12px; border-bottom: 0; }
.price-group .pricing-group-title { margin-bottom: 5px; }
.price-group .pricing-group-specs { margin: 4px 0 8px; }
.price-group .pricing-group-terms { margin: 8px 0 12px; }
.profile-pricing .pricing-hidden-count { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.price-group .price-offer-heading :is(h3, h4, h5) { font-size: 15px; font-weight: 400; }
.price-group .offer-price strong { font-size: 25px; }
.pricing-compact .price-group .offer-price strong { font-size: 23px; }
.pricing-compact .price-group .price-offer-heading :is(h3, h4, h5) { font-size: 14px; }
.price-group .price-offer-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
.price-group .offer-price { max-width: 180px; }
.profile-pricing .pricing-program-rates { margin-top: 14px; }
.profile-pricing .pricing-program-rates .offer-list { margin-top: 8px; padding-left: 12px; border-top: 0; }
.pricing-standard { padding: 14px 0; border-top: 1px solid #dfe7e4; }
.profile-pricing .pricing-standard p { margin: 7px 0 0; font-size: 12px; line-height: 1.6; }
.pricing-standard a { color: #2a6d7c; text-decoration: underline; text-underline-offset: 3px; }
.pricing-standard svg { width: 14px; height: 14px; vertical-align: middle; margin-left: 5px; }
.profile-pricing .pricing-program-note { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 3px; align-items: baseline; margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pricing-group-title sup { margin-left: 2px; font-size: 10px; }
.pricing-program-note sup { font-size: 10px; }
.pricing-compact .offer-list { margin-top: 12px; }
.pricing-compact .price-offer { padding: 14px 0; }
.pricing-program-rates .price-offer { padding: 8px 0; border-bottom: 0; }
.pricing-program-rates .offer-list { padding-bottom: 10px; }
.pricing-compact .price-offer-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.pricing-compact .price-offer-heading :is(h3, h4, h5) { font: 500 14px/1.5 var(--sans); }
.pricing-program-rates .price-offer-heading h4 { font-weight: 400; color: var(--muted); }
.pricing-compact .offer-price strong { font-size: 23px; }
.pricing-compact .offer-price span { font-size: 10px; margin-top: 3px; max-width: 85px; }
.pricing-compact .pricing-footer { padding-top: 12px; }
.pricing-compact .pricing-shared-terms .offer-terms { list-style: none; padding-left: 0; line-height: 1.6; }
.pricing-compact .offer-terms li { padding-left: 0; }
.pricing-compact .pricing-metadata { gap: 4px 14px; font-size: 10px; }
.pricing-compact .pricing-shared-terms + .pricing-metadata { margin-top: 12px; }

.pricing-summary .offer-specs {
  margin-top: 0;
  gap: 6px 15px;
}

.pricing-summary .offer-specs span + span {
  padding-left: 15px;
  border-left: 1px solid #d5e2db;
}

.offer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.offer-tabs button {
  min-height: 37px;
  padding: 7px 11px;
  border: 1px solid #cadbd9;
  border-radius: 4px;
  font-size: 13px;
}

.offer-tabs button[aria-pressed=true] {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.offer-list {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid #dfe7e4;
}

.price-offer {
  padding: 20px 0;
  border-bottom: 1px solid #e0e8e6;
}

.price-offer:last-child {
  border-bottom: 0;
}

.price-offer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
}

.price-offer-heading :is(h3, h4, h5) {
  margin: 0;
  min-width: 0;
  max-width: 440px;
  flex: 1 1 170px;
  font: 500 18px/1.5 var(--sans);
}

.offer-duration {
  margin: 8px 0 0;
  color: var(--muted);
  font: 400 12px/1.55 var(--sans);
}

.offer-price {
  max-width: 100%;
  flex: none;
  text-align: right;
  white-space: nowrap;
}

.offer-price strong {
  display: block;
  font: 28px/1.2 var(--serif);
  white-space: normal;
  overflow-wrap: anywhere;
}

.offer-price span {
  display: block;
  max-width: 130px;
  margin-top: 5px;
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
}

.offer-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 10px;
  color: #406571;
  font-size: 12px;
}

.offer-terms {
  margin: 13px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.offer-terms li {
  padding-left: 2px;
}

.offer-source {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  margin-top: 14px;
  color: #58717a;
  font-size: 11px;
}

.offer-source a {
  color: #2a6d7c;
}

.pricing-footer {
  padding-top: 18px;
  border-top: 1px solid #dfe7e4;
}

.pricing-shared-terms h3 {
  margin-bottom: 8px;
  font: 500 13px/1.6 var(--sans);
}

.pricing-shared-terms .offer-terms {
  margin-top: 0;
}

.pricing-metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  color: #58717a;
  font-size: 11px;
  line-height: 1.7;
}

.pricing-shared-terms + .pricing-metadata {
  margin-top: 16px;
}

.profile-pricing .pricing-check-date {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.pricing-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-width: 0;
}

.pricing-sources a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2a6d7c;
  overflow-wrap: anywhere;
}

.pricing-sources svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.profile-panel .offer-equivalent {
  margin-top: 9px;
  color: #456872;
  font-size: 12px;
}

.offers-more {
  width: 100%;
  margin-top: 17px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: #246977;
  font-size: 14px;
}

.profile-about-listing {
  max-width: 890px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.profile-about-listing summary {
  width: max-content;
  padding: 6px 0;
  font-size: 13px;
  cursor: pointer;
}

.profile-about-listing p {
  margin-top: 8px;
}

.profile-operating-status {
  margin-top: 19px;
  padding: 14px 16px;
  border: 1px solid #e6d9bc;
  border-left: 4px solid #ac883f;
  border-radius: 5px;
  background: #fcf8ee;
}

.profile-operating-status h2 {
  margin-bottom: 5px;
  font: 500 16px/1.5 var(--sans);
}

.profile-operating-status p {
  max-width: 850px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.profile-operating-status .profile-source-link {
  margin-top: 6px;
}

.profile-operating-status + .profile-contact {
  margin-top: 18px;
}

/* The full photo viewer is separate from the in-page carousel. */
.profile-photo-failed {
  padding: 30px;
  background: #f0f5f2;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.photo-viewer-open {
  overflow: hidden;
}

.photo-dialog {
  width: min(1060px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  padding: 20px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.photo-dialog::backdrop {
  background: #092d36c9;
}

.photo-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.photo-dialog-heading h2 {
  font-size: 25px;
}

.photo-dialog-heading button,
.photo-dialog-stage button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
}

.photo-dialog-heading button:hover,
.photo-dialog-stage button:hover {
  background: #edf4f1;
}

.photo-dialog-stage {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 180px;
}

.photo-dialog-stage img {
  display: block;
  min-width: 0;
  max-width: calc(100% - 112px);
  width: 100%;
  height: min(60vh, 680px);
  background: #f5f7f5;
  object-fit: contain;
}

.photo-dialog-stage button[hidden] + img {
  max-width: 100%;
}

.photo-load-error {
  width: 100%;
  min-height: 180px;
  padding: 40px 20px;
  color: var(--muted);
  text-align: center;
}

.photo-dialog-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
}

.profile-photo-credit {
  margin-top: 10px;
  color: #5e5e5e;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}

.profile-photo-credit a { color: inherit; text-underline-offset: 3px; }
.profile-photo-credit [translate="no"] { white-space: nowrap; }

.profile-gallery > .profile-photo-credit {
  margin-top: 8px;
  text-align: left;
}

@media (max-width: 1100px) {
  .profile-main { padding-inline: 30px; }
  .profile-overview { gap: 23px; padding: 19px; }
  .profile-summary { padding: 2px 0; }
  .profile-title { font-size: 32px; }
  .profile-contact-actions { gap: 9px; }
  .profile-contact-actions a { padding-inline: 12px; }
  .profile-content-grid { grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; }
  .profile-secondary > .profile-panel { padding: 19px; }
  .profile-cover img { height: 350px; }
}

@media (max-width: 800px) {
  .profile-main { padding-inline: 24px; }
  .profile-overview,
  .profile-overview.has-photos { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; }
  .has-photos .profile-summary { grid-column: 1; grid-row: 1; }
  .profile-visual { grid-column: 1; grid-row: 2; }
  .profile-title { font-size: 34px; }
  .profile-cover img { height: 290px; }
  .profile-content-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .profile-secondary > .profile-panel { padding: 23px; }
}

@media (max-width: 560px) {
  .profile-main { padding: 13px 20px 31px; }
  .profile-back { min-height: 32px; margin-bottom: 19px; font-size: 12px; }
  .profile-overview,
  .profile-overview.has-photos { margin-bottom: 29px; padding: 17px; gap: 21px; }
  .profile-summary { padding: 0; }
  .profile-title { font-size: 30px; line-height: 1.15; letter-spacing: -.3px; }
  .profile-category-list { margin-top: 10px; gap: 5px 15px; }
  .profile-category-list a { min-height: 32px; font-size: 13px; }
  .profile-category-list svg { width: 21px; height: 21px; }
  .profile-contact { margin-top: 17px; gap: 16px; }
  .profile-address { gap: 9px; font-size: 14px; }
  .profile-contact-actions { width: 100%; gap: 9px; }
  .profile-contact-actions a { flex: 1 1 140px; min-height: 46px; padding: 10px 12px; font-size: 13px; }
  .profile-contact-actions a.profile-call-context { flex: 0 0 auto; width: 100%; }
  .profile-contact-actions a svg { width: 17px; height: 17px; }
  .profile-topics { margin-top: 18px; padding-top: 15px; }
  .profile-tag { min-height: 32px; }
  .profile-cover img { height: 245px; }
  .profile-gallery-controls [data-gallery-step="-1"] { left: 8px; }
  .profile-gallery-controls [data-gallery-step="1"] { right: 8px; }
  .profile-gallery-controls p { bottom: 8px; }
  .profile-primary > .profile-panel { padding-bottom: 24px; }
  .profile-primary > .profile-panel + .profile-panel { padding-top: 23px; }
  .profile-primary > .profile-panel:last-child { padding-bottom: 0; }
  .profile-primary > .profile-panel.profile-pricing { margin-bottom: 24px; padding: 19px 17px; }
  .profile-primary > .profile-panel.profile-pricing:last-child { margin-bottom: 0; padding-bottom: 19px; }
  .profile-primary > .profile-pricing + .profile-panel { padding-top: 0; }
  .profile-panel h2 { margin-bottom: 14px; font-size: 24px; }
  .pricing-heading h2 { margin-bottom: 7px; }
  .profile-secondary > .profile-panel { padding: 20px 18px; }
  .profile-insurance-details summary { min-height: 44px; font-size: 13px; }
  .profile-content-sparse .profile-secondary { grid-template-columns: minmax(0, 1fr); }
  .price-offer-heading { gap: 13px; }
  .price-offer-heading :is(h3, h4, h5) { font-size: 17px; }
  .offer-price strong { font-size: 26px; }
  .offer-price span { max-width: 110px; }
  .offer-tabs button { min-height: 42px; }
  .pricing-metadata { flex-direction: column; gap: 7px; }
  .profile-source-link { min-height: 36px; }
  .profile-about-listing summary { display: flex; align-items: center; min-height: 44px; }
  .photo-dialog { width: calc(100% - 16px); max-width: calc(100% - 16px); padding: 12px; }
  .photo-dialog-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
  .photo-dialog-stage img { grid-column: 1 / -1; grid-row: 1; max-width: 100%; height: auto; max-height: 60dvh; }
  .photo-dialog-stage button { width: 44px; height: 44px; grid-row: 2; }
  #previous-photo { grid-column: 1; justify-self: end; }
  #next-photo { grid-column: 2; justify-self: start; }
  .photo-load-error { grid-column: 1 / -1; }
  .photo-dialog-heading h2 { font-size: 21px; }
  .profile-missing { display: block; margin: 20px 0 0; }
}

@media (max-width: 380px) {
  .profile-overview,
  .profile-overview.has-photos { padding: 15px; }
  .profile-title { font-size: 28px; }
  .profile-contact-actions { flex-direction: column; align-items: stretch; }
  .profile-contact-actions a { flex: 0 0 auto; min-height: 48px; }
  .profile-cover img { height: 230px; }
  .price-offer-heading { flex-direction: column; gap: 12px; }
  .price-offer-heading :is(h3, h4, h5) { flex: auto; }
  .offer-price { text-align: left; }
  .offer-price span { max-width: none; margin-left: 0; }
  .profile-hours > div { grid-template-columns: minmax(70px, 1fr) minmax(0, auto); gap: 6px; }
}

/* Keep long price ranges in the same position on narrow screens. */
@media (max-width: 480px) {
  .price-offer-range .price-offer-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .price-offer-range .offer-price { text-align: left; }
}

.profile-pricing .pricing-treatment-rates { margin-top: 14px; }
.pricing-shared-terms:has(+ .pricing-program-note) { margin-bottom: 12px; }
.pricing-compact .pricing-shared-terms .offer-terms.has-multiple-terms { list-style: disc; padding-left: 18px; }
.pricing-shared-terms .has-multiple-terms li + li { margin-top: 5px; }
.offer-specs sup { margin-left: 2px; font-size: 9px; }

/* A compact price menu, shared by every clinic profile. */
.pricing-sidebar .offer-tabs { flex-wrap: nowrap; gap: 0; margin: 14px 0 0; border-bottom: 1px solid #d5e2df; }
.pricing-sidebar .offer-tabs button { flex: 1; min-width: 0; min-height: 40px; padding: 8px 3px; font-size: 12px; border: 0; border-radius: 0; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; }
.pricing-sidebar .offer-tabs button[aria-selected=true] { border-bottom-color: var(--teal); color: var(--teal); font-weight: 600; }
.pricing-sidebar :is(.offer-tabs,.price-duration-selector) button:focus { outline: none; }
html:not([data-focus-origin="pointer"]) .pricing-sidebar :is(.offer-tabs,.price-duration-selector) button:focus-visible { background: #edf5f1; text-decoration: underline; text-underline-offset: 4px; }
@media (forced-colors: active) {
  html:not([data-focus-origin="pointer"]) .pricing-sidebar :is(.offer-tabs,.price-duration-selector) button:focus-visible { outline: 1px solid Highlight; outline-offset: -3px; }
}
.pricing-sidebar .offer-list { margin-top: 4px; border-top: 0; }
.pricing-sidebar .price-offer { padding: 13px 0; border-bottom: 1px solid #e0e8e6; }
.pricing-sidebar .price-offer:last-child { border-bottom: 0; }
.pricing-sidebar .price-offer-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: start; }
.pricing-sidebar .price-offer-heading :is(h3,h4) { margin: 0; font: 400 14px/1.5 var(--sans); min-width: 0; }
.pricing-sidebar .offer-price { max-width: 115px; }
.pricing-sidebar .offer-price strong { font-size: 23px; }
.pricing-sidebar .offer-price span { max-width: 100px; font-size: 10px; }
.pricing-sidebar .offer-equivalent { margin: 5px 0 0; font-size: 11px; }
.pricing-sidebar .pricing-group-specs { margin: 12px 0 0; font-size: 11px; }
.pricing-sidebar .price-offer-details { margin-top: 5px; }
.pricing-sidebar :is(.price-offer-details,.pricing-disclosure) summary { width: fit-content; cursor: pointer; color: #2a6d7c; font-size: 11px; line-height: 1.6; }
.pricing-sidebar :is(.price-offer-details,.pricing-disclosure) summary:focus-visible { outline: 2px solid #2a6d7c; outline-offset: 3px; }
.pricing-sidebar .price-offer-details :is(.offer-specs,.offer-terms,.offer-source) { margin-top: 8px; }
.pricing-sidebar .pricing-disclosure { margin-bottom: 12px; }
.pricing-sidebar .pricing-disclosure .offer-terms { list-style: disc; padding-left: 17px; }
.pricing-sidebar .offers-more { padding: 10px 0; font-size: 12px; }
.pricing-sidebar .offer-validity { margin: 5px 0 0; font-size: 11px; color: var(--muted); }
.pricing-sidebar .price-offer-range .price-offer-heading { grid-template-columns: minmax(0,1fr); gap: 5px; }
.pricing-sidebar .price-offer-range .offer-price { text-align: left; max-width: 100%; }
.pricing-sidebar .price-offer-range .offer-price span { margin-left: 0; }

/* Keep the disclosure beside the price, directly beneath its offer name. */
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: start;
}
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .price-offer-heading { display: contents; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .price-offer-heading :is(h3,h4) { grid-column: 1; grid-row: 1; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .offer-price { grid-column: 2; grid-row: 1 / span 2; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .price-offer-details { display: contents; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .price-offer-details::details-content { display: contents; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .price-offer-details summary { grid-column: 1; grid-row: 2; margin-top: 3px; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .offer-details-body { grid-column: 1 / -1; grid-row: 3; }
.pricing-sidebar .price-offer-details:not([open]) .offer-details-body { display: none; }
.pricing-sidebar .price-offer:has(.price-offer-details):not(.price-offer-range) .offer-validity { grid-column: 1 / -1; grid-row: 4; }

.pricing-sidebar .pricing-notes { margin-bottom: 12px; }
.pricing-sidebar .pricing-notes .offer-terms { margin-top: 0; list-style: disc; padding-left: 17px; }

.chamber-price-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 16px; }
.chamber-price-table + .chamber-price-table { margin-top: 24px; }
.price-duration-selector { display: flex; gap: 4px; margin-top: 16px; }
.price-duration-selector button { flex: 1; min-width: 0; min-height: 36px; padding: 6px 2px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--muted); font: 400 12px/1.4 var(--sans); cursor: pointer; }
.price-duration-selector button[aria-pressed=true] { background: #edf5f1; border-color: #ceded8; color: var(--teal); font-weight: 600; }
.duration-price-table tbody td:last-child { font: 400 12px/1.8 var(--sans); color: var(--muted); white-space: nowrap; }
.chamber-price-table caption { text-align: left; font: 600 14px/1.5 var(--sans); color: var(--ink); padding-bottom: 10px; }
.chamber-price-table .chamber-row-label { width: 23%; }
.chamber-price-table thead th { padding: 0 0 9px 5px; font: 400 11px/1.4 var(--sans); color: var(--muted); text-align: right; vertical-align: bottom; }
.chamber-price-table thead th:first-child { text-align: left; padding-left: 0; }
.chamber-price-table tbody :is(th,td) { border-top: 1px solid #e0e8e6; padding: 11px 0 11px 5px; vertical-align: top; text-align: right; }
.chamber-price-table tbody th { padding-left: 0; text-align: left; font: 400 12px/1.6 var(--sans); }
.chamber-price-table td strong { display: block; font: 400 17px/1.4 var(--serif); white-space: nowrap; }
.chamber-price-table td span { display: block; margin-top: 3px; font: 400 10px/1.5 var(--sans); color: var(--muted); }

.price-cents { font-size: .65em; line-height: 0; vertical-align: super; margin-left: .04em; }
.chamber-price-options .chamber-row-label { width: 29%; }
.chamber-price-options td strong { font-size: 16px; }
.chamber-price-table .comparison-note td { padding: 0 0 10px; border-top: 0; text-align: left; }
.comparison-note summary { width: fit-content; cursor: pointer; color: #2a6d7c; font: 400 11px/1.6 var(--sans); }
.comparison-note summary:focus-visible { outline: 2px solid #2a6d7c; outline-offset: 3px; }
.comparison-note .offer-terms { margin-top: 8px; }

.chamber-price-options thead th:not(:first-child) { padding-left: 10px; }
.chamber-column-name, .chamber-column-capacity { display: block; white-space: nowrap; }
.chamber-column-name { color: var(--ink); font-weight: 500; }
.chamber-column-capacity { margin-top: 3px; font-size: 10px; }
