#role-explorer {
  --rc-ink: #1b2d27;
  --rc-paper: #f5f3ec;
  --rc-mint: #cee9ad;
  --rc-muted: #c3cdc0;
  --rc-line: #536459;
  color: var(--rc-paper);
  background: var(--rc-ink);
  font-family: var(--sans, Geist, Arial, sans-serif);
  scroll-margin-top: 5rem;
}
#role-explorer *, #role-explorer *::before, #role-explorer *::after { box-sizing: border-box; }
#role-explorer [hidden] { display: none; }
#role-explorer .rc-frame {
  max-width: 100rem;
  margin: 0 auto;
  padding: clamp(3.3rem, 6vw, 6.8rem) var(--gutter, clamp(1.25rem, 6vw, 6.5rem));
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 2.5rem clamp(2rem, 8vw, 8rem);
  align-items: start;
}
#role-explorer .rc-kicker, #role-explorer .rc-prompt-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font: 600 .7rem/1.3 var(--sans, Geist, Arial, sans-serif);
  text-transform: uppercase;
  letter-spacing: .16em;
}
#role-explorer .rc-kicker { color: var(--rc-mint); }
#role-explorer .rc-icon { color: var(--rc-mint); font-size: 1.25rem; line-height: 1; }
#role-explorer #explorer-title {
  margin: 1.45rem 0 1.1rem;
  font: 400 clamp(2.45rem, 4.25vw, 4.9rem)/.99 var(--sans, Geist, Arial, sans-serif);
  letter-spacing: -.066em;
  color: var(--rc-paper);
  text-transform: none;
}
#role-explorer #explorer-title em {
  font: italic 400 1.12em/.95 var(--display, "Instrument Serif", Georgia, serif);
  letter-spacing: -.049em;
  color: var(--rc-mint);
}
#role-explorer .rc-intro > p {
  margin: 0;
  max-width: 33ch;
  color: var(--rc-muted);
  font: 400 1rem/1.52 var(--sans, Geist, Arial, sans-serif);
}
#role-explorer .rc-map {
  position: relative;
  width: 10rem;
  height: 8.7rem;
  margin-top: 1.8rem;
}
#role-explorer .rc-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6.45rem;
  height: 6.45rem;
  transform: translate(-50%,-50%);
  border: 1px solid #82917b;
  border-radius: 50%;
  background: repeating-conic-gradient(from -.6deg, #8a9e86 0deg 1.1deg, transparent 1.1deg 15deg);
}
#role-explorer .rc-orbit::before {
  content: '';
  position: absolute;
  inset: .28rem;
  background: var(--rc-ink);
  border-radius: 50%;
}
#role-explorer .rc-orbit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: .35rem;
  height: .35rem;
  background: var(--rc-paper);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
#role-explorer .rc-cross { position: absolute; background: #496154; }
#role-explorer .rc-cross-x { height: 1px; left: .4rem; right: .4rem; top: 50%; }
#role-explorer .rc-cross-y { width: 1px; top: .4rem; bottom: .4rem; left: 50%; }
#role-explorer .rc-needle {
  --rc-angle: 26deg;
  position: absolute;
  inset: .6rem 43%;
  transform: rotate(var(--rc-angle));
  transition: transform .5s ease;
}
#role-explorer .rc-needle::before, #role-explorer .rc-needle::after { content: ''; position: absolute; inset: 0; }
#role-explorer .rc-needle::before { background: var(--rc-mint); clip-path: polygon(50% 0,100% 50%,0 50%); }
#role-explorer .rc-needle::after { background: #819578; clip-path: polygon(0 50%,100% 50%,50% 100%); }
#role-explorer .rc-bearing {
  position: absolute;
  color: var(--rc-muted);
  font: 500 .55rem/1 var(--sans, Geist, Arial, sans-serif);
  letter-spacing: .05em;
}
#role-explorer .rc-bearing:nth-of-type(1), #role-explorer .rc-bearing:nth-of-type(4) { left: 50%; transform: translateX(-50%); }
#role-explorer .rc-bearing:nth-of-type(1) { top: .04rem; }
#role-explorer .rc-bearing:nth-of-type(2) { right: .63rem; top: 23%; }
#role-explorer .rc-bearing:nth-of-type(3) { right: .25rem; bottom: 23%; }
#role-explorer .rc-bearing:nth-of-type(4) { bottom: .04rem; }
#role-explorer .rc-bearing:nth-of-type(5) { left: .06rem; bottom: 23%; }
#role-explorer .rc-bearing:nth-of-type(6) { left: .2rem; top: 23%; }
#role-explorer .rc-bearing.rc-active { color: var(--rc-mint); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#role-explorer .rc-workspace { min-width: 0; }
#role-explorer .rc-form, #role-explorer .rc-examples { margin: 0; }
#role-explorer .rc-form label {
  display: block;
  margin: 0 0 .7rem;
  font: 500 clamp(1.25rem, 2vw, 1.55rem)/1.22 var(--sans, Geist, Arial, sans-serif);
  color: var(--rc-paper);
  letter-spacing: -.035em;
}
#role-explorer .rc-form textarea {
  display: block;
  width: 100%;
  min-height: 8rem;
  max-width: 100%;
  padding: .95rem 1.05rem;
  margin: 0;
  resize: vertical;
  border: 1px solid #829085;
  border-radius: .25rem;
  background: #f5f5ed;
  color: var(--rc-ink);
  font: 400 1rem/1.48 var(--sans, Geist, Arial, sans-serif);
  letter-spacing: normal;
  box-shadow: none;
}
#role-explorer .rc-form textarea::placeholder { color: #5b665b; opacity: 1; }
#role-explorer .rc-form-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: .9rem 0 0; }
#role-explorer #rc-privacy {
  flex: 1 1 12rem;
  margin: 0;
  max-width: 47ch;
  color: var(--rc-muted);
  font: 400 .8rem/1.55 var(--sans, Geist, Arial, sans-serif);
}
#role-explorer button {
  cursor: pointer;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
}
#role-explorer .rc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex: none;
  min-height: 2.9rem;
  border: 1px solid var(--rc-mint);
  border-radius: 3rem;
  background: var(--rc-mint);
  color: #1b2d27;
  padding: .65rem 1.1rem;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
}
#role-explorer .rc-submit:hover { background: #e1f4c7; border-color: #e1f4c7; }
#role-explorer .rc-submit span { font-size: 1.2rem; line-height: 1; }
#role-explorer .rc-examples { border-top: 1px solid var(--rc-line); margin-top: 1.4rem; padding-top: 1.1rem; }
#role-explorer .rc-examples > p {
  margin: 0 0 .55rem;
  color: var(--rc-paper);
  font: 500 .83rem/1.45 var(--sans, Geist, Arial, sans-serif);
}
#role-explorer .rc-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; width: min(100%, 30rem); }
#role-explorer .rc-example {
  display: inline-block;
  border: 1px solid #738577;
  border-radius: 3rem;
  background: transparent;
  color: var(--rc-paper);
  padding: .37rem .76rem;
  min-height: 2.1rem;
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.35;
}
#role-explorer .rc-example:hover { background: #344539; border-color: var(--rc-mint); }
#role-explorer .rc-about { margin: 1rem 0 0; color: var(--rc-muted); font-size: .8rem; }
#role-explorer .rc-about summary { width: fit-content; cursor: pointer; padding-block: .28rem; }
#role-explorer .rc-about p { margin: .4rem 0 0; max-width: 66ch; font-size: inherit; color: inherit; line-height: 1.55; }
#role-explorer :where(a, button, summary, textarea, [tabindex="-1"]):focus-visible { outline: 2px solid var(--rc-mint); outline-offset: 4px; }
#role-explorer .rc-results {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rc-line);
}
#role-explorer .rc-results-title {
  margin: 0 0 1.15rem;
  color: var(--rc-paper);
  font: 400 clamp(1.7rem, 3vw, 2.7rem)/1.12 var(--sans, Geist, Arial, sans-serif);
  letter-spacing: -.05em;
  scroll-margin-top: 6rem;
}
#role-explorer .rc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}
#role-explorer .rc-card { padding: 1.4rem; border: 1px solid #607466; background: #24382d; min-width: 0; }
#role-explorer .rc-card h4 { margin: 0 0 .7rem; font: 500 clamp(1.12rem, 2.25vw, 1.5rem)/1.25 var(--sans, Geist, Arial, sans-serif); letter-spacing: -.029em; }
#role-explorer .rc-role-link, #role-explorer .rc-all { color: var(--rc-mint); text-underline-offset: .18em; }
#role-explorer .rc-role-link { text-decoration: none; }
#role-explorer .rc-role-link:hover { text-decoration: underline; }
#role-explorer .rc-link-arrow { white-space: nowrap; }
#role-explorer .rc-hint, #role-explorer .rc-connection, #role-explorer .rc-question {
  max-width: 75ch;
  margin: 0;
  color: var(--rc-paper);
  font: 400 .94rem/1.55 var(--sans, Geist, Arial, sans-serif);
}
#role-explorer .rc-prompt-label { color: var(--rc-muted); font-size: .63rem; letter-spacing: .1em; margin: 1.15rem 0 .3rem; }
#role-explorer .rc-cards + .rc-hint { margin-top: .8rem; }
#role-explorer .rc-all { display: inline-block; margin-top: 1rem; padding-block: .3rem; font: 500 .86rem/1.4 var(--sans, Geist, Arial, sans-serif); text-decoration: underline; }
@media (max-width: 52rem) {
  #role-explorer .rc-frame { grid-template-columns: 1fr; gap: 2rem; }
  #role-explorer .rc-intro { position: relative; padding-right: 11rem; }
  #role-explorer .rc-map { position: absolute; top: 50%; right: .3rem; margin: 0; transform: translateY(-50%); }
  #role-explorer #explorer-title { margin-top: 1rem; }
}
@media (max-width: 38rem) {
  #role-explorer .rc-intro { padding-right: 0; }
  #role-explorer .rc-map { display: none; }
  #role-explorer .rc-frame { padding-inline: var(--gutter, 1.2rem); gap: 1.55rem; }
  #role-explorer .rc-form-bottom { align-items: flex-start; flex-direction: column; }
  #role-explorer .rc-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #role-explorer #rc-privacy { flex-basis: auto; }
  #role-explorer .rc-card { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  #role-explorer .rc-needle { transition: none; }
}
