:root {
  color-scheme: light;
  --embed-bg: #ffffff;
  --embed-panel: #f4f7f6;
  --embed-ink: #244541;
  --embed-muted: #61716e;
  --embed-line: #d9e3df;
  --embed-accent: #004f40;
  --embed-gold: #f5bd34;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: transparent;
  color: var(--embed-ink);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

select {
  font: inherit;
}

.embed-shell {
  width: 100%;
  margin: 0;
  background: var(--embed-bg);
}

.embed-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 1fr) minmax(150px, 0.8fr);
  gap: 10px;
  padding: 12px;
  border-radius: 7px 7px 0 0;
  background: var(--embed-accent);
}

.embed-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.embed-field span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.embed-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: #ffffff;
  color: var(--embed-ink);
  padding: 0 10px;
  outline: none;
}

.embed-field select:focus {
  border-color: var(--embed-gold);
  box-shadow: 0 0 0 3px rgba(245, 189, 52, 0.24);
}

.doctor-list {
  display: grid;
  gap: 8px;
  border: 1px solid var(--embed-line);
  background: #ffffff;
  padding: 8px;
}

.doctor-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 0.85fr) minmax(230px, 0.55fr);
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 20px 18px;
  border-radius: 4px;
  background: var(--embed-panel);
}

.doctor-main,
.doctor-details,
.doctor-contact {
  min-width: 0;
}

.doctor-main h2 {
  margin: 0 0 4px;
  color: var(--embed-accent);
  font-size: 18px;
  line-height: 1.15;
}

.doctor-main p,
.doctor-details p,
.doctor-contact span {
  margin: 0;
  color: var(--embed-muted);
  font-size: 14px;
  line-height: 1.35;
}

.doctor-details {
  display: grid;
  gap: 6px;
}

.doctor-details strong {
  color: var(--embed-ink);
  font-size: 17px;
  line-height: 1.2;
}

.doctor-details p {
  color: var(--embed-ink);
  font-weight: 700;
}

.doctor-contact {
  display: grid;
  justify-items: start;
  text-align: left;
}

.doctor-contact span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 28px;
  max-width: 100%;
  border-radius: 999px;
  background: #3f5852;
  color: var(--embed-gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  padding: 4px 14px;
  text-align: center;
  white-space: nowrap;
}

.embed-status {
  margin: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--embed-line);
  border-bottom: 1px solid var(--embed-line);
  border-left: 1px solid var(--embed-line);
  color: var(--embed-muted);
  font-size: 14px;
}

.embed-status:empty {
  display: none;
}

@media (max-width: 760px) {
  .embed-toolbar {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .doctor-contact {
    justify-items: start;
    text-align: left;
  }

  .doctor-contact span {
    width: auto;
    white-space: normal;
  }
}
