.talk-abstract-button,
.talk-abstract-close {
  font: inherit;
  color: var(--teal-dark);
  cursor: pointer;
}

.talk-abstract-button {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.talk-abstract-button:focus-visible,
.talk-abstract-close:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 4px;
}

html.talk-abstract-open {
  overflow: hidden;
}

.talk-abstract-dialog {
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  overflow-y: auto;
  color: inherit;
  background: #fff;
  border: 1px solid #d6e0e8;
  border-radius: 12px;
  box-shadow: 0 20px 70px #18364233;
  line-height: 1.7;
}

.talk-abstract-dialog::backdrop {
  background: #132a3d80;
}

.talk-abstract-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.talk-abstract-header h2 {
  margin: 0;
  font-size: 24px;
}

.talk-abstract-close {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #d6e0e8;
  border-radius: 5px;
}

.talk-abstract-talk-title {
  font-weight: 600;
}

.talk-abstract-dialog p {
  margin: 18px 0 0;
}
