.rbmo-author-info {
  --rbmo-border: #d7e1e8;
  --rbmo-text: #172331;
  --rbmo-muted: #5d6c7b;
  --rbmo-accent: #007c91;
  --rbmo-accent-dark: #005b6d;
  --rbmo-surface: #ffffff;
  --rbmo-soft: #f6f8fb;
  background: var(--rbmo-surface);
  border: 1px solid var(--rbmo-border);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(23, 35, 49, .06);
  color: var(--rbmo-text);
  display: grid;
  gap: .85rem;
  align-content: start;
  line-height: 1.5;
  padding: 1rem;
}

.rbmo-author-info *,
.rbmo-author-info *::before,
.rbmo-author-info *::after {
  box-sizing: border-box;
}

.rbmo-author-info__header {
  display: grid;
  gap: .1rem;
}

.rbmo-author-info__eyebrow,
.rbmo-author-info__header h2,
.rbmo-author-info__header h3,
.rbmo-author-info__header h4,
.rbmo-author-info__empty,
.rbmo-author-info__corresponding {
  margin: 0;
}

.rbmo-author-info__eyebrow {
  color: var(--rbmo-accent-dark);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rbmo-author-info__header h2,
.rbmo-author-info__header h3,
.rbmo-author-info__header h4 {
  line-height: 1.25;
}

.rbmo-author-info__header h2.rbmo-author-info__title--auto {
  font-size: 1.5rem !important;
}

.rbmo-author-info__header h3.rbmo-author-info__title--auto {
  font-size: 1.25rem !important;
}

.rbmo-author-info__header h4.rbmo-author-info__title--auto {
  font-size: 1.1rem !important;
}

.rbmo-author-info__title--small {
  font-size: 1rem !important;
}

.rbmo-author-info__title--normal {
  font-size: 1.25rem !important;
}

.rbmo-author-info__title--large {
  font-size: 1.5rem !important;
}

.rbmo-author-info__list {
  border-top: 1px solid var(--rbmo-border);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rbmo-author-info__single {
  border-top: 1px solid var(--rbmo-border);
  display: grid;
  gap: .75rem;
  padding-top: .75rem;
}

.rbmo-author-info__item {
  border-bottom: 1px solid var(--rbmo-border);
  position: relative;
}

.rbmo-author-info__author {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rbmo-text);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: .4rem;
  justify-content: space-between;
  min-height: 2.35rem;
  padding: .45rem 0;
  text-align: left;
  width: 100%;
}

.rbmo-author-info__author:hover,
.rbmo-author-info__author:focus-visible {
  color: var(--rbmo-accent-dark);
}

.rbmo-author-info__author:disabled {
  color: var(--rbmo-text);
  cursor: default;
}

.rbmo-author-info__author-name {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
  min-width: 0;
}

.rbmo-author-info__mail-mark {
  align-items: center;
  border: 1px solid var(--rbmo-accent);
  border-radius: 999px;
  color: var(--rbmo-accent-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .72rem;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  width: 1.15rem;
}

.rbmo-author-info__id-mark {
  align-items: center;
  background: #a6ce39;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 700;
  height: 1.15rem;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  width: 1.15rem;
}

.rbmo-author-info__panel {
  background: #ffffff;
  border: 1px solid var(--rbmo-border);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(23, 35, 49, .16);
  display: grid;
  gap: .75rem;
  left: 0;
  margin-top: .25rem;
  padding: .85rem;
  position: absolute;
  top: 100%;
  width: min(22rem, 100vw - 2rem);
  z-index: 10;
}

.rbmo-author-info__panel[hidden] {
  display: none !important;
}

.rbmo-author-info__panel-heading {
  align-items: start;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.rbmo-author-info__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rbmo-accent-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  line-height: 1;
  padding: .2rem;
}

.rbmo-author-info__detail {
  display: grid;
  gap: .25rem;
}

.rbmo-author-info__detail > span {
  color: var(--rbmo-muted);
  font-size: .8125rem;
  font-weight: 700;
}

.rbmo-author-info__detail ul {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding-left: 1.1rem;
}

.rbmo-author-info__orcid {
  align-items: center;
  color: var(--rbmo-accent-dark);
  display: inline-flex;
  gap: .4rem;
  text-decoration: none;
}

.rbmo-author-info__orcid:hover,
.rbmo-author-info__orcid:focus-visible {
  text-decoration: underline;
}

.rbmo-author-info__corresponding {
  background: var(--rbmo-soft);
  border-left: 3px solid var(--rbmo-accent);
  border-radius: 6px;
  display: grid;
  gap: .15rem;
  padding: .65rem;
}

.rbmo-author-info__corresponding a {
  color: var(--rbmo-accent-dark);
  overflow-wrap: anywhere;
}

.rbmo-author-info__empty {
  color: var(--rbmo-muted);
}

@media (max-width: 767px) {
  .rbmo-author-info {
    margin-block: 1rem;
  }

  .rbmo-author-info__panel {
    box-shadow: none;
    margin: .25rem 0 .75rem;
    position: static;
    width: 100%;
  }
}
