.df-expert-preview {
  --white: #fff;
  --ink: #24212a;
  --muted: #605868;
  --line: #e8dfea;
  --accent: #79388f;
  --tint: #f4e6f7;
  --radius-panel: 16px;
  --radius-photo: 12px;
  --radius-control: 8px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
}
.df-expert-preview * { box-sizing: border-box; }
.df-expert-preview a { color: var(--accent); text-decoration: none; }
.df-expert-preview a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.df-expert-preview .crumbs { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.df-expert-preview .hero, .df-expert-preview .panel { border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--white); }
.df-expert-preview .hero { display: grid; grid-template-columns: minmax(180px, 248px) 1fr; align-items: center; gap: clamp(20px, 4vw, 44px); padding: clamp(18px, 3vw, 32px); }
.df-expert-preview .hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius-photo); background: var(--tint); }
.df-expert-preview h1 { margin: 0 0 10px; font-size: clamp(28px, 4.5vw, 50px); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.df-expert-preview .specialty { margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); }
.df-expert-preview .clinic { margin: 18px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.df-expert-preview .clinic dt { font-weight: 700; }
.df-expert-preview .clinic dd { margin: 4px 0 0; color: var(--muted); }
.df-expert-preview .clinic ul { list-style: none; margin: 0; padding: 0; }
.df-expert-preview .button { display: inline-block; border-radius: var(--radius-control); padding: 10px 16px; background: var(--tint); color: var(--accent); text-decoration: none; font-weight: 700; }
.df-expert-preview .button:hover { background: #ecd4f0; }
.df-expert-preview .columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; gap: 16px; margin-top: 16px; }
.df-expert-preview .panel { padding: clamp(16px, 3vw, 26px); }
.df-expert-preview h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.2; }
.df-expert-preview .education { margin: 0 0 16px; padding-left: 19px; }
.df-expert-preview .education li + li { margin-top: 10px; }
.df-expert-preview table { border-collapse: collapse; width: 100%; }
.df-expert-preview th, .df-expert-preview td { text-align: left; padding-block: 11px; border-bottom: 1px solid var(--line); }
.df-expert-preview thead th { color: var(--muted); font-size: 14px; }
.df-expert-preview tbody th { font-weight: 500; overflow-wrap: anywhere; padding-right: 12px; }
.df-expert-preview th:last-child, .df-expert-preview td { text-align: right; }
.df-expert-preview td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.df-expert-preview .note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
@media (max-width: 720px) {
  .df-expert-preview .hero, .df-expert-preview .columns { grid-template-columns: 1fr; }
  .df-expert-preview .hero img { width: min(100%, 248px); }
}

.df-expert-preview { margin: 0 auto 48px; max-width: 1120px; }
.df-expert-preview .rating { margin: 12px 0 0; color: var(--muted); }
.df-expert-preview .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.df-expert-preview .button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.df-expert-preview .button-primary { min-height: 44px; background: var(--accent); color: var(--white); }
.df-expert-preview .button-primary:hover { background: #652e77; }
.df-expert-preview .expert-booking {
  background: linear-gradient(110deg, #62f4de, #0aead0 52%, #17d4d4);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 65, 66, .85);
}
.df-expert-preview .expert-booking:hover { background: linear-gradient(110deg, #42dec9, #09cdb7 52%, #13bbbc); }
@media (max-width: 720px) {
  .df-expert-preview .expert-booking { width: 100%; }
}
.df-expert-preview .expert-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.df-expert-preview .icon-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: var(--radius-control); background: var(--tint); color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; }
.df-expert-preview .icon-action:hover { background: #ecd4f0; }
.df-expert-preview .icon-action:disabled { background: var(--tint); cursor: default; opacity: .72; }
.df-expert-preview .icon-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.df-expert-preview .icon-action svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.df-expert-preview .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.df-expert-preview .review-dialog { width: min(420px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--white); color: var(--ink); }
.df-expert-preview .review-dialog::backdrop { background: rgba(35, 28, 40, .45); }
.df-expert-preview .review-dialog select { display: block; width: 100%; min-height: 44px; margin: 6px 0 16px; }

.df-expert-preview .hero-text, .df-expert-preview .columns-single { grid-template-columns: minmax(0, 1fr); }
.df-expert-preview .hero-text .rating { margin-bottom: 16px; }
.df-expert-preview .directory-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  margin-top: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: #f5ebf7;
}
.df-expert-preview .directory-cover-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
}
.df-expert-preview .directory-cover h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 650; }
.df-expert-preview .directory-cover-content > p { max-width: 34ch; margin: 2px 0 24px; color: var(--muted); font-size: 16px; }
.df-expert-preview .directory-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 57% center;
}
.df-expert-preview .directory-sections { display: grid; gap: 9px; }
.df-expert-preview .directory-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--ink);
}
.df-expert-preview .directory-section-info { display: grid; gap: 2px; }
.df-expert-preview .directory-section strong { font-size: 18px; line-height: 1.2; }
.df-expert-preview .directory-section-info > span { color: var(--muted); font-size: 13px; }
.df-expert-preview .directory-section:hover, .df-expert-preview .directory-person:hover { background: #faf2fd; color: var(--accent); }
.df-expert-preview .directory-title {
  padding: clamp(20px, 4vw, 38px);
  background: #f5ebf7;
  border-radius: var(--radius-panel);
}
.df-expert-preview .directory-title h1 { font-weight: 650; }
.df-expert-preview .directory-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.df-expert-preview .directory-tabs a {
  padding: 8px 12px;
  border-radius: var(--radius-control);
  color: var(--accent);
  font-weight: 600;
}
.df-expert-preview .directory-tabs a[aria-current="page"] { background: #fff; color: var(--ink); }
.df-expert-preview .directory-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 8px;
}
.df-expert-preview .directory-person {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.df-expert-preview .directory-initials {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-control);
  background: #f2e4f5;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.df-expert-preview .directory-person h2 { margin: 0; font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.df-expert-preview .directory-person p { margin: 4px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.df-expert-preview .directory-arrow { color: var(--accent); font-size: 20px; line-height: 1; }
.df-expert-preview .directory-section .directory-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
}
@media (max-width: 760px) {
  .df-expert-preview .directory-cover, .df-expert-preview .directory-roster { grid-template-columns: minmax(0, 1fr); }
  .df-expert-preview .directory-cover-image { height: clamp(165px, 45vw, 260px); min-height: 0; }
  .df-expert-preview .directory-title { padding: 20px 16px; }
  .df-expert-preview .directory-person { padding-inline: 4px; }
}
.df-expert-preview .expert-search { max-width: 840px; margin-top: 24px; }
.df-expert-preview .expert-search label { display: block; font-weight: 600; }
.df-expert-preview .expert-search-controls, .df-expert-preview .expert-pagination {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.df-expert-preview .expert-search input[type=search] {
  flex: 1 1 160px;
  min-height: 44px;
  min-width: 0;
  width: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
}
.df-expert-preview .expert-search input:focus-visible { outline: 2px solid var(--accent); }
.df-expert-preview .expert-pagination { margin-top: 20px; }
.df-expert-preview .expert-count { margin-top: 16px; }
.df-expert-preview table td { white-space: normal; min-width: 72px; }
.df-expert-preview .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin-top: clamp(16px, 3vw, 30px);
}
.df-expert-preview .crumbs a { color: var(--muted); }
.df-expert-preview .crumbs a:hover, .df-expert-preview .crumbs [aria-current="page"] { color: var(--ink); }
.df-expert-preview .crumbs-separator { color: #746779; }
.df-expert-preview .directory-profile .hero { min-width: 0; }
.df-expert-preview .directory-profile .hero > div { min-width: 0; }
.df-expert-preview .directory-profile h1 {
  max-width: 25ch;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.df-expert-preview .directory-profile .hero-text h1 { max-width: 100%; text-wrap: wrap; }
