/* Patient concerns and the clinic's recommendation. Shared theme tokens
   keep the current booking shell and each clinic's colours and corners. */
.bodymap-pane {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  min-height: 0;
  justify-content: center;
}
.bodymap-panelhead,
.bodymap-hint {
  flex: none;
}
.bodymap-q {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.bodymap-sub {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.bodymap-scroll {
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
  padding: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  overflow-anchor: none;
  scrollbar-gutter: stable;
  scroll-padding: 2px;
}
.bodymap-sheet[data-mode="map"] .bodymap-scroll {
  flex: 0 1 auto;
  overflow: visible;
  padding: 0;
  scrollbar-gutter: auto;
}
.bodymap-content {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.bodymap-panelhead {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}
.bodymap-panelhead--selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.bodymap-panelhead--selected .bodymap-q {
  max-width: 100%;
}
.bodymap-change {
  white-space: nowrap;
}
.bodymap-choices {
  display: grid;
  gap: 12px;
}
.bodymap-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--ground);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.bodymap-choice::after {
  content: "";
  flex: none;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.bodymap-choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--bm-tint);
}
.bodymap-choice[aria-pressed="true"]::after {
  border: 5px solid var(--accent);
}
.bodymap-change {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--bm-accent-text);
  font: inherit;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.bodymap-choice:focus-visible,
.bodymap-change:focus-visible,
.bodymap-also-row:focus-visible,
.bodymap-whole-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.bodymap-whole-open {
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--ground);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.bodymap-whole-open .bodymap-sub {
  margin: 0;
}
.bodymap-whole-label {
  font-size: 16px;
  font-weight: 600;
}
@media (hover: hover) {
  .bodymap-choice:hover,
  .bodymap-also-row:hover,
  .bodymap-whole-open:hover {
    background: var(--surface);
    border-color: var(--accent);
  }
}
.bodymap-result:empty {
  display: none;
}
.bodymap-ticket {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--ground);
}
.bodymap-ticket-top {
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
}
.bodymap-about {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.bodymap-ticket-stub {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid var(--line);
}
.bodymap-label {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.bodymap-person {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.bodymap-who {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bodymap-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.bodymap-role {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.bodymap-book {
  width: 100%;
  min-height: 48px;
  height: auto;
  margin-top: 12px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
.bodymap-also {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid var(--line);
}
.bodymap-also-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--ground);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.bodymap-face {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bm-tint);
  color: var(--ink);
  font-weight: 600;
}
.bodymap-face--lg {
  width: 56px;
  height: 56px;
  font-size: 16px;
}
.bodymap-face--sm {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-control);
  font-size: 16px;
}
.bodymap-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}
.bodymap-also-go {
  font-size: 16px;
  font-weight: 600;
  color: var(--bm-accent-text);
}
@media (prefers-reduced-motion: no-preference) {
  .bodymap-dialog[open] .bodymap-sheet {
    animation: bodymap-in 0.18s ease-out;
  }
}
@keyframes bodymap-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bodymap-dialog *,
  .bodymap-dialog *::before,
  .bodymap-dialog *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 640px) {
  .bodymap-q {
    font-size: 20px;
  }
  .bodymap-label,
  .bodymap-role {
    font-size: 16px;
  }
  .bodymap-ticket-top,
  .bodymap-ticket-stub,
  .bodymap-also {
    padding: 24px 12px;
  }
  .bodymap-also-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .bodymap-also-go {
    grid-column: 2;
  }
}
