.research-area-switcher {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--bank-ink, #1c1814);
  font:
    400 13px/1.5 Arial,
    sans-serif;
}
.research-area-switcher label {
  font-weight: 600;
}
.research-area-switcher select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--bank-line, #b8aab4);
  border-radius: 4px;
  background: var(--bank-card, #fffdf8);
  color: inherit;
  font: inherit;
}
.research-area-switcher small,
.research-area-switcher [role='status'] {
  font-size: 11px;
  max-width: 38ch;
}
.research-area-switcher [role='status'] {
  padding: 0;
}
.sidebar > .research-area-switcher,
#cuToolShell > .research-area-switcher {
  margin: 4px 14px 14px;
  flex-shrink: 0;
}
.bank-context .research-area-switcher {
  max-width: 320px;
}
.research-interest {
  margin: 30px 0;
  padding: 20px;
  border: 1px solid var(--sloe-line, #ded7ce);
  border-radius: 4px;
  max-width: 720px;
}
.research-interest legend {
  padding: 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.research-interest label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 8px 28px 8px 0;
  min-height: 36px;
  cursor: pointer;
}
.research-interest input {
  width: 18px;
  height: 18px;
  accent-color: var(--sloe-plum, #5b2b54);
}
.research-interest p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 65ch;
  margin: 10px 0 0;
}
.research-area-switcher select:focus-visible,
.research-interest input:focus-visible {
  outline: 3px solid var(--bank-navy, #5b2b54);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .home-active .sidebar > .research-area-switcher {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    margin: 12px 0 0;
  }
  .home-active .sidebar > .research-area-switcher label,
  .home-active .sidebar > .research-area-switcher small,
  .home-active .sidebar > .research-area-switcher [role='status'] {
    grid-column: 1 / -1;
  }
  .home-active .sidebar > .research-area-switcher button {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
}
@media (max-width: 600px) {
  .bank-context {
    gap: 12px;
    align-items: flex-start;
  }
  .bank-context .research-area-switcher {
    flex: 1;
  }
  .bank-stage {
    max-width: 100px;
    text-align: right;
  }
  .research-interest {
    padding: 16px;
  }
  .research-interest label {
    display: flex;
  }
}

.research-area-switcher button {
  align-self: flex-start;
  padding: 4px 0;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--bank-navy, #5b2b54);
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
