.card {
  box-shadow: 0 0 .875rem 0 rgba(33, 37, 41, .05);
  padding: 13px;
}

.item-tematic {
  margin-bottom: 1px;
  text-align: left;
}

.item-tematic a {
  /*  color: #fff;*/
  text-align: left;
}

.item-tematic a:hover {
  text-decoration: none;
}

.thematic-c1 {
  background-color: #3d9cf0;
  color: #FFF;
}

.thematic-c2 {
  background-color: #3d9cf0;
  color: #FFF;
}

.thematic-c3 {
  background-color: #3d9cf0;
  color: #FFF;
}

.thematic-c4 {
  background-color: #3d9cf0;
  color: #FFF;
}

.title-mig {
  font-weight: 900;
  background-image: linear-gradient(to left, #0063ff, #160274);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.highcharts-credits {
  font-size: 0px !important
}

.bloc-indicateurs {
  background: #fff;
  border: 1px solid #e9ecef;
  border-top: 3px solid var(--theme, #dee2e6);
  border-radius: 0.35rem;
  padding: 0.75rem 0.75rem 0.35rem;
  margin-bottom: 0.25rem;
}

.bloc-indicateurs .filtre-tableau {
  max-width: 24rem;
}

.table-indicateurs {
  width: 100%;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}

.table-indicateurs thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  border-bottom: 2px solid var(--theme, #dee2e6);
  font-size: 0.75rem;
  vertical-align: bottom;
  white-space: nowrap;
}

.table-indicateurs thead th.col-structure {
  white-space: normal;
  width: 9.5rem;
}

.table-indicateurs thead th.col-structure button {
  display: inline-block;
  max-width: 8.5rem;
  line-height: 1.2;
  text-align: left;
}

.table-indicateurs thead button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

.table-indicateurs thead button:hover {
  color: #0d6efd;
}

.table-indicateurs thead button[aria-sort="ascending"]::after,
.table-indicateurs thead button[aria-sort="descending"]::after {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.65rem;
  color: #0d6efd;
}

.table-indicateurs thead button[aria-sort="ascending"]::after {
  content: "▲";
}

.table-indicateurs thead button[aria-sort="descending"]::after {
  content: "▼";
}

.table-indicateurs .annee-total {
  display: block;
  font-weight: 500;
  color: #6c757d;
  font-size: 0.7rem;
}

.table-indicateurs td {
  vertical-align: top;
  border-color: #f1f3f5;
}

.table-indicateurs tbody tr:hover {
  background: #f8f9fa;
}

.table-indicateurs .col-num,
.table-indicateurs .col-unite,
.table-indicateurs .col-total {
  width: 1%;
  white-space: nowrap;
}

.table-indicateurs .col-total,
.table-indicateurs td.col-total {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.table-indicateurs .col-structure {
  width: 14%;
}

.table-indicateurs .col-desag {
  width: 22%;
}

.table-indicateurs .col-periode,
.table-indicateurs .col-source {
  width: 14%;
}

.table-indicateurs .num {
  display: inline-block;
  min-width: 1.75rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.table-indicateurs .puce {
  display: inline-block;
  margin: 0 0.25rem 0.25rem 0;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #f4f6f8;
  border: 1px solid #e6eaee;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #343a40;
}

.table-indicateurs .lien-donnees {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #6c757d;
}

.table-indicateurs tr.sans-valeur {
  color: #868e96;
}

.table-indicateurs tr.sans-valeur .num {
  opacity: 0.65;
}

.carte-region-liste {
  max-height: 460px;
  overflow: auto;
}

.carte-groupe {
  margin: 0.7rem 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.carte-ligne {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.8rem;
}

.carte-ligne span {
  flex: 1;
}

.carte-ligne strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pastille-theme {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.35rem;
  border-radius: 2px;
  vertical-align: middle;
}

.choix-indicateurs {
  max-height: 220px;
  overflow: auto;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
  background: #fff;
}

.choix-indicateurs label {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.8rem;
  margin: 0 0 0.3rem;
}

.carte-synthese .libelle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
}

.accueil {
  min-width: 0;
}

.accueil-entete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  min-width: 0;
  margin-bottom: 1rem;
}

.accueil-entete > div {
  min-width: 0;
}

.accueil-entete h1 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.accueil-entete p {
  max-width: 46rem;
  margin: 0;
  color: #495057;
}

.accueil-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.accueil-chiffre {
  height: 100%;
  padding: 0.85rem 1rem 0.75rem;
  background: #fff;
  border-radius: 0.35rem;
  border-top: 3px solid #3b7ddd;
  box-shadow: 0 0 .875rem 0 rgba(33, 37, 41, .05);
}

.accueil-chiffre strong {
  display: block;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.accueil-chiffre span {
  display: block;
  margin-top: 0.2rem;
  color: #6c757d;
  font-size: 0.8rem;
  line-height: 1.3;
}

.accueil-theme {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  height: 100%;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border-radius: 0.35rem;
  border-left: 3px solid #3b7ddd;
  box-shadow: 0 0 .875rem 0 rgba(33, 37, 41, .05);
  color: inherit;
  text-decoration: none;
}

.accueil-theme:hover {
  color: #3b7ddd;
}

.accueil-theme i {
  margin-top: 0.15rem;
  color: #3b7ddd;
}

.accueil-theme strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.accueil-texte h2 {
  margin: 1.15rem 0 0.35rem;
  font-size: 1.05rem;
}

.accueil-texte h2:first-child {
  margin-top: 0;
}

.accueil-texte p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.accueil-video {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 0.5rem;
  background: #111;
  border-radius: 0.25rem;
  overflow: hidden;
}

.accueil-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.accueil-rapport {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f3f5;
  color: inherit;
  text-decoration: none;
}

.accueil-rapport:hover {
  color: #3b7ddd;
}

.accueil-rapport time {
  flex-shrink: 0;
  color: #6c757d;
  font-size: 0.8rem;
}

.menu-details summary {
  list-style: none;
}

.menu-details summary::-webkit-details-marker {
  display: none;
}

.menu-details .menu-chevron {
  float: right;
  margin: 0.2rem 0 0;
}

.menu-details[open] .menu-chevron {
  transform: rotate(180deg);
}

.sidebar-sous-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem;
}

.sidebar-sous-menu a {
  display: block;
  padding: 0.4rem 1.25rem 0.4rem 3.15rem;
  color: rgba(233, 236, 239, 0.55);
  font-size: 0.92rem;
  text-decoration: none;
}

.sidebar-sous-menu a:hover,
.sidebar-sous-menu a.active {
  color: #e9ecef;
  background: rgba(59, 125, 221, 0.12);
}

.catalogue-details summary {
  cursor: pointer;
  color: #3b7ddd;
  font-size: 0.9rem;
}

.catalogue-encart {
  max-height: 28rem;
  overflow: auto;
}

.theme-mini {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0.65rem 0 0.2rem;
}

.catalogue-structure,
.liste-indicateurs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalogue-structure li {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

.puce-num {
  display: inline-block;
  min-width: 1.6rem;
  padding: 0 0.25rem;
  margin-right: 0.35rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.liste-indicateurs a {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
}

.liste-indicateurs a:hover,
.liste-indicateurs a.actif {
  background: #e7f1ff;
}

.liste-indicateurs .lib {
  flex: 1;
  font-size: 0.88rem;
}

.liste-indicateurs .nb {
  color: #6c757d;
  font-size: 0.8rem;
  min-width: 1.2rem;
  text-align: right;
}

.fiche-indicateur {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.fiche-indicateur ul {
  padding-left: 1.1rem;
}

tr.groupe-indicateur td {
  background: #f8f9fa;
  font-weight: 600;
}

tr.groupe-indicateur.groupe-actif td {
  background: #e7f1ff;
}

@media (max-width: 767.98px) {
  .accueil-entete {
    flex-direction: column;
    align-items: stretch;
  }
}