:root {
  --rbt-ref-blue-900: #0a3479;
  --rbt-ref-blue-800: #0e459c;
  --rbt-ref-blue-700: #1760bf;
  --rbt-ref-blue-100: #dcedff;
  --rbt-ref-blue-050: #f3f9ff;
  --rbt-ref-ink: #172033;
  --rbt-ref-muted: #59657a;
  --rbt-ref-border: #c8d7ea;
  --rbt-ref-white: #ffffff;
  --rbt-ref-yellow: #ffd43b;
  --rbt-ref-yellow-soft: #fff7cf;
  --rbt-ref-green: #237b3d;
  --rbt-ref-green-soft: #eaf8ee;
  --rbt-ref-orange: #d96c0b;
  --rbt-ref-orange-text: #984902;
  --rbt-ref-orange-soft: #fff0df;
  --rbt-ref-purple: #6b4fb3;
  --rbt-ref-purple-soft: #f1edff;
  --rbt-ref-red: #a43a33;
  --rbt-ref-red-soft: #fff1ef;
  --rbt-ref-shadow: 0 13px 34px rgba(22, 67, 120, 0.12);
  --rbt-ref-shadow-small: 0 5px 16px rgba(22, 67, 120, 0.1);
  --rbt-ref-radius-xl: 28px;
  --rbt-ref-radius-lg: 20px;
  --rbt-ref-radius-md: 14px;
  --rbt-ref-page-width: 1180px;
  --rbt-ref-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --rbt-ref-display: "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fbff;
  color: var(--rbt-ref-ink);
}

.rbt-ref,
.rbt-ref * {
  box-sizing: border-box;
}

.rbt-ref {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--rbt-ref-font);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 212, 59, 0.18), transparent 21rem),
    radial-gradient(circle at 90% 14%, rgba(92, 201, 255, 0.2), transparent 24rem),
    linear-gradient(180deg, #ffffff 0, #f5faff 33rem, #f8fbff 100%);
}

.rbt-ref a {
  color: var(--rbt-ref-blue-800);
}

.rbt-ref button,
.rbt-ref input,
.rbt-ref summary {
  font: inherit;
}

.rbt-ref button,
.rbt-ref summary,
.rbt-ref a {
  -webkit-tap-highlight-color: transparent;
}

.rbt-ref button {
  cursor: pointer;
}

.rbt-ref button:disabled {
  cursor: default;
  opacity: 0.52;
}

.rbt-ref :focus-visible {
  outline: 3px solid var(--rbt-ref-blue-900);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--rbt-ref-yellow);
}

.rbt-ref__skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-180%);
  padding: 12px 16px;
  border: 3px solid var(--rbt-ref-blue-900);
  border-radius: 12px;
  background: var(--rbt-ref-white);
  color: var(--rbt-ref-blue-900);
  font-family: var(--rbt-ref-font);
  font-weight: 800;
  text-decoration: none;
}

.rbt-ref__skip-link:focus {
  transform: translateY(0);
}

.rbt-ref__site-header {
  position: relative;
  padding: 18px 16px 34px;
  border-bottom: 5px solid var(--rbt-ref-blue-800);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 246, 255, 0.95)),
    repeating-linear-gradient(
      -45deg,
      rgba(14, 69, 156, 0.04) 0,
      rgba(14, 69, 156, 0.04) 8px,
      transparent 8px,
      transparent 16px
    );
}

.rbt-ref__site-header::after {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: -13px;
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: var(--rbt-ref-yellow);
  content: "";
}

.rbt-ref__header-inner,
.rbt-ref__main,
.rbt-ref__footer {
  width: min(100% - 32px, var(--rbt-ref-page-width));
  margin-inline: auto;
}

.rbt-ref__home-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid var(--rbt-ref-blue-800);
  border-radius: 999px;
  background: var(--rbt-ref-white);
  box-shadow: 0 3px 0 var(--rbt-ref-blue-100);
  color: var(--rbt-ref-blue-900);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.rbt-ref__home-link:hover {
  background: var(--rbt-ref-blue-050);
}

.rbt-ref__title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.rbt-ref__title-icon {
  width: clamp(60px, 15vw, 84px);
  height: auto;
  filter: drop-shadow(0 7px 9px rgba(14, 69, 156, 0.14));
}

.rbt-ref__eyebrow,
.rbt-ref__section-kicker {
  margin: 0 0 4px;
  color: var(--rbt-ref-blue-700);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rbt-ref h1,
.rbt-ref h2,
.rbt-ref h3,
.rbt-ref p {
  overflow-wrap: anywhere;
}

.rbt-ref h1 {
  margin: 0;
  color: var(--rbt-ref-blue-900);
  font-family: var(--rbt-ref-display);
  font-size: clamp(2rem, 8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.rbt-ref__subtitle {
  max-width: 720px;
  margin: 10px 0 0;
  color: #455269;
  font-size: clamp(0.98rem, 2.7vw, 1.2rem);
}

.rbt-ref__review-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid #b8d9c0;
  border-radius: 999px;
  background: var(--rbt-ref-green-soft);
  color: #235332;
  font-size: 0.83rem;
}

.rbt-ref__review-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid var(--rbt-ref-white);
  border-radius: 50%;
  background: var(--rbt-ref-green);
  box-shadow: 0 0 0 1px var(--rbt-ref-green);
}

.rbt-ref__main {
  padding-block: 24px 56px;
}

.rbt-ref__boundary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 2px solid #e1bd3a;
  border-radius: var(--rbt-ref-radius-lg);
  background: var(--rbt-ref-yellow-soft);
  box-shadow: var(--rbt-ref-shadow-small);
}

.rbt-ref__boundary-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid var(--rbt-ref-blue-900);
  border-radius: 50%;
  background: var(--rbt-ref-white);
  color: var(--rbt-ref-blue-900);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.rbt-ref__boundary h2 {
  margin: 0 0 6px;
  color: #503c00;
  font-size: 1rem;
}

.rbt-ref__boundary p {
  margin: 0;
  color: #493f20;
  font-size: 0.91rem;
}

.rbt-ref__boundary-affiliation {
  margin-top: 8px !important;
  font-size: 0.8rem !important;
}

.rbt-ref__finder {
  margin-top: 24px;
  padding: clamp(18px, 4vw, 30px);
  border: 3px solid var(--rbt-ref-blue-800);
  border-radius: var(--rbt-ref-radius-xl);
  background: var(--rbt-ref-white);
  box-shadow: var(--rbt-ref-shadow);
}

.rbt-ref__finder-heading,
.rbt-ref__sources-header,
.rbt-ref__results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.rbt-ref__finder h2,
.rbt-ref__sources h2 {
  margin: 0;
  color: var(--rbt-ref-blue-900);
  font-family: var(--rbt-ref-display);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1.1;
}

.rbt-ref__shortcut-hint {
  margin: 0;
  color: var(--rbt-ref-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.rbt-ref kbd {
  display: inline-block;
  min-width: 26px;
  padding: 2px 7px;
  border: 1px solid #adbbcd;
  border-bottom-width: 3px;
  border-radius: 6px;
  background: #f6f8fb;
  color: #34445b;
  font-family: var(--rbt-ref-font);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.rbt-ref__search-wrap {
  margin-top: 20px;
}

.rbt-ref__search-label,
.rbt-ref__filter-label {
  display: block;
  margin: 0 0 7px;
  color: #35445a;
  font-size: 0.85rem;
  font-weight: 850;
}

.rbt-ref__search-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  border: 2px solid #8eaccf;
  border-radius: 16px;
  background: #fbfdff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.rbt-ref__search-control:focus-within {
  border-color: var(--rbt-ref-blue-700);
  box-shadow: 0 0 0 4px rgba(23, 96, 191, 0.13);
}

.rbt-ref__search-icon {
  position: relative;
  width: 19px;
  height: 19px;
  margin-left: 17px;
  border: 3px solid var(--rbt-ref-blue-700);
  border-radius: 50%;
}

.rbt-ref__search-icon::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: var(--rbt-ref-blue-700);
  content: "";
  transform: rotate(45deg);
}

.rbt-ref__search-control input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 12px 12px 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rbt-ref-ink);
  font-size: 1rem;
}

.rbt-ref__search-control input::placeholder {
  color: #5f6c82;
  opacity: 1;
}

.rbt-ref__clear-search {
  min-width: 64px;
  min-height: 40px;
  margin-right: 7px;
  padding-inline: 11px;
  border: 0;
  border-radius: 10px;
  background: var(--rbt-ref-blue-100);
  color: var(--rbt-ref-blue-900);
  font-size: 0.83rem;
  font-weight: 850;
}

.rbt-ref__search-help {
  margin: 7px 2px 0;
  color: var(--rbt-ref-muted);
  font-size: 0.78rem;
}

.rbt-ref__filters-block {
  margin-top: 18px;
}

.rbt-ref__filters {
  display: flex;
  gap: 9px;
  margin-inline: -3px;
  padding: 3px 3px 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.rbt-ref__filter-button {
  min-height: 45px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 2px solid #b6c9e0;
  border-radius: 999px;
  background: var(--rbt-ref-white);
  color: #35445a;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.rbt-ref__filter-button:hover {
  border-color: var(--rbt-ref-blue-700);
  background: var(--rbt-ref-blue-050);
}

.rbt-ref__filter-button[aria-pressed="true"] {
  border-color: var(--rbt-ref-blue-800);
  background: var(--rbt-ref-blue-800);
  color: var(--rbt-ref-white);
  box-shadow: 0 4px 0 var(--rbt-ref-blue-100);
}

.rbt-ref__results-toolbar {
  align-items: center;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #dce6f1;
}

.rbt-ref__results-toolbar p {
  margin: 0;
  color: #405069;
  font-size: 0.84rem;
  font-weight: 750;
}

.rbt-ref__expand-controls {
  display: flex;
  gap: 6px;
}

.rbt-ref__expand-controls button {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #b9c9dc;
  border-radius: 10px;
  background: #f7faff;
  color: var(--rbt-ref-blue-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.rbt-ref__card-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.rbt-ref__card {
  --rbt-ref-card-accent: var(--rbt-ref-blue-700);
  --rbt-ref-card-soft: var(--rbt-ref-blue-050);
  min-width: 0;
  border: 2px solid var(--rbt-ref-border);
  border-top: 7px solid var(--rbt-ref-card-accent);
  border-radius: var(--rbt-ref-radius-lg);
  background: var(--rbt-ref-white);
  box-shadow: var(--rbt-ref-shadow-small);
  scroll-margin-top: 18px;
}

.rbt-ref__card[data-category="data"] {
  --rbt-ref-card-accent: var(--rbt-ref-blue-700);
  --rbt-ref-card-soft: var(--rbt-ref-blue-050);
}

.rbt-ref__card[data-category="teaching"] {
  --rbt-ref-card-accent: var(--rbt-ref-purple);
  --rbt-ref-card-soft: var(--rbt-ref-purple-soft);
}

.rbt-ref__card[data-category="behavior"] {
  --rbt-ref-card-accent: var(--rbt-ref-orange-text);
  --rbt-ref-card-soft: var(--rbt-ref-orange-soft);
}

.rbt-ref__card[data-category="rapport"] {
  --rbt-ref-card-accent: var(--rbt-ref-green);
  --rbt-ref-card-soft: var(--rbt-ref-green-soft);
}

.rbt-ref__card[data-category="documentation"] {
  --rbt-ref-card-accent: var(--rbt-ref-red);
  --rbt-ref-card-soft: var(--rbt-ref-red-soft);
}

.rbt-ref__card[open] {
  border-color: var(--rbt-ref-card-accent);
  box-shadow: 0 15px 36px rgba(22, 67, 120, 0.16);
}

.rbt-ref__card[data-category="behavior"],
.rbt-ref__card[data-category="behavior"][open] {
  border-top-color: var(--rbt-ref-orange);
}

.rbt-ref__card > summary {
  display: grid;
  min-height: 176px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 19px;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
}

.rbt-ref__card > summary::-webkit-details-marker {
  display: none;
}

.rbt-ref__card > summary:hover {
  background: linear-gradient(135deg, var(--rbt-ref-card-soft), #ffffff 62%);
}

.rbt-ref__card-heading {
  min-width: 0;
}

.rbt-ref__category-pill {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--rbt-ref-card-accent) 45%, white);
  border-radius: 999px;
  background: var(--rbt-ref-card-soft);
  color: var(--rbt-ref-card-accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.rbt-ref__card-title {
  display: block;
  margin: 0;
  color: #18233a;
  font-family: var(--rbt-ref-display);
  font-size: clamp(1.25rem, 4vw, 1.62rem);
  line-height: 1.12;
}

.rbt-ref__cue {
  display: block;
  margin: 6px 0 0;
  color: var(--rbt-ref-card-accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.rbt-ref__compact-definition {
  display: block;
  margin: 10px 0 0;
  color: #47546a;
  font-size: 0.91rem;
  line-height: 1.5;
}

.rbt-ref__aliases {
  display: block;
  margin-top: 12px;
}

.rbt-ref__aliases-label {
  display: block;
  margin-bottom: 6px;
  color: #445169;
  font-size: 0.78rem;
  font-weight: 800;
}

.rbt-ref__alias-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rbt-ref__alias-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #a9bad0;
  border-radius: 999px;
  background: #f7faff;
  color: #2f4059;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
}

.rbt-ref__card-toggle {
  position: relative;
  display: grid;
  min-width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--rbt-ref-card-accent);
  border-radius: 15px;
  background: var(--rbt-ref-card-soft);
  color: var(--rbt-ref-card-accent);
}

.rbt-ref__card-toggle::before,
.rbt-ref__card-toggle::after {
  position: absolute;
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.rbt-ref__card-toggle::after {
  transform: rotate(90deg);
  transition: transform 150ms ease;
}

.rbt-ref__card[open] .rbt-ref__card-toggle::after {
  transform: rotate(0);
}

.rbt-ref__card-body {
  padding: 0 19px 20px;
  border-top: 1px solid #dce5ef;
}

.rbt-ref__detail-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rbt-ref__detail-block {
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
}

.rbt-ref__detail-label,
.rbt-ref__review-note h3 {
  margin: 0 0 5px;
  color: #27364e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rbt-ref__detail-label {
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rbt-ref__detail-block p,
.rbt-ref__plan-reminder p {
  margin: 0;
  color: #3f4b5f;
  font-size: 0.9rem;
}

.rbt-ref__example {
  border: 1px solid #c9daf0;
  background: var(--rbt-ref-blue-050);
}

.rbt-ref__example .rbt-ref__detail-label {
  color: var(--rbt-ref-blue-800);
}

.rbt-ref__example-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--rbt-ref-blue-800);
  color: var(--rbt-ref-white);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.rbt-ref__caution {
  margin-top: 12px;
  padding: 14px;
  border-left: 5px solid var(--rbt-ref-orange);
  border-radius: 12px;
  background: #fff8ef;
}

.rbt-ref__caution .rbt-ref__detail-label {
  color: #7a3b05;
}

.rbt-ref__caution ul {
  margin: 7px 0 0;
  padding-left: 1.25rem;
  color: #4e443a;
  font-size: 0.88rem;
}

.rbt-ref__caution li + li {
  margin-top: 6px;
}

.rbt-ref__plan-reminder {
  margin-top: 12px;
  padding: 14px;
  border: 2px solid #aad1b4;
  border-radius: 14px;
  background: var(--rbt-ref-green-soft);
}

.rbt-ref__plan-reminder .rbt-ref__detail-label {
  color: #1e5c31;
}

.rbt-ref__related {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #bdcde0;
  border-radius: 14px;
  background: #f8fbff;
}

.rbt-ref__related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.rbt-ref__related-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid #91add0;
  border-radius: 10px;
  background: var(--rbt-ref-white);
  color: var(--rbt-ref-blue-900);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.rbt-ref__related-link:hover {
  border-color: var(--rbt-ref-blue-700);
  background: var(--rbt-ref-blue-050);
}

.rbt-ref__editorial-metadata {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 4px solid #8da4bf;
  border-radius: 8px;
  background: #f5f8fc;
  color: #3c4c63;
}

.rbt-ref__editorial-metadata p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.rbt-ref__editorial-metadata p + p {
  margin-top: 4px;
}

.rbt-ref__card-review-date {
  font-weight: 800;
}

.rbt-ref__tco-map {
  color: #526078;
}

.rbt-ref__source-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
  color: var(--rbt-ref-muted);
  font-size: 0.76rem;
}

.rbt-ref__source-markers strong {
  color: #445169;
}

.rbt-ref__source-marker {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding-inline: 7px;
  border: 1px solid #9fb8d5;
  border-radius: 9px;
  background: var(--rbt-ref-white);
  color: var(--rbt-ref-blue-900);
  font-weight: 850;
  text-decoration: none;
}

.rbt-ref__source-marker:hover {
  border-color: var(--rbt-ref-blue-700);
  background: var(--rbt-ref-blue-050);
}

.rbt-ref__empty {
  margin-top: 20px;
  padding: 32px 18px;
  border: 2px dashed #94abc6;
  border-radius: var(--rbt-ref-radius-lg);
  background: var(--rbt-ref-white);
  text-align: center;
}

.rbt-ref__empty > div {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 10px;
  border: 3px solid var(--rbt-ref-blue-800);
  border-radius: 50%;
  background: var(--rbt-ref-yellow-soft);
  color: var(--rbt-ref-blue-900);
  font-size: 1.5rem;
  font-weight: 900;
}

.rbt-ref__empty-title,
.rbt-ref__empty p {
  margin: 0;
}

.rbt-ref__empty-title {
  color: var(--rbt-ref-ink);
  font-size: 1.17rem;
  font-weight: 850;
}

.rbt-ref__empty > p:not(.rbt-ref__empty-title) {
  margin-top: 5px;
  color: var(--rbt-ref-muted);
}

.rbt-ref__empty button {
  min-height: 46px;
  margin-top: 15px;
  padding: 9px 16px;
  border: 2px solid var(--rbt-ref-blue-800);
  border-radius: 12px;
  background: var(--rbt-ref-blue-800);
  color: var(--rbt-ref-white);
  font-weight: 850;
}

.rbt-ref__sources {
  margin-top: 34px;
  padding: clamp(18px, 4vw, 30px);
  border: 2px solid var(--rbt-ref-border);
  border-radius: var(--rbt-ref-radius-xl);
  background: var(--rbt-ref-white);
  box-shadow: var(--rbt-ref-shadow);
  scroll-margin-top: 18px;
}

.rbt-ref__offline-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #add4b7;
  border-radius: 999px;
  background: var(--rbt-ref-green-soft);
  color: #205934;
  font-size: 0.73rem;
  font-weight: 850;
  white-space: nowrap;
}

.rbt-ref__source-note {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  padding: 14px;
  border-radius: 14px;
  background: var(--rbt-ref-blue-050);
  color: #41506a;
  font-size: 0.86rem;
}

.rbt-ref__source-note p {
  margin: 0;
}

.rbt-ref__source-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.rbt-ref__source-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #d4dfec;
  border-radius: 13px;
  background: #fbfcfe;
  scroll-margin-top: 18px;
}

.rbt-ref__source-item:target,
.rbt-ref__source-item.rbt-ref__source-item--flash {
  border-color: var(--rbt-ref-blue-700);
  background: var(--rbt-ref-yellow-soft);
  box-shadow: 0 0 0 4px rgba(255, 212, 59, 0.24);
}

.rbt-ref__source-id {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--rbt-ref-blue-800);
  color: var(--rbt-ref-white);
  font-size: 0.76rem;
  font-weight: 900;
}

.rbt-ref__source-content {
  min-width: 0;
}

.rbt-ref__source-type {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--rbt-ref-green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rbt-ref__source-content h3 {
  margin: 0;
  color: #26364f;
  font-size: 0.92rem;
  line-height: 1.35;
}

.rbt-ref__source-content p {
  margin: 4px 0 0;
  color: var(--rbt-ref-muted);
  font-size: 0.78rem;
}

.rbt-ref__source-content a {
  display: inline-block;
  min-height: 34px;
  margin-top: 5px;
  padding-block: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.rbt-ref__review-note {
  margin-top: 18px;
  padding: 14px;
  border-left: 5px solid var(--rbt-ref-purple);
  border-radius: 12px;
  background: var(--rbt-ref-purple-soft);
}

.rbt-ref__review-note h3 {
  color: #4e398a;
}

.rbt-ref__review-note p {
  margin: 0;
  color: #493f67;
  font-size: 0.86rem;
}

.rbt-ref__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 0 42px;
  color: var(--rbt-ref-muted);
  font-size: 0.79rem;
}

.rbt-ref__footer p {
  margin: 0;
}

.rbt-ref__footer a {
  align-self: flex-start;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #b6c9e0;
  border-radius: 10px;
  background: var(--rbt-ref-white);
  font-weight: 800;
  text-decoration: none;
}

.rbt-ref__noscript {
  margin: 16px;
  padding: 16px;
  border: 3px solid #a43a33;
  border-radius: 14px;
  background: #fff1ef;
  color: #6e2621;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.rbt-ref__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 700px) {
  .rbt-ref__site-header {
    padding: 24px 24px 44px;
  }

  .rbt-ref__title-row {
    gap: 20px;
  }

  .rbt-ref__main {
    padding-top: 32px;
  }

  .rbt-ref__boundary {
    padding: 20px 22px;
  }

  .rbt-ref__card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbt-ref__card-body {
    padding-inline: 22px;
  }

  .rbt-ref__detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbt-ref__source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbt-ref__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rbt-ref__footer a {
    align-self: auto;
  }
}

@media (min-width: 1020px) {
  .rbt-ref__title-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rbt-ref__boundary {
    align-items: start;
  }

  .rbt-ref__card > summary {
    min-height: 190px;
    padding: 22px;
  }

  .rbt-ref__source-note {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .rbt-ref__header-inner,
  .rbt-ref__main,
  .rbt-ref__footer {
    width: min(100% - 24px, var(--rbt-ref-page-width));
  }

  .rbt-ref__title-row {
    grid-template-columns: 1fr;
  }

  .rbt-ref__title-icon {
    width: 64px;
  }

  .rbt-ref__finder-heading,
  .rbt-ref__sources-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .rbt-ref__shortcut-hint {
    display: none;
  }

  .rbt-ref__results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rbt-ref__expand-controls {
    width: 100%;
  }

  .rbt-ref__expand-controls button {
    min-height: 44px;
    flex: 1;
  }

  .rbt-ref__card > summary {
    min-height: 0;
    padding: 17px;
  }

  .rbt-ref__card-toggle {
    min-width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rbt-ref *,
  .rbt-ref *::before,
  .rbt-ref *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body,
  .rbt-ref {
    background: #fff;
  }

  .rbt-ref__home-link,
  .rbt-ref__skip-link,
  .rbt-ref__finder,
  .rbt-ref__footer a,
  .rbt-ref__source-content a {
    display: none !important;
  }

  .rbt-ref__site-header {
    padding: 0 0 16px;
    border-width: 0 0 3px;
  }

  .rbt-ref__site-header::after {
    display: none;
  }

  .rbt-ref__main {
    width: 100%;
    padding: 16px 0;
  }

  .rbt-ref__card-grid,
  .rbt-ref__source-list {
    display: block;
  }

  .rbt-ref__card,
  .rbt-ref__source-item,
  .rbt-ref__sources {
    break-inside: avoid;
    margin-bottom: 12px;
    box-shadow: none;
  }

  .rbt-ref__card > summary {
    min-height: 0;
  }

  .rbt-ref__card-toggle {
    display: none;
  }

  .rbt-ref__card-body {
    display: block !important;
  }
}

/* W4B1-C1-R1: compact header, stable search boundary, and narrow reflow. */
@media screen {
  .rbt-ref {
    inline-size: 100%;
    max-inline-size: 100%;
    overflow-x: visible;
  }

  .rbt-ref .rbt-ref__site-header {
    padding: 0.75rem clamp(0.75rem, 2.5vw, 1.5rem) 0.875rem;
  }

  .rbt-ref .rbt-ref__site-header::after {
    display: none;
  }

  .rbt-ref .rbt-ref__header-inner.rbth-component-header__layout {
    width: min(100%, var(--rbt-ref-page-width));
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "home identity"
      "support support";
    gap: 0.625rem 0.75rem;
  }

  .rbt-ref .rbt-ref__title-row.rbth-component-identity {
    min-inline-size: 0;
    margin: 0;
    padding: 0.35rem 0.5rem;
  }

  .rbt-ref .rbt-ref__title-row > div {
    min-inline-size: 0;
  }

  .rbt-ref .rbth-component-header--reference .rbt-ref__eyebrow,
  .rbt-ref .rbth-component-header--reference .rbt-ref__subtitle {
    display: block;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .rbt-ref .rbth-component-header--reference .rbt-ref__eyebrow {
    margin-block: 0 0.125rem;
    font-size: 0.72rem;
  }

  .rbt-ref .rbth-component-header--reference .rbt-ref__title-row h1 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
  }

  .rbt-ref .rbth-component-header--reference .rbt-ref__subtitle {
    margin-block: 0.2rem 0;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .rbt-ref .rbt-ref__review-line.rbth-component-header__support {
    max-inline-size: 100%;
    flex-wrap: wrap;
    margin: 0;
    padding: 0.45rem 0.625rem;
    line-height: 1.3;
  }

  .rbt-ref .rbt-ref__main {
    padding-top: 1rem;
  }

  .rbt-ref .rbt-ref__search-control {
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow: visible;
  }

  .rbt-ref .rbt-ref__search-control:focus-within {
    border-color: var(--rbt-ref-blue-700);
    box-shadow:
      0 0 0 2px var(--rbt-ref-white),
      0 0 0 5px var(--rbt-ref-blue-900);
  }

  .rbt-ref .rbt-ref__search-control input[type="search"] {
    min-inline-size: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    line-height: 1.3;
  }

  .rbt-ref .rbt-ref__search-control input[type="search"]:focus,
  .rbt-ref .rbt-ref__search-control input[type="search"]:focus-visible {
    border: 0;
    outline: 0;
    box-shadow: none;
  }

  .rbt-ref
    .rbt-ref__search-control
    input[type="search"]::-webkit-search-decoration,
  .rbt-ref
    .rbt-ref__search-control
    input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none;
  }

  .rbt-ref .rbt-ref__clear-search {
    display: inline-flex;
    min-inline-size: 4rem;
    min-block-size: 2.75rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
  }

  .rbt-ref .rbt-ref__search-control .rbt-ref__clear-search:focus-visible {
    outline: 2px solid var(--rbt-ref-blue-900);
    outline-offset: -2px;
    box-shadow: none;
  }
}

@media screen and (min-width: 48rem) {
  .rbt-ref .rbt-ref__header-inner.rbth-component-header__layout {
    grid-template-columns: auto minmax(12rem, 1fr) minmax(12rem, 19rem);
    grid-template-areas: "home identity support";
  }

  .rbt-ref .rbt-ref__review-line.rbth-component-header__support {
    justify-self: end;
  }
}

@media screen and (max-width: 39.999rem) {
  .rbt-ref .rbt-ref__site-header {
    padding: 0.625rem 0.75rem 0.75rem;
  }

  .rbt-ref .rbt-ref__header-inner.rbth-component-header__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "home"
      "identity"
      "support";
  }

  .rbt-ref .rbth-component-home {
    justify-self: start;
  }

  .rbt-ref .rbt-ref__title-row.rbth-component-identity {
    inline-size: 100%;
  }

  .rbt-ref .rbt-ref__search-icon {
    margin-left: 0.75rem;
  }

  .rbt-ref .rbt-ref__search-control input {
    padding-inline: 0.75rem 0.5rem;
  }

  .rbt-ref .rbt-ref__filters {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: visible;
  }

  .rbt-ref .rbt-ref__filter-button {
    flex: 0 1 auto;
    white-space: normal;
    text-align: center;
  }
}

/* Wave 8: Quick Reference interior on the v2 design system.
   CSS only. HTML, JavaScript, content, data, assets, routes, Home/search
   behavior, and print behavior are unchanged. The header keeps its Wave 4B.1
   contract (see component-header.css); this block brings the body below it
   onto the same palette, typography, radii, and control language, and keeps
   every text pairing at or above 4.5:1. */
@media screen {
  .rbt-ref {
    --rbt-ref-blue-900: #203040;
    --rbt-ref-blue-800: #624874;
    --rbt-ref-blue-700: #7a5f8c;
    --rbt-ref-blue-100: #f4edf8;
    --rbt-ref-blue-050: #faf7fc;
    --rbt-ref-ink: #203040;
    --rbt-ref-muted: #5e6e7e;
    --rbt-ref-border: rgba(32, 48, 64, 0.12);
    --rbt-ref-white: #ffffff;
    --rbt-ref-yellow: #f4c95d;
    --rbt-ref-yellow-soft: #fff8e3;
    --rbt-ref-green: #356b43;
    --rbt-ref-green-soft: #ecf8ef;
    --rbt-ref-orange: #ee8b6b;
    --rbt-ref-orange-text: #934a33;
    --rbt-ref-orange-soft: #fff0ea;
    --rbt-ref-purple: #624874;
    --rbt-ref-purple-soft: #f4edf8;
    --rbt-ref-red: #8a3d5a;
    --rbt-ref-red-soft: #fceef4;
    --rbt-ref-accent: #a482b8;
    --rbt-ref-shadow: 0 12px 32px rgba(32, 48, 64, 0.07);
    --rbt-ref-shadow-small: 0 4px 14px rgba(32, 48, 64, 0.05);
    --rbt-ref-radius-xl: 20px;
    --rbt-ref-radius-lg: 16px;
    --rbt-ref-radius-md: 12px;
    --rbt-ref-font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --rbt-ref-display: Sora, "Segoe UI", system-ui, -apple-system, sans-serif;
    --rbt-ref-control-edge: rgba(32, 48, 64, 0.16);
    --rbt-ref-surface-soft: #f6fafb;
    color: var(--rbt-ref-ink);
    background: linear-gradient(180deg, #eaf4f7 0%, #f6fafb 320px, #f6fafb 100%);
  }

  body {
    background: #f6fafb;
  }

  .rbt-ref a {
    color: var(--rbt-ref-blue-800);
  }

  .rbt-ref :focus-visible {
    outline: 3px solid #66b2a6;
    outline-offset: 2px;
    box-shadow: none;
  }

  .rbt-ref .rbt-ref__skip-link {
    border: 0;
    border-radius: 0 0 10px 10px;
    background: var(--rbt-ref-ink);
    color: var(--rbt-ref-white);
    font-weight: 700;
  }

  /* Boundary callout: still a caution, now in the palette's amber. */
  .rbt-ref .rbt-ref__boundary {
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(244, 201, 93, 0.65);
    border-radius: var(--rbt-ref-radius-lg);
    background: var(--rbt-ref-yellow-soft);
    box-shadow: none;
  }

  .rbt-ref .rbt-ref__boundary-icon {
    width: 32px;
    height: 32px;
    border: 2px solid #7a5b0a;
    background: var(--rbt-ref-white);
    color: #7a5b0a;
    font-family: var(--rbt-ref-display);
    font-size: 0.95rem;
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__boundary h2 {
    color: #4f3d06;
    font-family: var(--rbt-ref-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .rbt-ref .rbt-ref__boundary p {
    color: #4f4525;
  }

  /* Finder and sources panels. */
  .rbt-ref .rbt-ref__finder,
  .rbt-ref .rbt-ref__sources {
    border: 1px solid var(--rbt-ref-border);
    border-radius: var(--rbt-ref-radius-xl);
    background: var(--rbt-ref-white);
    box-shadow: var(--rbt-ref-shadow);
  }

  .rbt-ref .rbt-ref__finder h2,
  .rbt-ref .rbt-ref__sources h2 {
    color: var(--rbt-ref-ink);
    font-family: var(--rbt-ref-display);
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .rbt-ref .rbt-ref__section-kicker {
    color: var(--rbt-ref-blue-800);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .rbt-ref .rbt-ref__shortcut-hint,
  .rbt-ref .rbt-ref__search-help {
    color: var(--rbt-ref-muted);
  }

  .rbt-ref kbd {
    border-color: var(--rbt-ref-control-edge);
    background: var(--rbt-ref-surface-soft);
    color: var(--rbt-ref-ink);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__search-label,
  .rbt-ref .rbt-ref__filter-label {
    color: var(--rbt-ref-ink);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__search-control {
    border: 1.5px solid var(--rbt-ref-control-edge);
    border-radius: var(--rbt-ref-radius-md);
    background: var(--rbt-ref-white);
  }

  .rbt-ref .rbt-ref__search-control:focus-within {
    border-color: var(--rbt-ref-blue-800);
    box-shadow: 0 0 0 4px rgba(164, 130, 184, 0.24);
  }

  .rbt-ref .rbt-ref__search-icon {
    border-color: var(--rbt-ref-blue-800);
  }

  .rbt-ref .rbt-ref__search-icon::after {
    background: var(--rbt-ref-blue-800);
  }

  .rbt-ref .rbt-ref__search-control input::placeholder {
    color: var(--rbt-ref-muted);
  }

  .rbt-ref .rbt-ref__clear-search {
    border-radius: 9px;
    background: var(--rbt-ref-blue-100);
    color: var(--rbt-ref-blue-800);
    font-weight: 700;
  }

  /* Filter chips and toolbar controls. */
  .rbt-ref .rbt-ref__filter-button {
    min-height: 44px;
    border: 1.5px solid var(--rbt-ref-control-edge);
    border-radius: 999px;
    background: var(--rbt-ref-white);
    color: var(--rbt-ref-ink);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  }

  .rbt-ref .rbt-ref__filter-button:hover {
    border-color: var(--rbt-ref-accent);
    background: var(--rbt-ref-blue-050);
  }

  .rbt-ref .rbt-ref__filter-button[aria-pressed="true"] {
    border-color: var(--rbt-ref-blue-800);
    background: var(--rbt-ref-blue-800);
    color: var(--rbt-ref-white);
    box-shadow: 0 6px 16px rgba(98, 72, 116, 0.25);
  }

  .rbt-ref .rbt-ref__results-toolbar {
    border-top-color: var(--rbt-ref-border);
  }

  .rbt-ref .rbt-ref__results-toolbar p {
    color: var(--rbt-ref-ink);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__expand-controls button,
  .rbt-ref .rbt-ref__related-link,
  .rbt-ref .rbt-ref__source-marker,
  .rbt-ref .rbt-ref__footer a {
    border: 1.5px solid var(--rbt-ref-control-edge);
    border-radius: 10px;
    background: var(--rbt-ref-white);
    color: var(--rbt-ref-ink);
    font-weight: 600;
    transition: background-color 140ms ease, border-color 140ms ease;
  }

  .rbt-ref .rbt-ref__expand-controls button:hover,
  .rbt-ref .rbt-ref__related-link:hover,
  .rbt-ref .rbt-ref__source-marker:hover,
  .rbt-ref .rbt-ref__footer a:hover {
    border-color: var(--rbt-ref-accent);
    background: var(--rbt-ref-blue-050);
  }

  /* Topic cards: category families move onto the v2 accent triads. The dark
     value carries text, the tint carries surfaces, and the light value draws
     the top bar. */
  .rbt-ref .rbt-ref__card {
    --rbt-ref-card-accent: var(--rbt-ref-blue-800);
    --rbt-ref-card-soft: var(--rbt-ref-blue-100);
    --rbt-ref-card-bar: var(--rbt-ref-accent);
    border: 1px solid var(--rbt-ref-border);
    border-top: 5px solid var(--rbt-ref-card-bar);
    border-radius: var(--rbt-ref-radius-lg);
    background: var(--rbt-ref-white);
    box-shadow: var(--rbt-ref-shadow-small);
    transition: box-shadow 160ms ease;
  }

  .rbt-ref .rbt-ref__card[data-category="data"] {
    --rbt-ref-card-accent: #285f87;
    --rbt-ref-card-soft: #eaf5ff;
    --rbt-ref-card-bar: #72b6e8;
  }

  .rbt-ref .rbt-ref__card[data-category="teaching"] {
    --rbt-ref-card-accent: #624874;
    --rbt-ref-card-soft: #f4edf8;
    --rbt-ref-card-bar: #a482b8;
  }

  .rbt-ref .rbt-ref__card[data-category="behavior"] {
    --rbt-ref-card-accent: #934a33;
    --rbt-ref-card-soft: #fff0ea;
    --rbt-ref-card-bar: #ee8b6b;
  }

  .rbt-ref .rbt-ref__card[data-category="rapport"] {
    --rbt-ref-card-accent: #356b43;
    --rbt-ref-card-soft: #ecf8ef;
    --rbt-ref-card-bar: #7fbe91;
  }

  .rbt-ref .rbt-ref__card[data-category="documentation"] {
    --rbt-ref-card-accent: #8a3d5a;
    --rbt-ref-card-soft: #fceef4;
    --rbt-ref-card-bar: #d982a2;
  }

  .rbt-ref .rbt-ref__card[open] {
    border-color: var(--rbt-ref-border);
    box-shadow: 0 14px 34px rgba(32, 48, 64, 0.1);
  }

  .rbt-ref .rbt-ref__card[data-category="behavior"],
  .rbt-ref .rbt-ref__card[data-category="behavior"][open] {
    border-top-color: var(--rbt-ref-card-bar);
  }

  .rbt-ref .rbt-ref__card > summary {
    padding: 18px;
    border-radius: 12px;
  }

  .rbt-ref .rbt-ref__card > summary:hover {
    background: linear-gradient(135deg, var(--rbt-ref-card-soft), var(--rbt-ref-white) 70%);
  }

  .rbt-ref .rbt-ref__category-pill {
    border-color: color-mix(in srgb, var(--rbt-ref-card-bar) 60%, white);
    background: var(--rbt-ref-card-soft);
    color: var(--rbt-ref-card-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .rbt-ref .rbt-ref__card-title {
    color: var(--rbt-ref-ink);
    font-family: var(--rbt-ref-display);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .rbt-ref .rbt-ref__cue {
    color: var(--rbt-ref-card-accent);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__compact-definition,
  .rbt-ref .rbt-ref__detail-block p,
  .rbt-ref .rbt-ref__plan-reminder p {
    color: #3f4f5f;
  }

  .rbt-ref .rbt-ref__aliases-label {
    color: var(--rbt-ref-muted);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__alias-chip {
    border: 1px solid var(--rbt-ref-border);
    background: var(--rbt-ref-surface-soft);
    color: #3f4f5f;
    font-weight: 600;
  }

  .rbt-ref .rbt-ref__card-toggle {
    min-width: 44px;
    height: 44px;
    border: 1.5px solid var(--rbt-ref-card-bar);
    border-radius: 12px;
    background: var(--rbt-ref-card-soft);
    color: var(--rbt-ref-card-accent);
  }

  .rbt-ref .rbt-ref__card-body {
    border-top-color: var(--rbt-ref-border);
  }

  .rbt-ref .rbt-ref__detail-block {
    border-radius: 12px;
    background: var(--rbt-ref-surface-soft);
  }

  .rbt-ref .rbt-ref__detail-label,
  .rbt-ref .rbt-ref__review-note h3 {
    color: var(--rbt-ref-ink);
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .rbt-ref .rbt-ref__example {
    border: 1px solid rgba(114, 182, 232, 0.5);
    background: #eaf5ff;
  }

  .rbt-ref .rbt-ref__example .rbt-ref__detail-label {
    color: #285f87;
  }

  .rbt-ref .rbt-ref__example-label {
    border-radius: 6px;
    background: #285f87;
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__caution {
    border-left: 4px solid var(--rbt-ref-orange);
    border-radius: 12px;
    background: var(--rbt-ref-orange-soft);
  }

  .rbt-ref .rbt-ref__caution .rbt-ref__detail-label {
    color: var(--rbt-ref-orange-text);
  }

  .rbt-ref .rbt-ref__caution ul {
    color: #4f4030;
  }

  .rbt-ref .rbt-ref__plan-reminder {
    border: 1px solid rgba(127, 190, 145, 0.55);
    border-radius: 12px;
    background: var(--rbt-ref-green-soft);
  }

  .rbt-ref .rbt-ref__plan-reminder .rbt-ref__detail-label {
    color: var(--rbt-ref-green);
  }

  .rbt-ref .rbt-ref__related {
    border: 1px solid var(--rbt-ref-border);
    border-radius: 12px;
    background: var(--rbt-ref-white);
  }

  .rbt-ref .rbt-ref__editorial-metadata {
    border-left: 3px solid rgba(32, 48, 64, 0.2);
    border-radius: 8px;
    background: var(--rbt-ref-surface-soft);
    color: #4a5a6a;
  }

  .rbt-ref .rbt-ref__tco-map,
  .rbt-ref .rbt-ref__source-markers {
    color: var(--rbt-ref-muted);
  }

  .rbt-ref .rbt-ref__source-markers strong {
    color: var(--rbt-ref-ink);
  }

  /* Empty state. */
  .rbt-ref .rbt-ref__empty {
    border: 1.5px dashed rgba(32, 48, 64, 0.2);
    border-radius: var(--rbt-ref-radius-lg);
    background: var(--rbt-ref-white);
  }

  .rbt-ref .rbt-ref__empty > div {
    border: 2px solid var(--rbt-ref-accent);
    background: var(--rbt-ref-blue-100);
    color: var(--rbt-ref-blue-800);
    font-family: var(--rbt-ref-display);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__empty-title {
    font-family: var(--rbt-ref-display);
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .rbt-ref .rbt-ref__empty button {
    border: 0;
    border-radius: 12px;
    background: var(--rbt-ref-blue-800);
    color: var(--rbt-ref-white);
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(98, 72, 116, 0.25);
  }

  /* Sources. */
  .rbt-ref .rbt-ref__offline-badge {
    border: 1px solid rgba(127, 190, 145, 0.6);
    background: var(--rbt-ref-green-soft);
    color: var(--rbt-ref-green);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__source-note {
    border-radius: 12px;
    background: var(--rbt-ref-surface-soft);
    color: #4a5a6a;
  }

  .rbt-ref .rbt-ref__source-item {
    border: 1px solid var(--rbt-ref-border);
    border-radius: 12px;
    background: var(--rbt-ref-white);
  }

  .rbt-ref .rbt-ref__source-item:target,
  .rbt-ref .rbt-ref__source-item.rbt-ref__source-item--flash {
    border-color: var(--rbt-ref-blue-800);
    background: var(--rbt-ref-yellow-soft);
    box-shadow: 0 0 0 4px rgba(244, 201, 93, 0.3);
  }

  .rbt-ref .rbt-ref__source-id {
    border-radius: 9px;
    background: var(--rbt-ref-blue-800);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__source-type {
    color: var(--rbt-ref-green);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__source-content h3 {
    color: var(--rbt-ref-ink);
    font-weight: 700;
  }

  .rbt-ref .rbt-ref__source-content p {
    color: var(--rbt-ref-muted);
  }

  .rbt-ref .rbt-ref__review-note {
    border-left: 4px solid var(--rbt-ref-accent);
    border-radius: 12px;
    background: var(--rbt-ref-purple-soft);
  }

  .rbt-ref .rbt-ref__review-note h3 {
    color: var(--rbt-ref-blue-800);
  }

  .rbt-ref .rbt-ref__review-note p {
    color: #4a3f5a;
  }

  .rbt-ref .rbt-ref__footer {
    color: var(--rbt-ref-muted);
  }

  .rbt-ref .rbt-ref__noscript {
    border: 2px solid var(--rbt-ref-red);
    border-radius: 12px;
    background: var(--rbt-ref-red-soft);
    color: #5a2a3c;
    font-family: var(--rbt-ref-font);
  }
}
