/* BNTIC Research Africa — feuille de style de l'application.
 *
 * MOBILE D'ABORD. Les règles de base décrivent l'affichage téléphone ; les
 * requêtes média n'ajoutent que ce qu'un écran plus large permet. Points de
 * rupture : 600 px (grand téléphone), 900 px (tablette), 1100 px (ordinateur).
 * Aucun élément ne dépasse la largeur de l'écran, aucune cible tactile ne
 * descend sous 44 px, aucun champ sous 16 px (en dessous, iOS agrandit la
 * page à chaque mise au point et le visiteur doit dézoomer à la main).
 *
 * MÊME LANGAGE VISUEL QUE LES OBSERVATOIRES BNTIC : jeu de variables, ombres
 * légères, cartes qui se soulèvent au survol, titres soulignés d'un trait
 * d'accent, pictogrammes en pastille. Research Africa garde son accent
 * bleu-sarcelle ; l'écriture, elle, est la même d'une application à l'autre.
 *
 * TOUT EST PRÉFIXÉ PAR .ra-shell : la feuille générale du site ne peut pas
 * écraser ces règles, et ces règles ne débordent pas sur le reste du site.
 */

.ra-shell {
  --ra-ink: #10242d;
  --ra-texte: #2b4049;
  --ra-muted: #5c7178;
  --ra-line: #dde9e9;
  --ra-line-fort: #c4d7d7;
  --ra-fond: #f6fafa;
  --ra-pale: #eef7f5;
  --ra-blue: #075985;
  --ra-teal: #0f766e;
  --ra-teal-fonce: #0b4f55;
  --ra-teal-pale: #e2f3ef;
  --ra-hero-1: #072b3a;
  --ra-hero-2: #0b5563;
  --ra-hero-3: #11806f;
  --ra-or: #f2b705;
  --ra-rayon: 16px;
  --ra-rayon-petit: 11px;
  --ra-ombre: 0 1px 2px rgba(16, 36, 45, .05), 0 1px 1px rgba(16, 36, 45, .03);
  --ra-ombre-haute: 0 12px 30px -14px rgba(16, 36, 45, .30), 0 2px 6px rgba(16, 36, 45, .06);
  --ra-tap: 44px;
  --ra-transition: 160ms ease;
  background: #fff;
  color: var(--ra-texte);
  min-height: 70vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ra-shell *, .ra-shell *::before, .ra-shell *::after { box-sizing: border-box; }
.ra-shell a { color: var(--ra-blue); text-underline-offset: .18em; }
.ra-shell a:hover { color: var(--ra-teal-fonce); }
.ra-shell img { max-width: 100%; height: auto; }
.ra-shell h1, .ra-shell h2, .ra-shell h3 { color: var(--ra-ink); letter-spacing: -.01em; }
.ra-shell :focus-visible { outline: 3px solid var(--ra-or); outline-offset: 2px; border-radius: 6px; }
.ra-shell .bi { line-height: 1; }

/* Un titre, un DOI ou un nom d'institution ne doit jamais élargir la page. */
.ra-shell h1, .ra-shell h2, .ra-shell h3,
.ra-shell .ra-card h3, .ra-shell .ra-byline, .ra-shell .ra-method-note,
.ra-shell .ra-muted, .ra-shell .ra-chip-list > * {
  overflow-wrap: anywhere;
}

.ra-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------------------------------------------------------------- navigation */
.ra-shell .ra-nav {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--ra-line);
  background: rgba(255, 255, 255, .96);
}
.ra-shell .ra-nav-inner {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  align-items: stretch;
  padding-top: .5rem;
  padding-bottom: .35rem;
}
.ra-shell .ra-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: var(--ra-tap);
  color: var(--ra-ink) !important;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
}
.ra-shell .ra-brand i {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--ra-teal);
  color: #fff;
  font-size: 1rem;
}
/* Le rail de navigation défile horizontalement plutôt que de se replier sur
   plusieurs lignes : l'ordre des rubriques reste lisible et la hauteur du
   bandeau ne varie pas. */
.ra-shell .ra-nav-scroll {
  margin-inline: -1rem;
  padding-inline: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ra-shell .ra-nav-scroll::-webkit-scrollbar { display: none; }
.ra-shell .ra-nav-links { display: flex; flex-wrap: nowrap; gap: .15rem; width: max-content; padding-bottom: .4rem; }
.ra-shell .ra-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 .8rem;
  border-radius: 999px;
  color: var(--ra-texte);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ra-transition), color var(--ra-transition);
}
.ra-shell .ra-nav-links a:hover,
.ra-shell .ra-nav-links a:focus-visible { background: var(--ra-pale); color: var(--ra-teal-fonce); }
.ra-shell .ra-nav-links a[aria-current="page"] { background: var(--ra-teal-pale); color: var(--ra-teal-fonce); }

/* --------------------------------------------------------------- en-têtes */
.ra-shell .ra-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(900px 380px at 100% 0%, rgba(255, 255, 255, .10), transparent 60%),
    linear-gradient(155deg, var(--ra-hero-1) 0%, var(--ra-hero-2) 58%, var(--ra-hero-3) 100%);
  padding-block: clamp(2rem, 6vw, 4rem);
}
.ra-shell .ra-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: .07; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 22px 22px;
}
.ra-shell .ra-page-head {
  padding-block: clamp(1.5rem, 4vw, 2.6rem) clamp(1rem, 3vw, 1.6rem);
  border-bottom: 1px solid var(--ra-line);
  background: linear-gradient(180deg, var(--ra-fond), #fff);
}
.ra-shell .ra-hero-grid { display: grid; gap: 1.5rem; align-items: center; }

.ra-shell .ra-kicker, .ra-shell .ra-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--ra-teal-pale);
  color: var(--ra-teal-fonce);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ra-shell .ra-hero .ra-kicker {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #bdeee2;
}

.ra-shell .ra-hero h1 {
  margin: .7rem 0 .9rem;
  color: #fff;
  font-size: clamp(1.8rem, 5.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.ra-shell .ra-hero p {
  max-width: 44ch;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem;
  line-height: 1.65;
}
.ra-shell .ra-page-head h1, .ra-shell .ra-detail h1, .ra-shell .ra-prose-page h1 {
  margin: .6rem 0 .7rem;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
}
.ra-shell .ra-page-head p {
  max-width: 70ch;
  margin: 0;
  color: var(--ra-muted);
  font-size: 1.02rem;
}

/* ------------------------------------------------------- champs et boutons */
.ra-shell input, .ra-shell select, .ra-shell textarea, .ra-shell button {
  font: inherit;
  font-size: max(1rem, 16px);
}
.ra-shell input:not([type="checkbox"]):not([type="radio"]),
.ra-shell select,
.ra-shell textarea {
  width: 100%;
  min-height: var(--ra-tap);
  padding: .6rem .75rem;
  border: 1px solid var(--ra-line-fort);
  border-radius: var(--ra-rayon-petit);
  background: #fff;
  color: var(--ra-ink);
  transition: border-color var(--ra-transition), box-shadow var(--ra-transition);
}
.ra-shell input:focus, .ra-shell select:focus, .ra-shell textarea:focus {
  border-color: var(--ra-teal);
  box-shadow: 0 0 0 3px var(--ra-teal-pale);
}
.ra-shell input[type="checkbox"], .ra-shell input[type="radio"] {
  width: 1.15rem; height: 1.15rem; margin-right: .5rem;
  accent-color: var(--ra-teal);
}

.ra-shell .ra-button, .ra-shell .ra-search-line button, .ra-shell .ra-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: var(--ra-tap);
  padding: .7rem 1.15rem;
  border: 1px solid var(--ra-teal);
  border-radius: 12px;
  background: var(--ra-teal);
  color: #fff !important;
  font-weight: 700;
  font-size: .96rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ra-transition), box-shadow var(--ra-transition), transform var(--ra-transition);
}
.ra-shell .ra-button:hover, .ra-shell .ra-button:focus-visible,
.ra-shell .ra-search-line button:hover, .ra-shell .ra-filter button:hover {
  background: var(--ra-teal-fonce);
  border-color: var(--ra-teal-fonce);
}
.ra-shell .ra-button-light, .ra-shell .ra-button-clair {
  border: 1px solid var(--ra-line-fort);
  background: #fff;
  color: var(--ra-teal) !important;
  align-self: start;
  white-space: nowrap;
}
.ra-shell .ra-button-light:hover, .ra-shell .ra-button-clair:hover {
  border-color: var(--ra-teal);
  background: var(--ra-teal-pale);
  color: var(--ra-teal-fonce) !important;
}

/* ------------------------------------------------------ panneau de recherche */
.ra-shell .ra-search-panel {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, .55);
}
.ra-shell .ra-search-panel label { display: block; margin-bottom: .5rem; color: var(--ra-ink); font-weight: 800; }
.ra-shell .ra-search-line { display: flex; gap: .45rem; }
.ra-shell .ra-search-line input { flex: 1; min-width: 0; }
.ra-shell .ra-search-line button { flex: 0 0 auto; padding-inline: 1rem; }
.ra-shell .ra-quick-fields { display: grid; gap: .55rem; margin-top: .6rem; }
/* Hors du bandeau (page Rechercher), le panneau reste une carte claire. */
.ra-shell .ra-page-head .ra-search-panel,
.ra-shell .ra-section .ra-search-panel {
  border-color: var(--ra-line);
  box-shadow: var(--ra-ombre);
}

/* ------------------------------------------------------------- mise en page */
.ra-shell .ra-section { padding-top: clamp(2rem, 4.5vw, 3.4rem); }
.ra-shell .ra-section:last-of-type { padding-bottom: 1rem; }
.ra-shell .ra-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: 1.1rem;
}
.ra-shell .ra-section-head h2, .ra-shell .ra-panel h2, .ra-shell .ra-detail h2 {
  margin: .25rem 0;
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
}
.ra-shell .ra-section-head h2::after {
  content: ""; display: block;
  width: 44px; height: 3px;
  margin-top: .5rem;
  border-radius: 3px;
  background: var(--ra-teal);
}
.ra-shell .ra-section-head > a {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: var(--ra-tap);
  font-weight: 700;
  text-decoration: none;
}
.ra-shell .ra-section-head > a:hover { text-decoration: underline; }

.ra-shell .ra-layout { display: grid; gap: 1.2rem; padding-top: 1.5rem; }
.ra-shell .ra-layout > *, .ra-shell .ra-two-cols > *, .ra-shell .ra-compare-grid > * { min-width: 0; max-width: 100%; }

/* Encadré de mise en avant : une idée, une phrase, une action. */
.ra-shell .ra-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--ra-line);
  border-left: 4px solid var(--ra-teal);
  border-radius: var(--ra-rayon);
  background: linear-gradient(180deg, var(--ra-pale), #fff 70%);
  box-shadow: var(--ra-ombre);
}
.ra-shell .ra-feature > div > i {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--ra-teal-pale);
  color: var(--ra-teal);
  font-size: 1.3rem;
}
.ra-shell .ra-feature h3 { margin: .6rem 0 .35rem; font-size: 1.08rem; font-weight: 800; }
.ra-shell .ra-feature p { max-width: 70ch; margin: 0; color: var(--ra-muted); }
.ra-shell .ra-feature-editorial { border-left-color: var(--ra-blue); }
.ra-shell .ra-feature-editorial > div > i { background: #e7f0f7; color: var(--ra-blue); }

/* Thèmes d'exploration */
.ra-shell .ra-topic-grid { display: grid; gap: .7rem; }
.ra-shell .ra-topic {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.05rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
  text-decoration: none;
  transition: border-color var(--ra-transition), box-shadow var(--ra-transition), transform var(--ra-transition);
}
.ra-shell .ra-topic:hover {
  border-color: var(--ra-teal);
  box-shadow: var(--ra-ombre-haute);
  transform: translateY(-2px);
}
.ra-shell .ra-topic i {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--ra-teal-pale);
  color: var(--ra-teal);
  font-size: 1.15rem;
}
.ra-shell .ra-topic span { margin: .7rem 0 .15rem; color: var(--ra-ink); font-weight: 800; }
.ra-shell .ra-topic small { color: var(--ra-muted); font-size: .84rem; }

/* Nuage des pays et pastilles */
.ra-shell .ra-country-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.ra-shell .ra-country-cloud a, .ra-shell .ra-chip-list > * {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 38px;
  padding: .4rem .8rem;
  border: 1px solid var(--ra-line);
  border-radius: 999px;
  background: #fff;
  font-size: .88rem;
  text-decoration: none;
  transition: border-color var(--ra-transition), background var(--ra-transition);
}
.ra-shell .ra-country-cloud a { color: var(--ra-texte); }
.ra-shell .ra-country-cloud a:hover { border-color: var(--ra-teal); background: var(--ra-pale); color: var(--ra-teal-fonce); }
.ra-shell .ra-chip-list { display: flex; flex-wrap: wrap; gap: .45rem; }

/* Provenance des données, en pied de page d'application. */
.ra-shell .ra-attribution {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: var(--ra-fond);
}
.ra-shell .ra-attribution i {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ra-teal-pale);
  color: var(--ra-teal);
  font-size: 1.1rem;
}
.ra-shell .ra-attribution p { margin: 0; color: var(--ra-muted); font-size: .88rem; line-height: 1.6; }
.ra-shell .ra-attribution strong { color: var(--ra-ink); }

/* -------------------------------------------------------------- filtres */
/* Sur téléphone, le formulaire précède les résultats : replié dans un
   « details », il tient en une ligne et le visiteur voit ses résultats tout
   de suite ; ouvert, il occupe toute la largeur. */
.ra-shell .ra-filter-shell {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
  overflow: hidden;
}
.ra-shell .ra-filter-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 50px;
  padding: .6rem 1rem;
  background: var(--ra-fond);
  color: var(--ra-ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.ra-shell .ra-filter-toggle::-webkit-details-marker { display: none; }
.ra-shell .ra-filter-toggle::after {
  content: "▾";
  margin-left: auto;
  color: var(--ra-muted);
  transition: transform var(--ra-transition);
}
.ra-shell .ra-filter-shell[open] .ra-filter-toggle { border-bottom: 1px solid var(--ra-line); }
.ra-shell .ra-filter-shell[open] .ra-filter-toggle::after { transform: rotate(180deg); }
.ra-shell .ra-filter { padding: 1rem; }
.ra-shell .ra-filter h2 { font-size: 1.02rem; font-weight: 800; }
.ra-shell .ra-filter p { margin-bottom: .75rem; color: var(--ra-muted); font-size: .9rem; }
.ra-shell .ra-filter label { display: block; margin-bottom: .25rem; font-size: .85rem; font-weight: 700; }
.ra-shell .ra-filter .helptext { display: block; margin-top: .25rem; color: var(--ra-muted); font-size: .8rem; }
.ra-shell .ra-filter ul { margin: 0 0 .8rem; padding: 0; list-style: none; }
.ra-shell .ra-filter ul li { display: flex; align-items: flex-start; gap: .4rem; margin-bottom: .45rem; }
.ra-shell .ra-filter ul li label { margin: 0; font-size: .9rem; font-weight: 500; line-height: 1.4; }
.ra-shell .ra-filter button { width: 100%; }

.ra-shell .ra-filter-group + .ra-filter-group {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--ra-line);
}
.ra-shell .ra-filter-legend {
  margin: 0 0 .7rem;
  color: var(--ra-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ra-shell .ra-field { margin: 0 0 .85rem; }
.ra-shell .ra-field > label { display: block; margin-bottom: .3rem; font-size: .86rem; font-weight: 700; }
.ra-shell .ra-field--case { display: flex; align-items: center; gap: .6rem; min-height: var(--ra-tap); }
.ra-shell .ra-field--case input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 auto; }
.ra-shell .ra-field--case > label { margin: 0; font-weight: 500; cursor: pointer; }
.ra-shell .ra-field-help { margin: .3rem 0 0; color: var(--ra-muted); font-size: .82rem; line-height: 1.45; }
.ra-shell .ra-field-error { margin: .3rem 0 0; color: #a4232b; font-size: .85rem; font-weight: 600; }
.ra-shell .ra-field--erreur input, .ra-shell .ra-field--erreur select { border-color: #a4232b; }

/* -------------------------------------------------------------- résultats */
.ra-shell .ra-list { display: grid; gap: .85rem; }
.ra-shell .ra-panel, .ra-shell .ra-card {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
}
.ra-shell .ra-card {
  padding: 1.1rem;
  transition: border-color var(--ra-transition), box-shadow var(--ra-transition), transform var(--ra-transition);
}
.ra-shell .ra-card:hover { border-color: var(--ra-line-fort); box-shadow: var(--ra-ombre-haute); transform: translateY(-2px); }
.ra-shell .ra-card:focus-within { border-color: var(--ra-teal); }
.ra-shell .ra-card h3 { margin: .5rem 0; font-size: 1.05rem; font-weight: 800; line-height: 1.38; }
.ra-shell .ra-card h3 a { color: var(--ra-ink); text-decoration: none; }
.ra-shell .ra-card h3 a:hover, .ra-shell .ra-card h3 a:focus-visible { color: var(--ra-blue); text-decoration: underline; }
.ra-shell .ra-card p { margin: .35rem 0; }
.ra-shell .ra-work-card { border-left: 3px solid var(--ra-teal-pale); }
.ra-shell .ra-work-card:hover { border-left-color: var(--ra-teal); }

.ra-shell .ra-card-meta, .ra-shell .ra-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  color: var(--ra-muted);
  font-size: .8rem;
}
.ra-shell .ra-card-foot {
  justify-content: space-between;
  margin-top: .85rem;
  padding-top: .7rem;
  border-top: 1px dashed var(--ra-line);
}
.ra-shell .ra-card-foot a { display: inline-flex; align-items: center; min-height: 38px; font-weight: 600; }
.ra-shell .ra-byline { font-size: .95rem; line-height: 1.6; color: var(--ra-texte); }
.ra-shell .ra-work-abstract { margin: .5rem 0 .6rem; color: var(--ra-texte); font-size: .92rem; line-height: 1.6; }

.ra-shell .ra-badge, .ra-shell .ra-score {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.5;
}
.ra-shell .ra-badge-open { background: #ddf5e9; color: #08734e; }
.ra-shell .ra-badge-feed { background: #e6efff; color: #1d4ed8; }
.ra-shell .ra-badge-apc { background: #fdeee0; color: #9a5b16; }
.ra-shell .ra-badge-cross { background: #ece8fd; color: #5b32c8; }
.ra-shell .ra-score { background: var(--ra-teal-pale); color: var(--ra-teal-fonce); }
.ra-shell .ra-score-light { background: #f1f5f9; color: #475569; }
.ra-shell .ra-muted { color: var(--ra-muted); font-size: .9rem; }

.ra-shell .ra-geo-note {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: baseline;
  margin: .55rem 0 0;
  color: var(--ra-texte);
  font-size: .85rem;
}
.ra-shell .ra-geo-note i { color: var(--ra-teal); }
.ra-shell .ra-geo-evidence { color: var(--ra-muted); font-style: italic; }

/* Le détail du classement : replié par défaut, il n'encombre pas la liste
   mais reste consultable pour vérifier pourquoi un résultat est là. */
.ra-shell .ra-why { margin-top: .8rem; padding-top: .65rem; border-top: 1px solid var(--ra-line); }
.ra-shell .ra-why > summary {
  display: flex; align-items: center; gap: .35rem;
  min-height: 38px;
  color: var(--ra-blue);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.ra-shell .ra-why ul { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.ra-shell .ra-why li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .75rem;
  padding: .45rem .6rem;
  border-radius: var(--ra-rayon-petit);
  background: var(--ra-fond);
  font-size: .85rem;
}
.ra-shell .ra-why-label { font-weight: 700; color: var(--ra-ink); }
.ra-shell .ra-why-points { color: var(--ra-teal); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ra-shell .ra-why li small { grid-column: 1 / -1; color: var(--ra-muted); line-height: 1.45; }
.ra-shell .ra-why-note { margin-top: .7rem; color: var(--ra-muted); font-size: .8rem; }

.ra-shell .ra-results-head {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: var(--ra-pale);
  color: var(--ra-ink);
}
.ra-shell .ra-results-head strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.ra-shell .ra-results-page { display: block; margin-top: .15rem; color: var(--ra-muted); font-size: .82rem; }
.ra-shell .ra-merge-note { margin: -.4rem 0 1rem; color: var(--ra-muted); font-size: .85rem; }
.ra-shell .ra-pagination-state { white-space: nowrap; }
.ra-shell .ra-pagination-note { margin: .9rem 0 0; color: var(--ra-muted); font-size: .88rem; line-height: 1.55; }

.ra-shell .ra-alert, .ra-shell .ra-empty {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #f1c6b8;
  border-radius: var(--ra-rayon);
  background: #fff4ef;
  color: #8d351e;
}
.ra-shell .ra-empty {
  border: 1px dashed var(--ra-line-fort);
  background: var(--ra-fond);
  color: var(--ra-muted);
  text-align: center;
}
.ra-shell .ra-neutral { border-color: var(--ra-line); background: var(--ra-fond); color: var(--ra-texte); }

.ra-shell .ra-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; padding: 1.3rem 0; }
.ra-shell .ra-pagination a, .ra-shell .ra-pagination span {
  display: inline-flex;
  align-items: center;
  min-height: var(--ra-tap);
  padding: .5rem 1rem;
  border: 1px solid var(--ra-line-fort);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ra-shell .ra-pagination a:hover { border-color: var(--ra-teal); background: var(--ra-pale); }
.ra-shell .ra-pagination span { border-style: dashed; color: var(--ra-muted); font-weight: 600; }

/* --------------------------------------------------------------- détail */
.ra-shell .ra-detail, .ra-shell .ra-prose-page { max-width: 1000px; padding-block: 1.5rem 2rem; }
.ra-shell .ra-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
  margin-bottom: 1.1rem;
  color: var(--ra-muted);
  font-size: .85rem;
}
.ra-shell .ra-breadcrumb a { color: var(--ra-muted); font-weight: 600; text-decoration: none; }
.ra-shell .ra-breadcrumb a:hover { color: var(--ra-teal-fonce); text-decoration: underline; }
.ra-shell .ra-detail section { margin-top: 1.9rem; }
.ra-shell .ra-detail h2 {
  display: flex; align-items: center; gap: .55rem;
  margin-bottom: .8rem;
}
.ra-shell .ra-detail h2::before {
  content: ""; flex: 0 0 auto;
  width: 4px; height: 1.1em;
  border-radius: 3px;
  background: var(--ra-teal);
}
.ra-shell .ra-prose p, .ra-shell .ra-prose-page p, .ra-shell .ra-prose-page li,
.ra-shell .ra-detail > section > p {
  max-width: 72ch;
  color: var(--ra-texte);
  line-height: 1.75;
}
.ra-shell .ra-prose-page h2 {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ra-line);
  font-size: 1.3rem;
  font-weight: 800;
}
.ra-shell .ra-prose-page h2:first-of-type { border-top: 0; padding-top: 0; }
.ra-shell .ra-prose-page .lead { font-size: 1.06rem; color: var(--ra-texte); }
.ra-shell .ra-prose-page li::marker, .ra-shell .ra-evidence-scale li::marker { color: var(--ra-teal); }
.ra-shell .ra-evidence-scale { display: grid; gap: .6rem; padding-left: 1.2rem; }
.ra-shell .ra-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.9rem; }
.ra-shell .ra-actions > a { flex: 1 1 auto; }

.ra-shell .ra-metrics { display: grid; gap: .75rem; margin: 1.3rem 0; }
.ra-shell .ra-metrics > div {
  position: relative;
  padding: 1rem 1.05rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
  overflow: hidden;
}
.ra-shell .ra-metrics > div::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--ra-teal);
}
.ra-shell .ra-metrics strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.05;
  font-weight: 800;
  color: var(--ra-ink);
  font-variant-numeric: tabular-nums;
}
.ra-shell .ra-metrics span { display: block; margin-top: .4rem; color: var(--ra-muted); font-size: .85rem; line-height: 1.45; }

/* --------------------------------------------------------- tableaux de bord */
.ra-shell .ra-dashboard { padding-top: 1.5rem; }
.ra-shell .ra-two-cols, .ra-shell .ra-compare-grid { display: grid; gap: 1.1rem; margin-top: 1.1rem; }
.ra-shell .ra-panel { padding: 1.2rem; min-width: 0; max-width: 100%; }
.ra-shell .ra-panel > *, .ra-shell .ra-panel-heading, .ra-shell .ra-panel-heading > div { min-width: 0; max-width: 100%; }
.ra-shell .ra-panel-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ra-shell .ra-panel h2 {
  display: flex; align-items: center; gap: .55rem;
}
.ra-shell .ra-panel h2::before {
  content: ""; flex: 0 0 auto;
  width: 4px; height: 1.05em;
  border-radius: 3px;
  background: var(--ra-teal);
}
.ra-shell .ra-panel-heading p { margin: .3rem 0 0; color: var(--ra-muted); font-size: .86rem; line-height: 1.55; }
.ra-shell .ra-inline-form { display: grid; gap: .55rem; max-width: 760px; margin-top: 1rem; }
.ra-shell .ra-big-number {
  margin-top: 1rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ra-ink);
  font-variant-numeric: tabular-nums;
}
.ra-shell .ra-compare-bar { height: 10px; margin: 1rem 0; }

.ra-shell .ra-scope-note, .ra-shell .ra-source-card, .ra-shell .ra-source-check, .ra-shell .ra-radar-panel {
  margin-top: 1.1rem;
  padding: 1.2rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
}
.ra-shell .ra-scope-note { border-left: 4px solid var(--ra-teal); background: linear-gradient(180deg, var(--ra-pale), #fff 70%); }
.ra-shell .ra-source-card h3 { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 800; }
.ra-shell .ra-scope-note > a { display: inline-flex; align-items: center; min-height: var(--ra-tap); margin-top: .5rem; font-weight: 700; }
.ra-shell .ra-radar-panel { margin-top: 2rem; border-left: 4px solid var(--ra-blue); }

/* La note de méthode : ce que la page ne dit PAS. Elle doit se voir. */
.ra-shell .ra-method-note, .ra-shell .ra-note {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid #f1d49b;
  border-left: 4px solid #e09100;
  border-radius: var(--ra-rayon-petit);
  background: #fffaf0;
  color: #5a4209;
  font-size: .89rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ra-shell .ra-note { margin-top: .8rem; }

/* Listes de définitions : empilées sur téléphone, en deux colonnes ensuite. */
.ra-shell .ra-panel dl > div, .ra-shell .ra-source-card dl > div, .ra-shell .ra-source-check dl > div {
  display: grid;
  gap: .15rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--ra-line);
}
.ra-shell .ra-panel dl > div:last-child,
.ra-shell .ra-source-card dl > div:last-child,
.ra-shell .ra-source-check dl > div:last-child { border-bottom: 0; }
.ra-shell .ra-panel dt, .ra-shell .ra-source-card dt, .ra-shell .ra-source-check dt {
  color: var(--ra-muted); font-size: .76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.ra-shell .ra-panel dd, .ra-shell .ra-source-card dd, .ra-shell .ra-source-check dd {
  margin: 0; color: var(--ra-ink); font-weight: 700; overflow-wrap: anywhere;
}

/* ------------------------------------------------------------- barres */
.ra-shell .ra-bars { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-top: 1.1rem; }
.ra-shell .ra-bar-row { display: block; min-width: 0; }
.ra-shell .ra-bar-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .65rem;
  font-size: .86rem;
}
.ra-shell .ra-bar-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.ra-shell .ra-bar-count { flex: 0 0 auto; white-space: nowrap; font-weight: 700; color: var(--ra-ink); font-variant-numeric: tabular-nums; }
.ra-shell .ra-bar-track {
  display: block;
  width: 100%;
  height: 9px;
  margin-top: .4rem;
  border-radius: 99px;
  background: #e7efef;
  overflow: hidden;
}
.ra-shell .ra-bar-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ra-teal), #38bdf8);
}
/* L'année en cours n'est pas terminée : le dire sur la barre elle-même évite
   qu'on lise une chute là où il n'y a qu'un exercice incomplet. */
.ra-shell .ra-bar-partielle {
  margin-left: .4rem;
  padding: .05rem .4rem;
  border-radius: 999px;
  background: rgba(217, 119, 6, .16);
  color: #8a4b00;
  font-size: .7rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ------------------------------------------------- indicateurs et listes */
.ra-shell .ra-indicator-grid { display: grid; gap: .75rem; margin-top: 1.1rem; }
.ra-shell .ra-indicator {
  padding: 1rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
}
.ra-shell .ra-indicator strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--ra-ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ra-shell .ra-indicator span { display: block; margin-top: .3rem; color: var(--ra-teal); font-size: .78rem; font-weight: 800; }
.ra-shell .ra-indicator small { display: block; margin-top: .5rem; color: var(--ra-muted); font-size: .8rem; line-height: 1.45; }
.ra-shell .ra-indicator-empty { background: var(--ra-fond); }
.ra-shell .ra-indicator-empty strong { color: #9fb1b1; font-size: 1.05rem; }

/* Sur téléphone ces listes défilent avec la page. Le défilement interne n'est
   rétabli qu'à partir de la tablette, où il évite un panneau démesuré sans
   piéger le geste du lecteur. */
.ra-shell .ra-institution-list, .ra-shell .ra-journal-list { display: grid; gap: .6rem; margin-top: 1rem; }
.ra-shell .ra-institution-item, .ra-shell .ra-journal-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  padding: .85rem .95rem;
  border: 1px solid var(--ra-line);
  border-left: 3px solid var(--ra-teal-pale);
  border-radius: var(--ra-rayon-petit);
  background: #fff;
  transition: border-color var(--ra-transition), background var(--ra-transition);
}
.ra-shell .ra-institution-item:hover, .ra-shell .ra-journal-item:hover {
  border-left-color: var(--ra-teal);
  background: var(--ra-fond);
}
.ra-shell .ra-institution-item > div, .ra-shell .ra-journal-item > div { min-width: 0; }
.ra-shell .ra-institution-item strong, .ra-shell .ra-journal-item strong {
  display: block; color: var(--ra-ink); overflow-wrap: anywhere;
}
.ra-shell .ra-institution-item small, .ra-shell .ra-journal-item small {
  display: block;
  margin-top: .22rem;
  color: var(--ra-muted);
  font-size: .82rem;
  overflow-wrap: anywhere;
}
.ra-shell .ra-institution-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.ra-shell .ra-institution-acronym {
  display: inline-block;
  margin-left: .4rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: var(--ra-teal-pale);
  color: var(--ra-teal-fonce);
  font-size: .7rem;
  font-weight: 800;
}
.ra-shell .ra-journal-item .ra-badge { align-self: flex-start; font-size: .74rem; }
.ra-shell .ra-journals, .ra-shell .ra-indicators, .ra-shell .ra-coverage { margin-top: 1rem; }
.ra-shell .ra-feed-provenance { margin-top: 1.2rem; }
.ra-shell .ra-feed-provenance .ra-chip-list { margin-top: .8rem; }

/* L'ancrage institutionnel d'une publication : établissement, unité, lieu. */
.ra-shell .ra-affiliations { max-height: none; }
.ra-shell .ra-affiliations .ra-institution-item { align-items: center; }
.ra-shell .ra-badge-type {
  background: var(--ra-teal-pale);
  color: var(--ra-teal-fonce);
  white-space: nowrap;
}
.ra-shell .ra-affiliations small i { color: var(--ra-teal); margin-right: .25rem; }

/* Chercheurs observés, listes simples et pastilles */
.ra-shell .ra-researcher-list, .ra-shell .ra-plain-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem;
}
.ra-shell .ra-researcher {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-height: var(--ra-tap);
  justify-content: center;
  padding: .6rem .8rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon-petit);
  background: #fff;
}
.ra-shell .ra-researcher:hover { border-color: var(--ra-teal); background: var(--ra-fond); }
.ra-shell .ra-researcher > a { font-weight: 700; text-decoration: none; }
.ra-shell .ra-researcher > a:hover { text-decoration: underline; }
.ra-shell .ra-researcher-topics { color: var(--ra-muted); font-size: .82rem; }

.ra-shell .ra-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ra-shell .ra-chips > li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 34px;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--ra-teal-pale);
  color: var(--ra-teal-fonce);
  font-size: .86rem;
  font-weight: 600;
}

/* L'annuaire des chercheurs */
.ra-shell .ra-directory-scopes { margin: 1.2rem 0; }
.ra-shell .ra-chip-actif > a, .ra-shell .ra-chips > li.ra-chip-actif {
  background: var(--ra-teal);
  color: #fff !important;
  border-color: var(--ra-teal);
}
.ra-shell .ra-chip-actif > a { border-radius: 999px; }
.ra-shell .ra-directory-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 1.3rem 0 1rem;
  padding: .6rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: var(--ra-fond);
}
.ra-shell .ra-directory-alpha > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 .5rem;
  border-radius: 9px;
  color: var(--ra-texte);
  font-weight: 700;
  text-decoration: none;
}
.ra-shell .ra-directory-alpha > a:hover { background: var(--ra-teal-pale); color: var(--ra-teal-fonce); }
.ra-shell .ra-lettre-active { background: var(--ra-teal); color: #fff !important; }
.ra-shell .ra-directory-grid { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .8rem; }
.ra-shell .ra-directory-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
  transition: border-color var(--ra-transition), box-shadow var(--ra-transition), transform var(--ra-transition);
}
.ra-shell .ra-directory-card:hover { border-color: var(--ra-teal); box-shadow: var(--ra-ombre-haute); transform: translateY(-2px); }
.ra-shell .ra-directory-card h3 { margin: 0 0 .2rem; font-size: 1.02rem; line-height: 1.35; font-weight: 800; }
.ra-shell .ra-directory-card p { margin: .15rem 0; }
.ra-shell .ra-directory-meta { color: var(--ra-muted); font-size: .85rem; }

/* Veille de la rédaction : les parutions par thématique. */
.ra-shell .ra-themes { margin: 1.2rem 0 .4rem; }
.ra-shell .ra-themes > a[aria-current="page"] {
  background: var(--ra-teal); border-color: var(--ra-teal); color: #fff !important;
}
.ra-shell .ra-recent-list, .ra-shell .ra-watch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.ra-shell .ra-recent-card {
  padding: 1.1rem;
  border: 1px solid var(--ra-line);
  border-left: 3px solid var(--ra-teal-pale);
  border-radius: var(--ra-rayon);
  background: #fff;
  box-shadow: var(--ra-ombre);
}
.ra-shell .ra-recent-card:hover { border-left-color: var(--ra-teal); }
.ra-shell .ra-recent-date {
  display: inline-flex; align-items: center;
  color: var(--ra-teal-fonce);
  font-weight: 800;
  font-size: .85rem;
}
.ra-shell .ra-recent-title { margin: .45rem 0; font-size: 1.06rem; line-height: 1.38; overflow-wrap: anywhere; }
.ra-shell .ra-recent-note { margin: .35rem 0; color: #7a4a00; font-size: .82rem; overflow-wrap: anywhere; }
.ra-shell .ra-recent-radar {
  margin-top: .9rem;
  padding: .75rem .95rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon-petit);
  background: var(--ra-fond);
}
.ra-shell .ra-recent-radar > summary {
  display: flex; align-items: center; gap: .4rem;
  min-height: var(--ra-tap);
  color: var(--ra-teal-fonce);
  font-weight: 700;
  cursor: pointer;
}
.ra-shell .ra-recent-radar textarea, .ra-shell .ra-recent-radar select { width: 100%; max-width: 100%; }
.ra-shell .ra-recent-radar label { display: block; margin-top: .5rem; font-size: .86rem; font-weight: 600; }
.ra-shell .ra-recent-upcoming { margin-top: 1.6rem; }
.ra-shell .ra-recent-upcoming li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.ra-shell .ra-watch-summary {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-rayon);
  background: var(--ra-pale);
  color: var(--ra-ink);
}

/* ================================================================ 600 px + */
@media (min-width: 600px) {
  .ra-shell .ra-quick-fields { grid-template-columns: 1fr 1fr; }
  .ra-shell .ra-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-shell .ra-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-shell .ra-indicator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-shell .ra-inline-form { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; }
  .ra-shell .ra-institution-item, .ra-shell .ra-journal-item { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .ra-shell .ra-institution-item > a, .ra-shell .ra-journal-item .ra-badge { flex: 0 0 auto; }
  .ra-shell .ra-results-head { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
  .ra-shell .ra-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
  .ra-shell .ra-feature { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .ra-shell .ra-actions > a { flex: 0 0 auto; }
  .ra-shell .ra-filter button { width: auto; }
  .ra-shell .ra-researcher-list, .ra-shell .ra-plain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-shell .ra-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-shell .ra-panel dl > div, .ra-shell .ra-source-card dl > div, .ra-shell .ra-source-check dl > div {
    grid-template-columns: minmax(140px, .4fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: baseline;
  }
}

/* ================================================================ 900 px + */
@media (min-width: 900px) {
  .ra-shell .ra-nav-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
  .ra-shell .ra-nav-scroll { margin-inline: 0; padding-inline: 0; }
  .ra-shell .ra-nav-links { padding-bottom: 0; }
  .ra-shell .ra-two-cols, .ra-shell .ra-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-shell .ra-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ra-shell .ra-indicator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ra-shell .ra-topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ra-shell .ra-institution-list, .ra-shell .ra-journal-list {
    max-height: 430px;
    padding-right: .25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* =============================================================== 1100 px + */
@media (min-width: 1100px) {
  .ra-shell .ra-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 1.5rem; }
  .ra-shell .ra-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); }
  /* Sur grand écran le panneau de filtres reste ouvert et suit le défilement :
     le repli n'a d'intérêt que là où la place manque. */
  .ra-shell .ra-filter-shell { position: sticky; top: 1rem; }
  .ra-shell .ra-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (hover: none) {
  .ra-shell .ra-card:hover, .ra-shell .ra-topic:hover, .ra-shell .ra-directory-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ra-shell *, .ra-shell *::before, .ra-shell *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .ra-shell .ra-card:hover, .ra-shell .ra-topic:hover, .ra-shell .ra-directory-card:hover { transform: none; }
}

@media print {
  .ra-shell .ra-nav, .ra-shell .ra-filter-shell, .ra-shell .ra-pagination,
  .ra-shell .ra-radar-panel, .ra-shell .ra-recent-radar, .ra-shell .ra-themes,
  .ra-shell .ra-search-panel { display: none !important; }
  .ra-shell .ra-why[open] > summary { list-style: none; }
  .ra-shell { background: #fff; }
  .ra-shell .ra-hero { background: #fff; color: var(--ra-ink); }
  .ra-shell .ra-hero::after { display: none; }
  .ra-shell .ra-hero h1, .ra-shell .ra-hero p { color: var(--ra-ink); }
  .ra-shell .ra-card, .ra-shell .ra-panel, .ra-shell .ra-topic, .ra-shell .ra-metrics > div { box-shadow: none; }
}
