/* FiveHeberg Travaux ? couche portail (s'appuie sur fiveheberg.css) */

/* Bootstrap : forcer th?me sombre (?vite le gris #212529 / #6c757d sur les tableaux) */
body.fh-body,
body.fh-body--portal {
  --bs-body-color: #e8f0fc;
  --bs-body-bg: #060d18;
  --bs-secondary-color: #a8c0e0;
  --bs-emphasis-color: #ffffff;
  --bs-table-color: #e8f0fc;
  --bs-table-hover-color: #ffffff;
  --bs-table-striped-color: #e8f0fc;
  --bs-table-active-color: #ffffff;
  --bs-border-color: rgba(77, 163, 255, 0.2);
  --bs-form-control-bg: #0a1628;
  --bs-form-control-color: #e8f0fc;
  --bs-form-select-bg: #0a1628;
  --bs-form-select-color: #e8f0fc;
  --bs-modal-bg: #0c1829;
  --bs-modal-color: #e8f0fc;
  color-scheme: dark;
}

.fh-portal {
  padding: 1.75rem 0 3.5rem;
  min-height: calc(100vh - 64px);
  position: relative;
}

.fh-portal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(59, 158, 255, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.fh-portal__inner {
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

/* ?? En-t?te de page ?? */
.fh-nav__link.is-active,
.fh-nav__item.is-current .fh-nav__link {
  color: var(--fh-accent);
  background: rgba(59, 158, 255, 0.1);
}

/* Nav desktop ? align? sur travaux (ne pas r?duire le header) */
@media (min-width: 992px) {
  .fh-nav__list {
    flex-wrap: nowrap;
    gap: 0.45rem;
    align-items: center;
  }

  body.fh-body--wiki .fh-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: auto;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  body.fh-body--wiki .fh-nav__link--btn .fh-nav__chevron {
    margin-left: 0.15rem;
    font-size: 0.65rem;
    opacity: 0.65;
    flex-shrink: 0;
  }

  .fh-nav__link > i:not(.fh-nav__chevron) {
    display: none;
  }

  body.fh-body--wiki .fh-nav__link > i:not(.fh-nav__chevron) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1em;
    font-size: 0.9rem;
    opacity: 0.88;
    line-height: 1;
    flex-shrink: 0;
  }

  body.fh-body--wiki .fh-nav__chevron {
    margin-left: 0.15rem;
  }

  .fh-nav__link:hover,
  .fh-nav__link.is-active,
  .fh-nav__item.is-current .fh-nav__link {
    background: rgba(59, 158, 255, 0.1);
  }

  .fh-nav__item--mobile-only {
    display: none !important;
  }
}

.fh-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(12, 24, 41, 0.88), rgba(8, 16, 28, 0.92));
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fh-dashboard-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0 0.25rem;
}

.fh-dashboard-intro__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.fh-dashboard-intro__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #a8c0e0;
}

.fh-page-header__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-page-header__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--fh-text);
  line-height: 1.15;
}

.fh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-breadcrumb__item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--fh-muted);
}

.fh-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.45;
}

.fh-breadcrumb__item a {
  color: var(--fh-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.fh-breadcrumb__item a:hover {
  color: var(--fh-accent);
}

.fh-breadcrumb__item.is-active span {
  color: var(--fh-text);
  font-weight: 600;
}

/* ?? Cartes statistiques (premium) ?? */
.fh-stat-card {
  position: relative;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(77, 163, 255, 0.18);
  background: linear-gradient(160deg, rgba(14, 28, 48, 0.95), rgba(8, 14, 26, 0.98));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fh-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fh-accent), var(--fh-accent-2));
  opacity: 0.85;
}

.fh-stat-card--info::before { background: linear-gradient(90deg, #3b9eff, #1d6fd8); }
.fh-stat-card--success::before { background: linear-gradient(90deg, #34d399, #059669); }
.fh-stat-card--warning::before { background: linear-gradient(90deg, #fbbf24, #d97706); }
.fh-stat-card--danger::before { background: linear-gradient(90deg, #f87171, #dc2626); }

.fh-stat-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.fh-stat-card--success .fh-stat-card__glow { background: radial-gradient(circle, rgba(52, 211, 153, 0.15), transparent 70%); }
.fh-stat-card--warning .fh-stat-card__glow { background: radial-gradient(circle, rgba(251, 191, 36, 0.15), transparent 70%); }
.fh-stat-card--danger .fh-stat-card__glow { background: radial-gradient(circle, rgba(248, 113, 113, 0.15), transparent 70%); }

.fh-stat-card__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  position: relative;
  z-index: 1;
}

.fh-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 158, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(59, 158, 255, 0.1);
}

.fh-stat-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(59, 158, 255, 0.14);
  color: #5eb8ff;
  font-size: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fh-stat-card--info .fh-stat-card__icon { background: rgba(59, 158, 255, 0.16); color: #5eb8ff; }
.fh-stat-card--success .fh-stat-card__icon { background: rgba(52, 211, 153, 0.16); color: #4ade9a; }
.fh-stat-card--warning .fh-stat-card__icon { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.fh-stat-card--danger .fh-stat-card__icon { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }

.fh-stat-card__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #a8c0e0 !important;
}

.fh-stat-card__value {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #c5d9f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
}

/* ?? Panneaux / cartes ?? */
.fh-panel {
  background: linear-gradient(165deg, rgba(12, 24, 41, 0.94), rgba(6, 12, 22, 0.98));
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.fh-panel--table {
  border-radius: 20px;
}

.fh-panel__header {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.fh-panel__header--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fh-panel__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-panel__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.fh-panel__action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fh-accent);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 158, 255, 0.25);
  background: rgba(59, 158, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.fh-panel__action:hover {
  background: rgba(59, 158, 255, 0.16);
  border-color: rgba(59, 158, 255, 0.45);
  color: #7ec3ff;
}

.fh-panel__body {
  padding: 1.25rem 1.5rem;
}

.fh-panel__body.p-0 {
  padding: 0 !important;
}

/* Compatibilit? anciennes classes Stexo */
.wrapper { padding: 0; }
.accountbg,
.error-bg,
.header-bg { display: none !important; }

.card {
  background: var(--fh-bg-elevated) !important;
  border: 1px solid var(--fh-border) !important;
  border-radius: var(--fh-radius) !important;
  box-shadow: var(--fh-shadow) !important;
  color: var(--fh-text) !important;
}

.card-body,
.card-heading {
  color: var(--fh-text);
}

.page-title,
.page-title-box h4,
.header-title,
.font-16,
.font-14 {
  color: var(--fh-text) !important;
}

.page-title-box {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb {
  background: transparent !important;
  margin: 0;
  padding: 0;
}

.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active {
  color: var(--fh-muted) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--fh-muted) !important;
}

/* ?? Tableaux ?? */
.fh-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.fh-portal .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--fh-text);
  --bs-table-border-color: var(--fh-border);
  --bs-table-hover-bg: rgba(59, 158, 255, 0.08);
  --bs-table-hover-color: var(--fh-text);
  margin-bottom: 0;
  color: var(--fh-text) !important;
}

.fh-portal .table thead {
  background: rgba(59, 158, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 2;
}

.fh-portal .table thead th {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8eb5e8 !important;
  border-bottom: 1px solid rgba(77, 163, 255, 0.2);
  padding: 1rem 1.15rem;
  white-space: nowrap;
}

.fh-portal .fh-tasks-table tbody tr {
  border-bottom: 1px solid rgba(77, 163, 255, 0.08);
  transition: background 0.2s ease;
}

.fh-portal .fh-tasks-table tbody tr:last-child {
  border-bottom: none;
}

.fh-portal .fh-tasks-table tbody tr:hover {
  background: rgba(59, 158, 255, 0.06);
}

.fh-portal .table tbody td {
  color: var(--fh-text) !important;
  vertical-align: middle;
  border-color: transparent;
  padding: 1.05rem 1.15rem;
  font-size: 0.9rem;
}

.fh-table__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
  line-height: 1.4;
  max-width: 100%;
}

.fh-table__link:hover {
  color: var(--fh-accent) !important;
  gap: 0.65rem;
}

.fh-table__link-arrow {
  font-size: 0.65rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--fh-accent);
}

.fh-table__link:hover .fh-table__link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.fh-table__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(59, 158, 255, 0.18);
  border: 1px solid rgba(120, 190, 255, 0.35);
  color: #e8f4ff !important;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.fh-table__chip i {
  font-size: 0.7rem;
  opacity: 0.85;
}

.fh-table__chip--empty {
  background: rgba(143, 163, 190, 0.1);
  border-color: rgba(143, 163, 190, 0.25);
  color: #b8cce8 !important;
  font-weight: 500;
}

.fh-table__date {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #f0f6ff !important;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.fh-table__date-day {
  color: #f0f6ff !important;
}

.fh-table__time {
  color: #b8cce8 !important;
  font-size: 0.82rem;
  font-weight: 500;
}

.fh-table__muted {
  color: var(--fh-muted) !important;
}

.fh-table__empty {
  text-align: center;
  color: var(--fh-muted) !important;
  padding: 2.5rem 1rem !important;
}

.fh-table__progress-cell {
  min-width: 160px;
}

/* ?? Badges ?? */
.fh-badge,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-info,
.bg-info {
  background: rgba(59, 158, 255, 0.15) !important;
  color: #7ec3ff !important;
  border-color: rgba(59, 158, 255, 0.35);
}

.fh-badge--info,
.badge-primary,
.bg-primary {
  background: rgba(59, 158, 255, 0.15) !important;
  color: #7ec3ff !important;
  border-color: rgba(59, 158, 255, 0.35);
}

.fh-badge--success,
.badge-success,
.bg-success {
  background: rgba(52, 211, 153, 0.15) !important;
  color: #6ee7b7 !important;
  border-color: rgba(52, 211, 153, 0.35);
}

.fh-badge--warning,
.badge-warning,
.bg-warning {
  background: rgba(251, 191, 36, 0.15) !important;
  color: #fcd34d !important;
  border-color: rgba(251, 191, 36, 0.35);
}

.fh-badge--danger,
.badge-danger,
.bg-danger {
  background: rgba(248, 113, 113, 0.15) !important;
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.35);
}

.fh-badge--muted {
  background: rgba(143, 163, 190, 0.15) !important;
  color: #c5d5e8 !important;
  border-color: rgba(143, 163, 190, 0.3) !important;
  text-transform: none;
  font-weight: 600;
}

/* ?? Barre de progression ?? */
.fh-progress__label {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8fa3be;
}

.fh-progress__label strong {
  color: var(--fh-accent);
  font-weight: 800;
}

.fh-progress__bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fh-progress__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, var(--fh-accent-2), var(--fh-accent));
  box-shadow: 0 0 12px rgba(59, 158, 255, 0.4);
}

.fh-progress--complete .fh-progress__bar > span {
  background: linear-gradient(90deg, #059669, #34d399);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}

.fh-progress--complete .fh-progress__label strong {
  color: #34d399;
}

.fh-progress--mid .fh-progress__bar > span {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.fh-progress--low .fh-progress__bar > span {
  background: linear-gradient(90deg, #dc2626, #f87171);
}

.fh-progress--none .fh-progress__bar > span {
  background: rgba(143, 163, 190, 0.4);
  box-shadow: none;
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--fh-accent-2), var(--fh-accent)) !important;
}

/* ?? Formulaires ?? */
.form-control,
.form-select,
select.form-control {
  background-color: #0a1628 !important;
  background-image: none;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  color: #e8f0fc !important;
  border-radius: 12px !important;
  padding: 0.65rem 0.9rem;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238fa8c8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.25rem !important;
}

.form-select option,
.form-control option,
select option {
  background-color: #0c1829;
  color: #e8f0fc;
}

.form-control:focus,
.form-select:focus,
select.form-control:focus {
  border-color: var(--fh-accent) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.15) !important;
}

.form-control::placeholder {
  color: var(--fh-muted);
  opacity: 0.7;
}

label {
  color: var(--fh-muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* ?? Boutons ?? */
.btn-primary {
  background: linear-gradient(135deg, var(--fh-accent), var(--fh-accent-2)) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px !important;
  padding: 0.55rem 1.1rem;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-success {
  background: linear-gradient(135deg, #34d399, #059669) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px !important;
}

.btn-danger {
  background: linear-gradient(135deg, #f87171, #dc2626) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px !important;
}

.btn-info {
  background: rgba(59, 158, 255, 0.2) !important;
  border: 1px solid var(--fh-border) !important;
  color: var(--fh-accent) !important;
  font-weight: 700;
  border-radius: 12px !important;
}

.btn-light {
  background: var(--fh-surface) !important;
  border: 1px solid var(--fh-border) !important;
  color: var(--fh-text) !important;
  font-weight: 600;
  border-radius: 12px !important;
}

.btn-light:hover {
  border-color: var(--fh-accent) !important;
  color: var(--fh-accent) !important;
}

/* ?? Page auth / recherche ?? */
.fh-auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1rem;
}

.fh-auth-card {
  width: 100%;
  max-width: 460px;
  padding: 2rem;
  background: var(--fh-bg-elevated);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow);
}

.fh-auth-card__logo {
  display: block;
  margin: 0 auto 1.5rem;
}

.fh-auth-card__title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fh-text);
}

.fh-auth-card__lead {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--fh-muted);
  font-size: 0.95rem;
}

.fh-auth-card__footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
}

.fh-auth-card__footer a {
  color: var(--fh-accent);
  text-decoration: none;
}

.fh-auth-card__footer a:hover {
  text-decoration: underline;
}

/* ?? Profil staff ?? */
.fh-profile {
  text-align: center;
  margin-bottom: 1.5rem;
}

.fh-profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--fh-border);
  object-fit: cover;
}

.fh-profile__name {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fh-text);
}

.fh-chat-item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--fh-border);
}

.fh-chat-item:last-child {
  border-bottom: none;
}

.fh-chat-item__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fh-chat-item__meta {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fh-text);
}

.fh-chat-item__time {
  font-weight: 500;
  color: var(--fh-muted);
  font-size: 0.8rem;
}

.fh-chat-item__text {
  margin: 0;
  color: var(--fh-muted);
  line-height: 1.5;
}

/* ?? Footer portail ?? */
.fh-portal-footer {
  padding: 2rem 0 2.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
  text-align: center;
  color: #8fa3be;
  font-size: 0.85rem;
}

.fh-portal-footer i {
  color: #f87171;
}

/* ?? Nav utilisateur travaux ?? */
.fh-nav__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fh-nav__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--fh-border);
  object-fit: cover;
}

.fh-nav__user-menu {
  position: relative;
}

.fh-nav__user-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  background: var(--fh-surface);
  border: 1px solid var(--fh-border);
  border-radius: 999px;
  color: var(--fh-text);
  cursor: pointer;
  font-size: 0.875rem;
}

.fh-nav__user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 220px;
  padding: 0.5rem;
  background: var(--fh-bg-elevated);
  border: 1px solid var(--fh-border);
  border-radius: 12px;
  box-shadow: var(--fh-shadow);
  display: none;
  z-index: 1100;
}

.fh-nav__user-menu.is-open .fh-nav__user-dropdown {
  display: block;
}

.fh-nav__user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  color: var(--fh-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: background 0.15s ease;
}

.fh-nav__user-dropdown a:hover {
  background: var(--fh-surface);
  color: var(--fh-accent);
}

.fh-nav__user-dropdown a.is-danger {
  color: #f87171;
}

.fh-nav__user-dropdown hr {
  margin: 0.35rem 0;
  border-color: var(--fh-border);
  opacity: 1;
}

/* ?? Page erreur ?? */
.fh-error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.fh-error-card {
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--fh-bg-elevated);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow);
}

.fh-error-card img {
  margin-bottom: 1.5rem;
}

.fh-error-card h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--fh-text);
}

.fh-error-card p {
  color: var(--fh-muted);
  margin-bottom: 1.5rem;
}

.text-muted {
  color: var(--fh-muted) !important;
}

/* TinyMCE dark */
.fh-add-dossier__editor .tox-tinymce,
.fh-add-task__editor .tox-tinymce,
.fh-task-detail .tox-tinymce,
.fh-portal .tox-tinymce {
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #081220 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.fh-add-dossier__editor .tox .tox-toolbar-overlord,
.fh-add-dossier__editor .tox .tox-toolbar__primary,
.fh-add-task__editor .tox .tox-toolbar-overlord,
.fh-add-task__editor .tox .tox-toolbar__primary,
.fh-portal .tox .tox-toolbar-overlord,
.fh-portal .tox .tox-toolbar__primary {
  background: #0c1829 !important;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12) !important;
}

.fh-add-dossier__editor .tox .tox-toolbar,
.fh-add-task__editor .tox .tox-toolbar,
.fh-portal .tox .tox-toolbar {
  background: transparent !important;
}

.fh-add-dossier__editor .tox .tox-tbtn,
.fh-add-task__editor .tox .tox-tbtn,
.fh-portal .tox .tox-tbtn {
  color: #9eb8d8 !important;
}

.fh-add-dossier__editor .tox .tox-tbtn:hover,
.fh-add-task__editor .tox .tox-tbtn:hover,
.fh-portal .tox .tox-tbtn:hover {
  background: rgba(59, 158, 255, 0.12) !important;
  color: #e8f0fc !important;
}

.fh-add-dossier__editor .tox .tox-tbtn--enabled,
.fh-add-dossier__editor .tox .tox-tbtn--enabled:hover,
.fh-add-task__editor .tox .tox-tbtn--enabled,
.fh-add-task__editor .tox .tox-tbtn--enabled:hover,
.fh-portal .tox .tox-tbtn--enabled,
.fh-portal .tox .tox-tbtn--enabled:hover {
  background: rgba(59, 158, 255, 0.18) !important;
  color: #ffffff !important;
}

.fh-add-dossier__editor .tox .tox-edit-area__iframe,
.fh-add-task__editor .tox .tox-edit-area__iframe,
.fh-portal .tox .tox-edit-area__iframe {
  background: #081220 !important;
}

.fh-add-dossier__editor .tox .tox-statusbar,
.fh-add-task__editor .tox .tox-statusbar,
.fh-portal .tox .tox-statusbar {
  background: #0a1424 !important;
  border-top: 1px solid rgba(77, 163, 255, 0.1) !important;
}

/* TinyMCE dans modals wiki + dialogue Source code ?ditable */
body.fh-body--wiki .fh-modal .tox-tinymce {
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  border-radius: 12px !important;
  overflow: visible;
  background: #081220 !important;
}

body.fh-body--wiki .fh-modal .tox .tox-statusbar {
  cursor: ns-resize;
}

body.fh-body--wiki .fh-modal .tox .tox-statusbar__resize-handle {
  pointer-events: auto !important;
  cursor: nwse-resize !important;
}

body.fh-body--wiki .tox-tinymce-aux,
body.fh-body--wiki .tox-dialog-wrap {
  z-index: 10060 !important;
}

body.fh-body--wiki .tox-dialog__body-content .tox-textarea-wrap,
body.fh-body--wiki .tox-dialog__body-content textarea.tox-textarea,
body.fh-body--wiki .tox-dialog textarea {
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

body.fh-body--wiki .tox-dialog__body-content textarea.tox-textarea,
body.fh-body--wiki .tox-dialog textarea {
  min-height: 360px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #e8f0fc !important;
  background: #081220 !important;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  border-radius: 10px !important;
  resize: vertical !important;
}

body.fh-wiki-tox-dialog-open .modal-backdrop.show {
  pointer-events: none;
}

/* Toastr ? th?me wiki FiveHeberg */
body.fh-body--wiki #toast-container {
  top: 5.25rem;
  right: 1rem;
  z-index: 1080;
}

body.fh-body--wiki #toast-container > .fh-wiki-toast-notify,
body.fh-body--wiki #toast-container > div {
  position: relative;
  width: min(340px, calc(100vw - 2rem));
  margin: 0 0 0.65rem !important;
  padding: 0.85rem 2.25rem 0.95rem 3.35rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  background: rgba(12, 22, 38, 0.97) !important;
  background-image: none !important;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset !important;
  color: #dbeafe !important;
  opacity: 1 !important;
  backdrop-filter: blur(14px);
  overflow: hidden;
}

body.fh-body--wiki #toast-container > div::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9px;
  background: rgba(59, 158, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(59, 158, 255, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.95rem;
}

body.fh-body--wiki #toast-container > .toast-success::before,
body.fh-body--wiki #toast-container > .fh-wiki-toast-notify--success::before {
  background-color: rgba(52, 211, 153, 0.14);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

body.fh-body--wiki #toast-container > .toast-error::before,
body.fh-body--wiki #toast-container > .fh-wiki-toast-notify--error::before {
  background-color: rgba(248, 113, 113, 0.14);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fca5a5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

body.fh-body--wiki #toast-container > .toast-warning::before,
body.fh-body--wiki #toast-container > .fh-wiki-toast-notify--warn::before {
  background-color: rgba(251, 191, 36, 0.14);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd34d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3Cpath d='M10.3 4.3 1.8 19a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 4.3a2 2 0 0 0-3.4 0Z'/%3E%3C/svg%3E");
}

body.fh-body--wiki #toast-container > .fh-wiki-toast-notify .toast-title,
body.fh-body--wiki #toast-container > div .toast-title {
  margin: 0 0 0.15rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

body.fh-body--wiki #toast-container > .fh-wiki-toast-notify .toast-message,
body.fh-body--wiki #toast-container > div .toast-message {
  margin: 0;
  color: #9fb4d0;
  font-size: 0.82rem;
  line-height: 1.4;
}

body.fh-body--wiki #toast-container > .fh-wiki-toast-notify .toast-close-button,
body.fh-body--wiki #toast-container > div .toast-close-button {
  top: 0.55rem !important;
  right: 0.65rem !important;
  color: #7f95b3 !important;
  text-shadow: none !important;
  opacity: 0.75 !important;
  font-weight: 400 !important;
  font-size: 1.15rem !important;
}

body.fh-body--wiki #toast-container > .fh-wiki-toast-notify .toast-close-button:hover,
body.fh-body--wiki #toast-container > div .toast-close-button:hover {
  color: #fff !important;
  opacity: 1 !important;
}

body.fh-body--wiki .fh-wiki-toast-notify__progress,
body.fh-body--wiki #toast-container > div .toast-progress,
body.fh-body--wiki #toast-container > div .fh-wiki-toast-notify__progress {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  margin: 0 !important;
  height: 3px !important;
  opacity: 1 !important;
  background: rgba(59, 158, 255, 0.75) !important;
  border-radius: 0 0 14px 14px;
  z-index: 2;
  pointer-events: none;
}

body.fh-body--wiki #toast-container > .fh-wiki-toast-notify,
body.fh-body--wiki #toast-container > div {
  padding-bottom: 1.05rem !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--success,
body.fh-body--wiki #toast-container > .toast-success {
  border-color: rgba(52, 211, 153, 0.28) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--success .toast-title,
body.fh-body--wiki #toast-container > .toast-success .toast-title {
  color: #6ee7b7;
}

body.fh-body--wiki .fh-wiki-toast-notify--success .fh-wiki-toast-notify__progress,
body.fh-body--wiki #toast-container > .toast-success .toast-progress {
  background: rgba(52, 211, 153, 0.85) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--error,
body.fh-body--wiki #toast-container > .toast-error {
  border-color: rgba(248, 113, 113, 0.28) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--error .toast-title,
body.fh-body--wiki #toast-container > .toast-error .toast-title {
  color: #fca5a5;
}

body.fh-body--wiki .fh-wiki-toast-notify--error .fh-wiki-toast-notify__progress,
body.fh-body--wiki #toast-container > .toast-error .toast-progress {
  background: rgba(248, 113, 113, 0.85) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--warn,
body.fh-body--wiki #toast-container > .toast-warning {
  border-color: rgba(251, 191, 36, 0.28) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--warn .toast-title,
body.fh-body--wiki #toast-container > .toast-warning .toast-title {
  color: #fcd34d;
}

body.fh-body--wiki .fh-wiki-toast-notify--warn .fh-wiki-toast-notify__progress,
body.fh-body--wiki #toast-container > .toast-warning .toast-progress {
  background: rgba(251, 191, 36, 0.85) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--info,
body.fh-body--wiki #toast-container > .toast-info {
  border-color: rgba(59, 158, 255, 0.28) !important;
}

body.fh-body--wiki .fh-wiki-toast-notify--info .toast-title,
body.fh-body--wiki #toast-container > .toast-info .toast-title {
  color: #93c5fd;
}

/* Utilitaires */
.text-white { color: var(--fh-text) !important; }
.m-b-30 { margin-bottom: 1.5rem !important; }
.m-t-20 { margin-top: 1.25rem !important; }
.m-t-10 { margin-top: 0.65rem !important; }
.m-l-5 { margin-left: 0.35rem !important; }

/* ?? Pages d?tail (t?che / dossier) ?? */
.email-leftbar {
  float: left;
  width: 280px;
  margin-bottom: 1.5rem;
}

.email-rightbar {
  margin-left: 300px;
}

.email-leftbar.card {
  padding: 1.25rem;
}

.email-leftbar .mail-list a {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--fh-muted);
  text-decoration: none;
}

.email-leftbar .btn-block {
  width: 100%;
  margin-bottom: 0.5rem;
}

.main-timeline .timeline {
  background: var(--fh-bg-elevated);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.main-timeline .timeline .title {
  color: var(--fh-text);
  font-size: 1rem;
  font-weight: 700;
}

.main-timeline .timeline .year {
  color: var(--fh-accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.modal-content {
  background: var(--fh-bg-elevated) !important;
  border: 1px solid var(--fh-border) !important;
  color: var(--fh-text) !important;
  border-radius: var(--fh-radius) !important;
}

/* Fix : fiveheberg.css force position:relative sur les enfants directs de body */
.fh-body > .modal,
body.fh-body .modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1060 !important;
  width: 100% !important;
  height: 100% !important;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 !important;
  /* Ne pas forcer display:flex ? laisse Bootstrap g?rer l'animation fade */
}

.fh-body > .modal .modal-dialog,
body.fh-body .modal .modal-dialog {
  margin: 1rem auto;
  width: calc(100% - 2rem);
  max-width: 860px;
  max-height: calc(100vh - 2rem);
  pointer-events: auto;
}

.fh-body > .modal .modal-dialog.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 2rem);
}

.fh-body > .modal .modal-dialog.modal-dialog-scrollable {
  height: calc(100% - 2rem);
  max-height: calc(100vh - 2rem);
}

.fh-body > .modal .modal-content,
body.fh-body .modal .modal-content {
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

/* Formulaire dans le modal : garde header / body / footer visibles */
.fh-body > .modal .modal-content > form,
body.fh-body .modal .modal-content > form,
.fh-modal__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.fh-body > .modal .modal-body,
body.fh-body .modal .modal-body,
.fh-modal__form > .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.fh-body > .modal .modal-header,
.fh-body > .modal .modal-footer,
body.fh-body .modal .modal-header,
body.fh-body .modal .modal-footer,
.fh-modal__form > .modal-header,
.fh-modal__form > .modal-footer {
  flex-shrink: 0;
}

.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1055 !important;
}

body.fh-modal-open,
body.fh-body--wiki.modal-open {
  overflow: hidden !important;
  /* scrollbar-gutter: stable + compensation Bootstrap = double gap ? droite */
  padding-right: 0 !important;
}

body.fh-body--wiki.modal-open .fh-header,
body.fh-body--wiki.modal-open .fh-nav__surface,
body.fh-body--wiki.modal-open .fixed-top,
body.fh-body--wiki.modal-open .sticky-top,
body.fh-body--wiki.modal-open .fixed-bottom {
  padding-right: 0 !important;
}

.modal-header {
  border-bottom-color: var(--fh-border) !important;
}

.modal-header .btn-close {
  filter: invert(1);
}

.fh-dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.fh-dossier-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--fh-bg-elevated);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  height: 100%;
}

.fh-dossier-card__id {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fh-accent);
}

.fh-dossier-card__meta {
  color: var(--fh-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .email-leftbar,
  .email-rightbar {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .fh-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fh-portal {
    padding-top: 1rem;
  }
}

/* ?? Table t?ches : contraste forc? (priorit? max) ?? */
body.fh-body .fh-portal .fh-tasks-table,
body.fh-body .fh-portal .fh-tasks-table > :not(caption) > * > *,
body.fh-body .fh-portal .fh-tasks-table tbody td,
body.fh-body .fh-portal .fh-tasks-table tbody td *:not(.fh-badge):not(.fh-progress__bar):not(.fh-progress__bar *) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.fh-body .fh-portal .fh-tasks-table thead th {
  color: #8eb5e8 !important;
  -webkit-text-fill-color: #8eb5e8 !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-table__chip {
  color: #e8f4ff !important;
  -webkit-text-fill-color: #e8f4ff !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-table__chip--empty {
  color: #d8e6f8 !important;
  -webkit-text-fill-color: #d8e6f8 !important;
  background: rgba(143, 163, 190, 0.2) !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-table__date,
body.fh-body .fh-portal .fh-tasks-table .fh-table__date-day {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 600 !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-table__time {
  color: #c5d9f2 !important;
  -webkit-text-fill-color: #c5d9f2 !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-table__link {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-table__link:hover {
  color: #3b9eff !important;
  -webkit-text-fill-color: #3b9eff !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-progress__label {
  color: #a8c0e0 !important;
}

body.fh-body .fh-portal .fh-tasks-table .fh-progress__label strong {
  color: #3b9eff !important;
}

/* Annule l'ancien style.css Stexo si encore charg? */
body.fh-body .table td,
body.fh-body .table th,
body.fh-body .table-hover tbody tr:hover {
  color: #e8f0fc !important;
}

/* ??????????????????????????????????????????
   DASHBOARD V3 ? rendu pro / SaaS premium
   ?????????????????????????????????????????? */

.fh-dash .fh-portal__inner {
  max-width: 1120px;
}

.fh-dash.fh-portal {
  padding: 1.5rem 0 3rem;
}

.fh-dash.fh-portal::before {
  height: 320px;
  opacity: 0.35;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 158, 255, 0.14), transparent 65%);
}

/* ?? Hero ?? */
.fh-dash-hero {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(160deg, rgba(14, 26, 44, 0.92) 0%, rgba(8, 14, 26, 0.88) 100%);
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.fh-dash-hero--compact {
  margin-bottom: 1.25rem;
}

.fh-dash-hero--compact .fh-dash-hero__top {
  margin-bottom: 0;
}

.fh-dash-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.25rem;
}

.fh-dash-hero__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ec2ff;
  background: rgba(59, 158, 255, 0.08);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 6px;
}

.fh-dash-hero__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.fh-dash-hero__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #a8c4e4;
}

.fh-dash-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.fh-dash-hero__toolbar {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-dash-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background: rgba(6, 12, 22, 0.75);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-dash-search:focus-within {
  border-color: rgba(59, 158, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.1);
}

.fh-dash-search i {
  color: #5a7a9e;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fh-dash-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #eef4fc;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.fh-dash-search input::placeholder {
  color: #5a7a9e;
}

.fh-dash-search__btn {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #1d6fd8, #3b9eff);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.fh-dash-search__btn:hover {
  filter: brightness(1.08);
}

/* ?? Stats ?? */
.fh-dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .fh-dash-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.fh-dash-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(160deg, rgba(12, 22, 38, 0.9), rgba(8, 14, 26, 0.85));
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fh-dash-stat--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.fh-dash-stat--link:hover {
  border-color: rgba(59, 158, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.fh-dash-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.fh-dash-stat--info .fh-dash-stat__icon {
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.12);
}

.fh-dash-stat--success .fh-dash-stat__icon {
  color: #4ade9a;
  background: rgba(52, 211, 153, 0.12);
}

.fh-dash-stat--warning .fh-dash-stat__icon {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.fh-dash-stat--danger .fh-dash-stat__icon {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.fh-dash-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.fh-dash-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.fh-dash-stat--info .fh-dash-stat__value { color: #7ec8ff; }
.fh-dash-stat--success .fh-dash-stat__value { color: #6ee7b7; }
.fh-dash-stat--warning .fh-dash-stat__value { color: #fde68a; }
.fh-dash-stat--danger .fh-dash-stat__value { color: #fca5a5; }

.fh-dash-stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7a96b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ?? Alerte ?? */
.fh-dash-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid transparent;
}

.fh-dash-alert--danger {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.25), rgba(69, 10, 10, 0.2));
  border-color: rgba(248, 113, 113, 0.3);
}

.fh-dash-alert--success {
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.28), rgba(6, 46, 22, 0.2));
  border-color: rgba(74, 222, 128, 0.28);
}

.fh-dash-alert--success .fh-dash-alert__icon {
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
}

.fh-dash-alert--success .fh-dash-alert__body p {
  color: #a7d4b8;
}

.fh-dash-alert--warning {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.28), rgba(69, 26, 3, 0.2));
  border-color: rgba(251, 191, 36, 0.28);
}

.fh-dash-alert--warning .fh-dash-alert__icon {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.fh-dash-alert--warning .fh-dash-alert__body p {
  color: #d4c4a0;
}

.fh-dash-alert__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  font-size: 1rem;
  flex-shrink: 0;
}

.fh-dash-alert__body {
  flex: 1;
  min-width: 200px;
}

.fh-dash-alert__body strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.fh-dash-alert__body p {
  margin: 0;
  font-size: 0.82rem;
  color: #d4a8a8;
  line-height: 1.45;
}

.fh-dash-alert__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ?? Sections & panels ?? */
.fh-dash-section {
  margin-bottom: 1.25rem;
}

.fh-dash-section:last-child {
  margin-bottom: 0;
}

.fh-dash-panel {
  padding: 1.25rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.75), rgba(8, 14, 26, 0.65));
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 18px;
}

.fh-dash-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.08);
}

.fh-dash-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fh-dash-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.1);
  flex-shrink: 0;
}

.fh-dash-section__icon--active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.fh-dash-section__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.fh-dash-section__sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #7a96b8;
}

.fh-dash-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5eb8ff;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.fh-dash-section__link:hover {
  color: #9ed4ff;
}

/* ?? Toolbar liste ?? */
.fh-task-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.08);
}

.fh-task-toolbar__search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: rgba(6, 12, 22, 0.6);
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 12px;
}

.fh-task-toolbar__search:focus-within {
  border-color: rgba(59, 158, 255, 0.35);
}

.fh-task-toolbar__search i {
  color: #5a7a9e;
  font-size: 0.85rem;
}

.fh-task-toolbar__input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #eef4fc;
  font-size: 0.88rem;
  outline: none;
}

.fh-task-toolbar__input::placeholder {
  color: #5a7a9e;
}

.fh-task-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fh-filter-chip {
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fa8c8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fh-filter-chip:hover {
  color: #d0e4f8;
  border-color: rgba(59, 158, 255, 0.25);
  background: rgba(59, 158, 255, 0.06);
}

.fh-filter-chip.is-active {
  color: #ffffff;
  background: rgba(59, 158, 255, 0.18);
  border-color: rgba(59, 158, 255, 0.4);
}

.fh-filter-chip[data-fh-filter-type="incident"].is-active {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.fh-task-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.fh-task-toolbar__status,
.fh-task-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fh-task-toolbar__select-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #7a96b8;
}

.fh-task-toolbar__select {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  color: #e8f0fc;
  background: rgba(6, 12, 22, 0.7);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 8px;
  outline: none;
}

.fh-task-toolbar__count {
  margin: 0 0 0 auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b8cb0;
}

/* ?? Liste t?ches ?? */
.fh-task-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fh-task-item {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: rgba(8, 14, 26, 0.55);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fh-task-item:hover {
  background: rgba(12, 22, 38, 0.8);
  border-color: rgba(59, 158, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fh-task-item__accent {
  width: 3px;
  flex-shrink: 0;
  background: #3b9eff;
}

.fh-task-item--type-incident .fh-task-item__accent { background: #f87171; }
.fh-task-item--type-amelioration .fh-task-item__accent { background: #4ade9a; }
.fh-task-item--type-maintenance .fh-task-item__accent { background: #fbbf24; }
.fh-task-item--type-information .fh-task-item__accent { background: #5eb8ff; }

.fh-task-item__type-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #6b8cb0;
}

@media (min-width: 576px) {
  .fh-task-item__type-icon {
    display: flex;
    padding-left: 0.85rem;
  }

  .fh-task-item--type-incident .fh-task-item__type-icon { color: #fca5a5; }
  .fh-task-item--type-amelioration .fh-task-item__type-icon { color: #6ee7b7; }
  .fh-task-item--type-maintenance .fh-task-item__type-icon { color: #fde68a; }
  .fh-task-item--type-information .fh-task-item__type-icon { color: #7ec8ff; }
}

.fh-task-item__main {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem 0.85rem 0.85rem;
}

.fh-task-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.fh-task-item__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f0f6ff;
  line-height: 1.35;
}

.fh-task-item__date {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b8cb0;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.fh-task-item__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.fh-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #a8c8e8;
  background: rgba(59, 158, 255, 0.08);
  border-radius: 5px;
}

.fh-tag i {
  font-size: 0.6rem;
  opacity: 0.75;
}

.fh-tag--muted {
  color: #7a96b8;
  background: rgba(143, 163, 190, 0.08);
}

.fh-dash .fh-badge {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  box-shadow: none;
}

.fh-task-item__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fh-task-item__progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.fh-task-item__progress-track {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.fh-task-item__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d6fd8, #3b9eff);
  transition: width 0.4s ease;
}

.fh-task-item__progress.fh-progress--complete .fh-task-item__progress-bar {
  background: linear-gradient(90deg, #059669, #34d399);
}

.fh-task-item__progress.fh-progress--mid .fh-task-item__progress-bar {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.fh-task-item__progress.fh-progress--low .fh-task-item__progress-bar {
  background: linear-gradient(90deg, #dc2626, #f87171);
}

.fh-task-item__progress-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5eb8ff;
  min-width: 2rem;
  text-align: right;
}

.fh-task-item__progress.fh-progress--complete .fh-task-item__progress-label { color: #34d399; }

.fh-task-item__arrow {
  font-size: 0.7rem;
  color: rgba(94, 184, 255, 0.25);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fh-task-item:hover .fh-task-item__arrow {
  color: #5eb8ff;
  transform: translateX(2px);
}

.fh-task-item--alert {
  border-color: rgba(248, 113, 113, 0.25);
  background: rgba(127, 29, 29, 0.12);
}

.fh-task-item--alert:hover {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.18);
}

.fh-task-list__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #7a96b8;
  background: rgba(8, 14, 26, 0.4);
  border: 1px dashed rgba(77, 163, 255, 0.15);
  border-radius: 14px;
}

.fh-task-list__empty i {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
  opacity: 0.35;
}

.fh-task-list__empty p {
  margin: 0;
  font-size: 0.88rem;
}

.fh-task-list__empty--hidden[hidden] {
  display: none !important;
}

@media (max-width: 575.98px) {
  .fh-dash-hero {
    padding: 1.15rem;
  }

  .fh-dash-hero__cta {
    width: 100%;
  }

  .fh-dash-search__btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }

  .fh-dash-panel {
    padding: 1rem;
  }

  .fh-task-item__top {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* ??????????????????????????????????????????
   PAGE D?TAIL T?CHE ? v2
   ?????????????????????????????????????????? */

.fh-task-detail .fh-portal__inner {
  max-width: 1140px;
}

.fh-task-detail .fh-badge {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  box-shadow: none;
}

.fh-task-detail__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fh-task-detail__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fa8c8;
  background: rgba(12, 22, 38, 0.6);
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.fh-task-detail__copy:hover {
  color: #5eb8ff;
  border-color: rgba(59, 158, 255, 0.3);
  background: rgba(14, 26, 44, 0.8);
}

.fh-task-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8fa8c8;
  text-decoration: none;
  background: rgba(12, 22, 38, 0.6);
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 8px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.fh-task-detail__back:hover {
  color: #5eb8ff;
  border-color: rgba(59, 158, 255, 0.3);
  background: rgba(14, 26, 44, 0.8);
}

/* Hero */
.fh-task-detail__hero {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem 1.25rem;
  background: linear-gradient(155deg, rgba(16, 30, 52, 0.95) 0%, rgba(8, 14, 26, 0.92) 55%, rgba(10, 18, 32, 0.9) 100%);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.fh-task-detail__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #3b9eff;
}

.fh-task-detail--type-incident .fh-task-detail__accent { background: linear-gradient(90deg, #b91c1c, #f87171, #fca5a5); }
.fh-task-detail--type-amelioration .fh-task-detail__accent { background: linear-gradient(90deg, #047857, #34d399, #6ee7b7); }
.fh-task-detail--type-maintenance .fh-task-detail__accent { background: linear-gradient(90deg, #b45309, #fbbf24, #fde68a); }
.fh-task-detail--type-information .fh-task-detail__accent { background: linear-gradient(90deg, #1d4ed8, #3b9eff, #7ec8ff); }

.fh-task-detail__hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
  .fh-task-detail__hero-grid {
    grid-template-columns: 1fr;
  }
}

.fh-task-detail__hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.fh-task-detail__type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.14);
  border: 1px solid rgba(59, 158, 255, 0.2);
}

.fh-task-detail--type-incident .fh-task-detail__type-icon { color: #fca5a5; background: rgba(248, 113, 113, 0.14); border-color: rgba(248, 113, 113, 0.25); }
.fh-task-detail--type-amelioration .fh-task-detail__type-icon { color: #6ee7b7; background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.25); }
.fh-task-detail--type-maintenance .fh-task-detail__type-icon { color: #fde68a; background: rgba(251, 191, 36, 0.14); border-color: rgba(251, 191, 36, 0.25); }

.fh-task-detail__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.fh-tag--node {
  color: #a8c8e8;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.15);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.fh-task-detail__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.fh-task-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fh-task-detail__meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: #9eb8d8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 8px;
}

.fh-task-detail__meta-pill i {
  font-size: 0.68rem;
  color: #6b8cb0;
}

/* Progress ring + bar */
.fh-task-detail__hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  min-width: 140px;
}

.fh-task-detail__progress-ring {
  position: relative;
  width: 88px;
  height: 88px;
}

.fh-task-detail__progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fh-task-detail__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 3;
}

.fh-task-detail__ring-fill {
  fill: none;
  stroke: #3b9eff;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.fh-task-detail__progress-ring.fh-progress--complete .fh-task-detail__ring-fill { stroke: #34d399; }
.fh-task-detail__progress-ring.fh-progress--mid .fh-task-detail__ring-fill { stroke: #fbbf24; }
.fh-task-detail__progress-ring.fh-progress--low .fh-task-detail__ring-fill { stroke: #f87171; }

.fh-task-detail__ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.fh-task-detail__ring-value small {
  font-size: 0.65rem;
  font-weight: 700;
  color: #8fa8c8;
  margin-left: 1px;
}

.fh-task-detail__hero-aside .fh-task-detail__progress {
  width: 100%;
  max-width: 160px;
}

.fh-task-detail__progress-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #7a96b8;
}

.fh-task-detail__progress-head strong {
  color: #5eb8ff;
}

.fh-task-detail__progress.fh-progress--complete .fh-task-detail__progress-head strong { color: #34d399; }
.fh-task-detail__progress.fh-progress--mid .fh-task-detail__progress-head strong { color: #fbbf24; }
.fh-task-detail__progress.fh-progress--low .fh-task-detail__progress-head strong { color: #f87171; }

.fh-task-detail__progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.fh-task-detail__progress-bar {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d6fd8, #5eb8ff);
  box-shadow: 0 0 12px rgba(59, 158, 255, 0.35);
  transition: width 0.5s ease;
}

.fh-task-detail__progress.fh-progress--none .fh-task-detail__progress-bar {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
}

.fh-task-detail__progress.fh-progress--complete .fh-task-detail__progress-bar {
  background: linear-gradient(90deg, #059669, #34d399);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.3);
}

.fh-task-detail__progress.fh-progress--mid .fh-task-detail__progress-bar {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.25);
}

.fh-task-detail__progress.fh-progress--low .fh-task-detail__progress-bar {
  background: linear-gradient(90deg, #dc2626, #f87171);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.25);
}

/* Status steps */
.fh-task-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-task-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-width: 72px;
}

.fh-task-steps__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #5a7a9e;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(77, 163, 255, 0.15);
  transition: all 0.2s ease;
}

.fh-task-steps__item.is-done .fh-task-steps__dot {
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.15);
  border-color: rgba(59, 158, 255, 0.4);
}

.fh-task-steps__item.is-current .fh-task-steps__dot {
  color: #ffffff;
  background: linear-gradient(135deg, #1d6fd8, #3b9eff);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(59, 158, 255, 0.4);
}

.fh-task-detail--type-amelioration .fh-task-steps__item.is-current .fh-task-steps__dot {
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}

.fh-task-steps__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #5a7a9e;
  text-align: center;
}

.fh-task-steps__item.is-done .fh-task-steps__label,
.fh-task-steps__item.is-current .fh-task-steps__label {
  color: #c5d9f2;
}

.fh-task-steps__line {
  flex: 1;
  height: 2px;
  margin: 0 0.25rem;
  margin-bottom: 1.25rem;
  background: rgba(77, 163, 255, 0.12);
  border-radius: 1px;
}

.fh-task-steps__line.is-done {
  background: linear-gradient(90deg, rgba(59, 158, 255, 0.5), rgba(59, 158, 255, 0.25));
}

/* Grid */
.fh-task-detail__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .fh-task-detail__grid {
    grid-template-columns: 1fr;
  }
}

.fh-task-detail__sidebar {
  position: sticky;
  top: 80px;
}

@media (max-width: 991.98px) {
  .fh-task-detail__sidebar {
    position: static;
  }
}

.fh-task-detail__card {
  padding: 1.1rem 1.2rem;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.88), rgba(8, 14, 26, 0.78));
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.fh-task-detail__card + .fh-task-detail__card {
  margin-top: 0.85rem;
}

.fh-task-detail__card-title {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b8cb0;
}

/* Facts */
.fh-task-detail__facts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fh-task-detail__fact {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 10px;
}

.fh-task-detail__fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  font-size: 0.72rem;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.1);
  flex-shrink: 0;
}

.fh-task-detail__fact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b8cb0;
  margin-bottom: 0.1rem;
}

.fh-task-detail__fact-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #eef4fc;
}

.fh-task-detail__fact-body {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.fh-task-detail__fact-value--truncate,
.fh-copy-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-copy-text {
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #eef4fc;
  cursor: pointer;
  transition: color 0.15s ease;
}

.fh-copy-text:hover,
.fh-copy-text:focus-visible {
  color: #5eb8ff;
  outline: none;
}

.fh-copy-text.is-copied {
  color: #6ee7b7;
}

.fh-tag--copy {
  max-width: min(100%, 16rem);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fh-tag--copy:hover {
  border-color: rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.14);
}

.fh-tag--copy .fh-tag__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.fh-tag--copy.is-copied {
  border-color: rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.fh-task-detail__ref {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.12rem 0.4rem;
  color: #8ecfff;
  background: rgba(59, 158, 255, 0.12);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 5px;
}

/* Links */
.fh-task-detail__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fh-task-detail__links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9eb8d8;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.fh-task-detail__links a i {
  width: 1rem;
  font-size: 0.75rem;
  color: #6b8cb0;
  text-align: center;
}

.fh-task-detail__links a:hover {
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.08);
}

/* Staff actions */
.fh-task-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fh-task-detail__action-form {
  margin: 0;
}

.fh-task-detail__actions .fh-btn {
  justify-content: center;
  font-size: 0.82rem;
}

.fh-btn--danger {
  color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.2) !important;
}

.fh-btn--danger:hover {
  color: #fecaca !important;
  background: rgba(220, 38, 38, 0.12) !important;
  border-color: rgba(248, 113, 113, 0.35) !important;
}

/* Content */
.fh-task-detail__card--content {
  min-height: 320px;
}

.fh-task-detail__content-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-task-detail__content-head .fh-task-detail__card-title {
  margin: 0;
  font-size: 0.78rem;
}

.fh-task-detail__updated {
  font-size: 0.75rem;
  color: #6b8cb0;
}

.fh-task-detail__prose {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #c8daf0;
  word-wrap: break-word;
}

.fh-task-detail__prose > *:first-child {
  margin-top: 0 !important;
}

.fh-task-detail__prose p {
  margin-bottom: 0.9rem;
}

.fh-task-detail__prose p:last-child {
  margin-bottom: 0;
}

.fh-task-detail__prose h1,
.fh-task-detail__prose h2,
.fh-task-detail__prose h3 {
  display: block;
  margin: 1.5rem 0 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(59, 158, 255, 0.1), rgba(59, 158, 255, 0.02));
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 10px;
}

.fh-task-detail__prose h1:first-child,
.fh-task-detail__prose h2:first-child,
.fh-task-detail__prose h3:first-child {
  margin-top: 0;
}

.fh-task-detail__prose h4 {
  margin: 1rem 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f0fc;
}

.fh-task-detail__prose strong,
.fh-task-detail__prose b {
  color: #ffffff;
  font-weight: 700;
}

.fh-task-detail__prose a {
  color: #5eb8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fh-task-detail__prose a:hover {
  color: #9ed4ff;
}

.fh-task-detail__prose ul,
.fh-task-detail__prose ol {
  margin: 0.5rem 0 1rem;
  padding: 0.65rem 0.65rem 0.65rem 0.25rem;
  list-style: none;
  background: rgba(8, 14, 26, 0.45);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 10px;
}

.fh-task-detail__prose ul li,
.fh-task-detail__prose ol li {
  position: relative;
  padding: 0.35rem 0.65rem 0.35rem 1.5rem;
  color: #b8d0ea;
}

.fh-task-detail__prose ul li::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b9eff;
}

.fh-task-detail__prose ol {
  counter-reset: fh-ol;
}

.fh-task-detail__prose ol li {
  counter-increment: fh-ol;
  padding-left: 2rem;
}

.fh-task-detail__prose ol li::before {
  content: counter(fh-ol);
  position: absolute;
  left: 0.6rem;
  top: 0.4rem;
  width: 1.15rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.12);
  border-radius: 4px;
}

.fh-task-detail__prose hr {
  margin: 1.25rem 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.2), transparent);
}

.fh-task-detail__prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0.85rem 0;
  border: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-task-detail__prose code {
  padding: 0.15rem 0.4rem;
  font-size: 0.85em;
  color: #8ecfff;
  background: rgba(59, 158, 255, 0.1);
  border-radius: 4px;
}

.fh-task-detail__prose blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid rgba(251, 191, 36, 0.6);
  background: rgba(251, 191, 36, 0.06);
  border-radius: 0 10px 10px 0;
  color: #e8d5a8;
}

.fh-task-detail__empty {
  margin: 0;
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: #6b8cb0;
  background: rgba(8, 14, 26, 0.4);
  border: 1px dashed rgba(77, 163, 255, 0.12);
  border-radius: 12px;
}

.fh-text-muted {
  color: #6b8cb0 !important;
}

/* Modal */
.fh-modal {
  background: #0c1829 !important;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  color: #e8f0fc !important;
  border-radius: 18px !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

.fh-modal .modal-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12) !important;
}

.fh-modal .modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.fh-modal .modal-body {
  padding: 1.25rem;
}

.fh-modal .modal-body label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8fa8c8;
}

.fh-modal .form-control,
.fh-modal .form-select,
.fh-modal select {
  background-color: #081220 !important;
  border: 1px solid rgba(77, 163, 255, 0.25) !important;
  color: #eef4fc !important;
  -webkit-text-fill-color: #eef4fc;
}

.fh-modal .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a8c0e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

.fh-modal .form-select option {
  background-color: #0c1829;
  color: #e8f0fc;
}

.fh-modal .modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12) !important;
  gap: 0.5rem;
}

@media (max-width: 575.98px) {
  .fh-task-detail__hero {
    padding: 1.1rem;
  }

  .fh-task-steps {
    justify-content: space-between;
  }

  .fh-task-steps__item {
    min-width: 0;
    flex: 1;
  }

  .fh-task-steps__label {
    font-size: 0.62rem;
  }
}

/* ??????????????????????????????????????????
   RECHERCHE DOSSIER ? fh-lookup
   ?????????????????????????????????????????? */

.fh-lookup .fh-portal__inner {
  max-width: 960px;
}

.fh-lookup__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.fh-lookup__panel {
  padding: 2rem 2.25rem;
  background: linear-gradient(155deg, rgba(16, 30, 52, 0.95) 0%, rgba(8, 14, 26, 0.92) 100%);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.fh-lookup__brand {
  margin-bottom: 1.5rem;
}

.fh-lookup__brand img {
  height: auto;
  max-width: 160px;
}

.fh-lookup__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.12);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 999px;
}

.fh-lookup__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.fh-lookup__lead {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #8fa8c8;
}

.fh-lookup__alert {
  margin-bottom: 1.25rem;
}

.fh-lookup__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fh-lookup__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8fa8c8;
}

.fh-lookup__input-wrap {
  position: relative;
}

.fh-lookup__input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5eb8ff;
  font-size: 0.85rem;
  pointer-events: none;
}

.fh-lookup__input-wrap .form-control {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(8, 18, 32, 0.85) !important;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
}

.fh-lookup__input-wrap .form-control:focus {
  border-color: rgba(59, 158, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.12) !important;
}

.fh-lookup__submit {
  margin-top: 0.35rem;
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
}

.fh-lookup__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-lookup__discord {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8fa8c8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.fh-lookup__discord:hover {
  color: #7289da;
}

.fh-lookup__aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fh-lookup__aside-card {
  padding: 1.15rem 1.25rem;
  background: rgba(12, 22, 38, 0.7);
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 14px;
}

.fh-lookup__aside-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.fh-lookup__aside-card h2 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f0fc;
  line-height: 1.3;
}

.fh-lookup__aside-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #6b8cb0;
}

@media (max-width: 767.98px) {
  .fh-lookup__wrap {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .fh-lookup__panel {
    padding: 1.5rem;
  }

  .fh-lookup__aside {
    display: none;
  }

  .fh-lookup__discord {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .fh-lookup__steps {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .fh-lookup__steps li {
    white-space: normal;
  }
}

/* ??????????????????????????????????????????
   LISTE DOSSIERS ? fh-dossiers
   ?????????????????????????????????????????? */

.fh-dossiers__hero .fh-dash-hero__cta {
  flex-shrink: 0;
}

.fh-dossiers__stats {
  margin-bottom: 1rem;
}

.fh-dossiers__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.fh-dossiers__search {
  flex: 1 1 220px;
  min-width: 0;
}

.fh-dossiers__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fh-dossiers__count {
  margin-left: auto;
  font-size: 0.8rem;
  color: #6b8cb0;
}

.fh-dossiers__count strong {
  color: #e8f0fc;
}

.fh-dossier-card {
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.fh-dossier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #3b9eff;
  opacity: 0.85;
}

.fh-dossier-card--waiting::before { background: linear-gradient(90deg, #b45309, #fbbf24); }
.fh-dossier-card--progress::before { background: linear-gradient(90deg, #1d4ed8, #3b9eff); }
.fh-dossier-card--issue::before { background: linear-gradient(90deg, #b91c1c, #f87171); }
.fh-dossier-card--done::before { background: linear-gradient(90deg, #047857, #34d399); }

.fh-dossier-card:hover {
  border-color: rgba(77, 163, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.fh-dossier-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.fh-dossier-card__id {
  text-decoration: none;
  transition: color 0.15s ease;
}

.fh-dossier-card__id:hover {
  color: #7ec8ff;
}

.fh-dossier-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.fh-dossier-card__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.82rem;
  color: #9eb8d8;
  line-height: 1.4;
}

.fh-dossier-card__row i {
  width: 0.9rem;
  font-size: 0.72rem;
  color: #5a7a9a;
  text-align: center;
  flex-shrink: 0;
}

.fh-dossier-card__progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: #6b8cb0;
}

.fh-dossier-card__progress-head strong {
  color: #e8f0fc;
  font-weight: 700;
}

.fh-dossier-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(77, 163, 255, 0.08);
}

.fh-dossier-card__foot time {
  font-size: 0.72rem;
  color: #5a7a9a;
}

.fh-dossiers__empty,
.fh-dossiers__empty-filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 3rem 1.5rem;
  text-align: center;
}

.fh-dossiers__empty i,
.fh-dossiers__empty-filter i {
  font-size: 2rem;
  color: #4a6a8a;
}

.fh-dossiers__empty h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8f0fc;
}

.fh-dossiers__empty p,
.fh-dossiers__empty-filter p {
  margin: 0;
  font-size: 0.88rem;
  color: #6b8cb0;
}

/* ??????????????????????????????????????????
   D?TAIL DOSSIER ? fh-dossier-detail
   ?????????????????????????????????????????? */

.fh-dossier-detail--waiting .fh-task-detail__accent {
  background: linear-gradient(90deg, #b45309, #fbbf24, #fde68a);
}

.fh-dossier-detail--progress .fh-task-detail__accent {
  background: linear-gradient(90deg, #1d4ed8, #3b9eff, #7ec8ff);
}

.fh-dossier-detail--issue .fh-task-detail__accent {
  background: linear-gradient(90deg, #b91c1c, #f87171, #fca5a5);
}

.fh-dossier-detail--done .fh-task-detail__accent {
  background: linear-gradient(90deg, #047857, #34d399, #6ee7b7);
}

.fh-dossier-detail--waiting .fh-task-detail__type-icon {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.25);
}

.fh-dossier-detail--issue .fh-task-detail__type-icon {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.25);
}

.fh-dossier-detail--done .fh-task-detail__type-icon {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.25);
}

.fh-incident-steps .fh-task-steps__item.is-current .fh-task-steps__dot {
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.2);
  border-color: rgba(59, 158, 255, 0.4);
  box-shadow: 0 0 12px rgba(59, 158, 255, 0.25);
}

.fh-dossier-detail--done .fh-incident-steps .fh-task-steps__item.is-current .fh-task-steps__dot {
  color: #34d399;
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.25);
}

/* Timeline suivi incident */
.fh-dossier-detail__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.fh-dossier-timeline {
  margin-top: 0;
}

.fh-dossier-timeline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.fh-dossier-timeline__count {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b8cb0;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.fh-dossier-timeline__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fh-dossier-timeline__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.85rem;
}

.fh-dossier-timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.35rem;
}

.fh-dossier-timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b9eff;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.2);
  flex-shrink: 0;
}

.fh-dossier-timeline__line {
  flex: 1;
  width: 2px;
  min-height: 1rem;
  margin: 0.35rem 0;
  background: linear-gradient(180deg, rgba(59, 158, 255, 0.35), rgba(59, 158, 255, 0.08));
}

.fh-dossier-timeline__card {
  margin-bottom: 1.15rem;
  padding: 1rem 1.15rem;
  background: rgba(8, 14, 26, 0.55);
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 12px;
}

.fh-dossier-timeline__card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.65rem;
}

.fh-dossier-timeline__card-head strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f0fc;
}

.fh-dossier-timeline__card-head time {
  font-size: 0.72rem;
  color: #5a7a9a;
}

.fh-dossier-timeline__prose {
  font-size: 0.88rem;
}

@media (max-width: 575.98px) {
  .fh-dossiers__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .fh-dossiers__count {
    margin-left: 0;
    text-align: center;
  }

  .fh-dossier-grid {
    grid-template-columns: 1fr;
  }
}

/* ??????????????????????????????????????????
   AM?LIORATIONS v2 ? lookup / dossiers / d?tail
   ?????????????????????????????????????????? */

.fh-lookup {
  position: relative;
  overflow: hidden;
}

.fh-lookup__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fh-lookup__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.fh-lookup__glow--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: 10%;
  background: rgba(59, 158, 255, 0.25);
}

.fh-lookup__glow--2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: 5%;
  background: rgba(52, 211, 153, 0.12);
}

.fh-lookup__wrap {
  position: relative;
  z-index: 1;
}

.fh-lookup__panel {
  position: relative;
  overflow: hidden;
}

.fh-lookup__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b9eff, #7ec8ff);
}

.fh-lookup__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
  margin: 1.35rem 0 0;
  padding: 0.85rem 1rem;
  list-style: none;
  background: rgba(8, 14, 26, 0.45);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 12px;
}

.fh-lookup__steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #8fa8c8;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .fh-lookup__steps {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .fh-lookup__steps li {
    white-space: normal;
  }
}

.fh-lookup__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.15);
  border-radius: 50%;
}

.fh-lookup__aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.12);
  border-radius: 10px;
}

.fh-lookup__aside-icon i {
  display: inline-block;
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: 1;
}

.fh-lookup__aside-card--accent {
  border-color: rgba(52, 211, 153, 0.2);
  background: linear-gradient(155deg, rgba(6, 46, 22, 0.25), rgba(8, 14, 26, 0.7));
}

.fh-lookup__aside-card--accent .fh-lookup__aside-icon {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
}

.fh-lookup__aside-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6ee7b7;
  text-decoration: none;
}

.fh-lookup__aside-link i {
  display: inline-block;
  margin: 0;
  font-size: 0.68rem;
  color: inherit;
  line-height: 1;
}

.fh-lookup__aside-link:hover {
  color: #a7f3d0;
}

/* Stats cliquables */
.fh-dash-stat--filter {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(12, 22, 38, 0.65);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.fh-dash-stat--filter:hover {
  border-color: rgba(59, 158, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.fh-dash-stat--filter.is-active {
  border-color: rgba(59, 158, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 158, 255, 0.15), 0 12px 32px rgba(0, 0, 0, 0.25);
}

.fh-dossiers__toolbar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.fh-dossiers__sort-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b8cb0;
  margin: 0;
}

.fh-dossiers__sort {
  width: auto;
  min-width: 9.5rem;
  padding: 0.35rem 2rem 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8daf0 !important;
  background-color: rgba(8, 18, 32, 0.85) !important;
  border: 1px solid rgba(77, 163, 255, 0.18) !important;
  border-radius: 8px !important;
}

.fh-dossiers__view {
  display: inline-flex;
  padding: 0.2rem;
  background: rgba(8, 14, 26, 0.6);
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 8px;
}

.fh-dossiers__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  font-size: 0.82rem;
  color: #6b8cb0;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.fh-dossiers__view-btn:hover {
  color: #9eb8d8;
}

.fh-dossiers__view-btn.is-active {
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.15);
}

.fh-dossier-card {
  position: relative;
  padding-top: 1.35rem;
}

.fh-dossier-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.fh-dossier-card__head,
.fh-dossier-card__body,
.fh-dossier-card__progress,
.fh-dossier-card__foot {
  position: relative;
  z-index: 0;
}

.fh-dossier-card__row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.fh-dossier-card__ring {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.fh-dossier-card__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.fh-dossier-card__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 3;
}

.fh-dossier-card__ring-fill {
  fill: none;
  stroke: #3b9eff;
  stroke-width: 3;
  stroke-linecap: round;
}

.fh-dossier-card__ring.fh-progress--complete .fh-dossier-card__ring-fill { stroke: #34d399; }
.fh-dossier-card__ring.fh-progress--mid .fh-dossier-card__ring-fill { stroke: #fbbf24; }
.fh-dossier-card__ring.fh-progress--low .fh-dossier-card__ring-fill { stroke: #f87171; }

.fh-dossier-card__ring > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  color: #e8f0fc;
}

.fh-dossier-card__dates {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fh-dossier-card__updated {
  font-size: 0.68rem;
  color: #5eb8ff;
}

.fh-dossier-card__cta {
  pointer-events: none;
}

.fh-dossier-card:hover .fh-dossier-card__cta {
  filter: brightness(1.08);
}

/* Vue liste compacte */
.fh-dossiers--list .fh-dossier-grid {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.fh-dossiers--list .fh-dossier-card {
  display: grid;
  grid-template-columns: minmax(5rem, 7rem) minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, 1fr) auto;
  grid-template-areas: "id mail server staff actions";
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1.15rem;
}

.fh-dossiers--list .fh-dossier-card__head {
  grid-area: id;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.fh-dossiers--list .fh-dossier-card__ring {
  display: none;
}

.fh-dossiers--list .fh-dossier-card__body {
  display: contents;
}

.fh-dossiers--list .fh-dossier-card__row:nth-child(1) { grid-area: mail; }
.fh-dossiers--list .fh-dossier-card__row:nth-child(2) { grid-area: server; }
.fh-dossiers--list .fh-dossier-card__row:nth-child(3) { grid-area: staff; }

.fh-dossiers--list .fh-dossier-card__progress {
  display: none;
}

.fh-dossiers--list .fh-dossier-card__foot {
  grid-area: actions;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: none;
}

.fh-dossiers--list .fh-dossier-card__dates {
  display: none;
}

.fh-dossiers--list .fh-dossier-card__cta {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .fh-dossiers--list .fh-dossier-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "id actions"
      "mail mail"
      "server server"
      "staff staff";
  }
}

/* D?tail dossier ? facts color?es */
.fh-task-detail__fact--waiting .fh-task-detail__fact-icon { color: #fde68a; background: rgba(251, 191, 36, 0.12); }
.fh-task-detail__fact--progress .fh-task-detail__fact-icon { color: #7ec8ff; background: rgba(59, 158, 255, 0.12); }
.fh-task-detail__fact--issue .fh-task-detail__fact-icon { color: #fca5a5; background: rgba(248, 113, 113, 0.12); }
.fh-task-detail__fact--done .fh-task-detail__fact-icon { color: #6ee7b7; background: rgba(52, 211, 153, 0.12); }

.fh-dossier-detail .fh-task-detail__hero-aside .fh-task-detail__progress {
  display: none;
}

@media (max-width: 767.98px) {
  .fh-dossier-detail .fh-task-detail__hero-aside .fh-task-detail__progress {
    display: block;
    width: 100%;
  }
}

/* Timeline enrichie */
.fh-dossier-timeline__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.15);
  border: 2px solid rgba(59, 158, 255, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

.fh-dossier-timeline__item.is-latest .fh-dossier-timeline__avatar {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.2);
}

.fh-dossier-timeline__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.fh-dossier-timeline__badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6ee7b7;
  padding: 0.15rem 0.45rem;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 999px;
}

.fh-dossier-timeline__item.is-latest .fh-dossier-timeline__card {
  border-color: rgba(52, 211, 153, 0.25);
  background: linear-gradient(135deg, rgba(6, 46, 22, 0.2), rgba(8, 14, 26, 0.55));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fh-dossier-timeline__item.is-latest .fh-dossier-timeline__line {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.35), rgba(59, 158, 255, 0.08));
}

/* ??????????????????????????????????????????
   MON COMPTE ? fh-account
   ?????????????????????????????????????????? */

.fh-account__hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(155deg, rgba(16, 30, 52, 0.95) 0%, rgba(8, 14, 26, 0.92) 100%);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.fh-account__hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b9eff, #7ec8ff);
}

.fh-account__profile {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.fh-account__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.fh-account__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid rgba(59, 158, 255, 0.35);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.fh-account__status {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  background: #34d399;
  border: 2px solid #0c1829;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.fh-account__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.fh-account__badges .fh-dash-hero__tag {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.fh-account__badge {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  font-size: 0.68rem;
  font-weight: 600;
  color: #8fa8c8;
  padding: 0.28rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 6px;
}

.fh-account__hero-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.fh-account__name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.fh-account__lead {
  margin: 0;
  font-size: 0.88rem;
  color: #8fa8c8;
  line-height: 1.5;
}

.fh-account__stats {
  margin-bottom: 1.25rem;
}

.fh-account__stats > .fh-dash-stat {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.fh-account__stat-discord {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-width: 0;
  padding: 1.15rem 1.2rem;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(160deg, rgba(12, 22, 38, 0.9), rgba(8, 14, 26, 0.85));
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.fh-account__stat-discord .fh-dash-stat__body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.fh-account__stat-discord .fh-dash-stat__icon {
  flex-shrink: 0;
}

.fh-account__stat-discord:hover {
  border-color: rgba(52, 211, 153, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.fh-account__stat-discord .fh-dash-stat__value {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.fh-account__stat-discord.is-copied {
  border-color: rgba(52, 211, 153, 0.45);
}

.fh-account__stat-discord.is-copied .fh-dash-stat__value {
  color: #6ee7b7;
}

.fh-account__grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.fh-account__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fh-account__card {
  padding: 1.25rem 1.3rem;
}

.fh-account__card .fh-dash-section__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.fh-account__card .fh-dash-section__title i {
  color: #5eb8ff;
  font-size: 0.78rem;
}

.fh-account__facts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
}

.fh-account__fact {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 10px;
}

.fh-account__fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  font-size: 0.72rem;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.1);
  flex-shrink: 0;
}

.fh-account__fact-body {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.fh-account__fact dt {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b8cb0;
}

.fh-account__fact dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #eef4fc;
}

.fh-account__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fh-account__links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #9eb8d8;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.fh-account__links a:hover {
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.08);
}

.fh-account__chat {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 1.15rem 1.25rem;
}

.fh-account__chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fh-account__chat-lead {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #6b8cb0;
}

.fh-account__chat-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b8cb0;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  white-space: nowrap;
}

.fh-account__chat-list {
  flex: 1;
  min-height: 0;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.25rem;
}

.fh-account__chat-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
}

.fh-account__chat-item + .fh-account__chat-item {
  border-top: 1px solid rgba(77, 163, 255, 0.06);
}

.fh-account__chat-body {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  background: rgba(8, 14, 26, 0.45);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 12px;
}

.fh-account__chat-item--own .fh-account__chat-body {
  background: rgba(59, 158, 255, 0.08);
  border-color: rgba(59, 158, 255, 0.18);
}

.fh-account__chat-you {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5eb8ff;
}

.fh-account__chat-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.fh-account__chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(77, 163, 255, 0.15);
  object-fit: cover;
}

.fh-account__chat-avatar.is-hidden {
  display: none;
}

.fh-account__chat-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  color: #5eb8ff;
  background: rgba(59, 158, 255, 0.15);
  border: 2px solid rgba(77, 163, 255, 0.2);
}

.fh-account__chat-avatar-fallback.is-hidden {
  display: none;
}

.fh-account__chat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.3rem;
}

.fh-account__chat-meta strong {
  font-size: 0.85rem;
  color: #e8f0fc;
}

.fh-account__chat-meta time {
  font-size: 0.72rem;
  color: #5a7a9a;
}

.fh-account__chat-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #9eb8d8;
  word-break: break-word;
}

.fh-account__chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 3rem 1rem;
  text-align: center;
  color: #6b8cb0;
}

.fh-account__chat-empty i {
  font-size: 2rem;
  opacity: 0.6;
}

.fh-account__chat-form {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-account__chat-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fa8c8;
}

.fh-account__chat-compose {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fh-account__chat-compose .form-control {
  background: rgba(8, 18, 32, 0.85) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  color: #eef4fc !important;
  border-radius: 12px !important;
  resize: vertical;
}

.fh-account__chat-compose .fh-btn {
  align-self: flex-end;
}

/* ??????????????????????????????????????????
   AJOUT DOSSIER ? fh-add-dossier
   ?????????????????????????????????????????? */

.fh-add-dossier .fh-portal__inner {
  max-width: 1140px;
}

.fh-add-dossier__nav {
  margin-bottom: 1rem;
}

.fh-add-dossier__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.fh-add-dossier__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 80px;
}

.fh-add-dossier__id-card {
  position: relative;
  text-align: center;
  padding: 1.35rem 1.25rem 1.15rem;
  background: linear-gradient(155deg, rgba(16, 30, 52, 0.95), rgba(8, 14, 26, 0.9));
  border-color: rgba(59, 158, 255, 0.22);
  overflow: hidden;
}

.fh-add-dossier__id-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b9eff, #7ec8ff);
}

.fh-add-dossier__id-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b8cb0;
  margin-bottom: 0.45rem;
}

.fh-add-dossier__id-value {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: #7ec8ff;
  letter-spacing: 0.02em;
}

.fh-add-dossier__id-hint {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #6b8cb0;
}

.fh-add-dossier__id-preview {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #6b8cb0;
  text-align: left;
  background: rgba(8, 14, 26, 0.55);
  border: 1px solid rgba(77, 163, 255, 0.08);
  border-radius: 8px;
}

.fh-add-dossier__id-preview i {
  margin-top: 0.1rem;
  color: #5a7a9a;
  flex-shrink: 0;
}

.fh-add-dossier__id-preview-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.fh-add-dossier__tips {
  padding: 1.15rem 1.25rem;
}

.fh-add-dossier__tips .fh-dash-section__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.fh-add-dossier__tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fh-add-dossier__tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8fa8c8;
}

.fh-add-dossier__tips-list li i {
  margin-top: 0.15rem;
  font-size: 0.62rem;
  color: #34d399;
  flex-shrink: 0;
}

.fh-add-dossier__form-panel {
  padding: 1.35rem 1.4rem 1.25rem;
}

.fh-add-dossier__form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-add-dossier__form-head .fh-dash-hero__tag {
  margin-bottom: 0.45rem;
}

.fh-add-dossier__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.fh-add-dossier__lead {
  margin: 0;
  font-size: 0.88rem;
  color: #8fa8c8;
  line-height: 1.5;
  max-width: 36rem;
}

.fh-add-dossier__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.fh-add-dossier__form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8fa8c8;
}

.fh-add-dossier__editor {
  border-radius: 12px;
  overflow: hidden;
}

.fh-add-dossier__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-add-dossier__submit {
  box-shadow: 0 4px 16px rgba(59, 158, 255, 0.25);
}

.fh-add-dossier__submit:hover {
  box-shadow: 0 6px 20px rgba(59, 158, 255, 0.32);
}

.fh-add-dossier__cancel {
  color: #9eb8d8 !important;
  border-color: rgba(77, 163, 255, 0.2) !important;
}

/* ??????????????????????????????????????????
   AJOUT T?CHE ? fh-add-task
   ?????????????????????????????????????????? */

.fh-add-task .fh-portal__inner {
  max-width: 1240px;
}

.fh-add-task__nav {
  margin-bottom: 1rem;
}

.fh-add-task__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 44%);
  gap: 1.35rem;
  align-items: start;
}

.fh-add-task__form-panel {
  padding: 0;
  overflow: hidden;
}

.fh-add-task__form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 1.5rem 1.15rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
  background: linear-gradient(180deg, rgba(14, 26, 44, 0.35), transparent);
}

.fh-add-task__form-head .fh-dash-hero__tag {
  margin-bottom: 0.55rem;
}

.fh-add-task__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.fh-add-task__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #8fa8c8;
}

.fh-add-task__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.fh-add-task__form {
  padding: 1.35rem 1.5rem 1.5rem;
}

.fh-add-task__form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9eb8d8;
}

.fh-add-task__editor {
  border-radius: 12px;
  overflow: hidden;
}

.fh-add-task__progress {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fh-add-task__range {
  flex: 1;
  min-width: 0;
  height: 0.35rem;
  accent-color: #3b9eff;
  cursor: pointer;
}

.fh-add-task__progress-input {
  position: relative;
  width: 5.5rem;
  flex-shrink: 0;
}

.fh-add-task__progress-input .form-control {
  padding-right: 1.65rem;
  text-align: center;
  font-weight: 700;
}

.fh-add-task__progress-suffix {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b8cb0;
  pointer-events: none;
}

.fh-add-task__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-add-task__submit {
  min-width: 11rem;
}

.fh-add-task__cancel {
  color: #9eb8d8 !important;
  border-color: rgba(77, 163, 255, 0.2) !important;
}

.fh-add-task__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 80px;
}

.fh-add-task__id-card {
  position: relative;
  padding: 0.95rem 1rem;
  background: linear-gradient(155deg, rgba(16, 30, 52, 0.95), rgba(8, 14, 26, 0.9));
  border-color: rgba(59, 158, 255, 0.22);
  overflow: hidden;
}

.fh-add-task__id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.fh-add-task__id-copy {
  flex-shrink: 0;
}

.fh-add-task__id-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b9eff, #7ec8ff);
}

.fh-add-task__id-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8fa8c8;
  margin-bottom: 0.15rem;
}

.fh-add-task__id-value {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #9ed4ff;
  letter-spacing: 0.02em;
}

.fh-add-task__id-hint {
  display: none;
}

.fh-add-task__id-preview {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #9eb8d8;
  background: rgba(6, 12, 22, 0.75);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 8px;
}

.fh-add-task__id-preview i {
  margin-top: 0.1rem;
  color: #5a7a9e;
  flex-shrink: 0;
}

.fh-add-task__id-preview-url {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.fh-add-task__preview-wrap {
  padding: 1.15rem 1.15rem 1.2rem;
  background: linear-gradient(160deg, rgba(18, 34, 58, 0.98), rgba(10, 18, 32, 0.95));
  border: 1px solid rgba(77, 163, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fh-add-task__preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.fh-add-task__preview-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.fh-add-task__preview-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.fh-add-task__preview-title i {
  margin-right: 0.4rem;
  color: #7ec8ff;
}

.fh-add-task__preview-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(77, 163, 255, 0.25);
  background: rgba(59, 158, 255, 0.1);
  color: #9ed4ff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fh-add-task__preview-expand:hover {
  background: rgba(59, 158, 255, 0.2);
  border-color: rgba(96, 165, 250, 0.45);
  color: #ffffff;
}

.fh-add-task__preview-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
}

.fh-add-task__preview-live::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
  animation: fh-add-task-pulse 1.8s ease-in-out infinite;
}

@keyframes fh-add-task-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.fh-add-task__preview-hint {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #a8c4e4;
}

.fh-add-task__preview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(6, 12, 22, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fh-add-task__preview-hero {
  position: relative;
  padding: 1.15rem 1.15rem 1rem;
  background: linear-gradient(155deg, rgba(20, 36, 60, 0.98), rgba(10, 18, 32, 0.94));
}

.fh-add-task__preview-hero .fh-task-detail__accent {
  height: 4px;
}

.fh-add-task__preview-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 0.85rem;
  align-items: start;
}

.fh-add-task__preview-task-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  word-break: break-word;
}

.fh-add-task__preview-hero .fh-task-detail__hero-top {
  margin-bottom: 0.65rem;
}

.fh-add-task__preview-hero .fh-task-detail__type-icon {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 0.95rem;
}

.fh-add-task__preview-hero .fh-badge {
  font-size: 0.76rem;
  padding: 0.28rem 0.55rem;
}

.fh-add-task__preview-hero .fh-tag--node {
  font-size: 0.76rem;
}

.fh-add-task__preview-hero .fh-task-detail__meta-pill {
  font-size: 0.74rem;
  padding: 0.28rem 0.58rem;
  color: #c8daf0;
}

.fh-add-task__preview-ring-wrap .fh-task-detail__progress-ring {
  width: 4.5rem;
  height: 4.5rem;
}

.fh-add-task__preview-ring-wrap .fh-task-detail__ring-value {
  font-size: 1rem;
}

.fh-add-task__preview-ring-wrap .fh-task-detail__ring-value small {
  font-size: 0.62rem;
}

.fh-add-task__preview-steps {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(77, 163, 255, 0.14);
  justify-content: space-between;
}

.fh-add-task__preview-steps .fh-task-steps__item {
  flex: 1 1 0;
  min-width: 0;
}

.fh-add-task__preview-steps .fh-task-steps__label {
  font-size: 0.72rem;
  color: #9eb8d8;
  white-space: nowrap;
}

.fh-add-task__preview-steps .fh-task-steps__item.is-done .fh-task-steps__label,
.fh-add-task__preview-steps .fh-task-steps__item.is-current .fh-task-steps__label {
  color: #e8f0fc;
}

.fh-add-task__preview-steps .fh-task-steps__dot {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.72rem;
}

.fh-add-task__preview-body {
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(77, 163, 255, 0.14);
  background: rgba(4, 10, 20, 0.65);
}

.fh-add-task__preview-body-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9eb8d8;
}

.fh-add-task__preview-prose {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #eef4fc;
  max-height: min(42vh, 420px);
  overflow: auto;
  padding-right: 0.25rem;
}

.fh-add-task__preview-prose::-webkit-scrollbar {
  width: 6px;
}

.fh-add-task__preview-prose::-webkit-scrollbar-thumb {
  background: rgba(77, 163, 255, 0.35);
  border-radius: 999px;
}

.fh-add-task__preview-prose strong,
.fh-add-task__preview-prose b {
  color: #ffffff;
}

.fh-add-task__preview-prose .fh-task-detail__empty {
  color: #8fa8c8;
  font-style: italic;
}

body.fh-add-task-preview-open {
  overflow: hidden;
}

body.fh-add-task-preview-open > .fh-add-task__preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(4, 8, 16, 0.88);
  backdrop-filter: blur(8px);
}

body.fh-add-task-preview-open > .fh-add-task__preview-wrap.is-expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1081;
  width: min(94vw, 760px);
  max-height: 92vh;
  overflow: auto;
  padding: 1.35rem;
  margin: 0;
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.fh-add-task__preview-wrap.is-expanded .fh-add-task__preview-prose {
  max-height: min(55vh, 520px);
  font-size: 0.95rem;
}

.fh-add-task__preview-wrap.is-expanded .fh-add-task__preview-task-title {
  font-size: 1.45rem;
}

.fh-add-task__preview-prose p {
  margin: 0 0 0.55rem;
}

.fh-add-task__preview-prose p:last-child {
  margin-bottom: 0;
}

.fh-add-task__tips {
  padding: 1rem 1.1rem;
}

.fh-add-task__tips .fh-dash-section__title {
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.fh-add-task__tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.fh-add-task__tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #8fa8c8;
}

.fh-add-task__tips-list li i {
  margin-top: 0.15rem;
  color: #34d399;
  font-size: 0.62rem;
}

@media (max-width: 991.98px) {
  .fh-add-task__layout {
    grid-template-columns: 1fr;
  }

  .fh-add-task__aside {
    position: static;
    order: 2;
  }

  .fh-add-task__form-panel {
    order: 1;
  }

  .fh-add-task__form-head {
    flex-direction: column;
  }

  .fh-add-task__head-actions {
    width: 100%;
  }

  .fh-add-task__preview-prose {
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  .fh-add-task__form {
    padding: 1.15rem 1rem 1.25rem;
  }

  .fh-add-task__form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fh-add-task__submit,
  .fh-add-task__cancel {
    width: 100%;
    justify-content: center;
  }

  .fh-add-task__preview-hero-grid {
    grid-template-columns: 1fr;
  }

  .fh-add-task__preview-ring-wrap {
    justify-self: start;
  }
}

@media (max-width: 991.98px) {
  .fh-add-dossier__layout {
    grid-template-columns: 1fr;
  }

  .fh-add-dossier__aside {
    position: static;
  }

  .fh-add-dossier__form-head {
    flex-direction: column;
  }

  .fh-add-dossier__head-actions {
    width: 100%;
  }

  .fh-account__grid {
    grid-template-columns: 1fr;
  }

  .fh-account__hero {
    flex-direction: column;
    align-items: stretch;
  }

  .fh-account__chat {
    min-height: auto;
  }

  .fh-account__chat-list {
    max-height: 320px;
  }
}

.fh-form-required {
  color: #f87171;
}

.fh-form-input-wrap {
  position: relative;
}

.fh-form-input-wrap i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5a7a9a;
  font-size: 0.82rem;
  pointer-events: none;
}

.fh-form-input-wrap .form-control {
  padding-left: 2.35rem;
  background: rgba(8, 18, 32, 0.85) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  color: #eef4fc !important;
  border-radius: 10px !important;
}

.fh-form-input-wrap .form-control:focus {
  border-color: rgba(59, 158, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.1) !important;
}

/* ??????????????????????????????????????????
   MOBILE ? status / lookup / dossiers
   ?????????????????????????????????????????? */
@media (max-width: 767.98px) {
  .fh-portal .container.fh-portal__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fh-dash-hero {
    padding: 1.15rem 1rem;
  }

  .fh-dash-hero__top {
    flex-direction: column;
    gap: 1rem;
  }

  .fh-dossiers__hero .fh-dash-hero__cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .fh-dossiers__hero .fh-dash-hero__cta .fh-btn {
    width: 100%;
    justify-content: center;
  }

  .fh-dash-stats {
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .fh-dash-stat {
    padding: 0.9rem 1rem;
  }

  .fh-dossiers__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .fh-dossiers__search {
    flex: 0 0 auto;
    width: 100%;
  }

  .fh-dossiers__filters {
    gap: 0.45rem;
  }

  .fh-dossiers__toolbar-end {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(77, 163, 255, 0.08);
  }

  .fh-dossiers__count {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .fh-lookup__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .fh-lookup__links .fh-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Wiki FiveHeberg ? couche sp?cifique
   ============================================================ */

.fh-wiki-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.fh-wiki-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12, 24, 41, 0.9), rgba(8, 16, 28, 0.95));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.fh-wiki-stat:hover {
  border-color: rgba(59, 158, 255, 0.45);
  transform: translateY(-2px);
  color: inherit;
}

.fh-wiki-stat__label { display: block; font-size: 0.85rem; color: #8fa3be; }
.fh-wiki-stat__value { font-size: 1.5rem; font-weight: 700; color: #fff; }
.fh-wiki-stat__arrow { margin-left: auto; color: var(--fh-accent); opacity: 0.7; }

.fh-wiki-hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
  max-width: 640px;
}

.fh-wiki-hero-search__field {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-radius: 12px;
  background: rgba(10, 22, 40, 0.8);
}

.fh-wiki-hero-search__field input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  outline: none;
}

.fh-wiki-home__hero-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

.fh-wiki-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.75);
  height: 100%;
}

.fh-wiki-card--link { text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.fh-wiki-card--link:hover { border-color: rgba(59, 158, 255, 0.45); transform: translateY(-2px); color: inherit; }
.fh-wiki-card__title { font-size: 1.05rem; margin: 0.75rem 0 0.35rem; }
.fh-wiki-card__title a { color: #fff; text-decoration: none; }
.fh-wiki-card__excerpt { color: #a8c0e0; font-size: 0.9rem; line-height: 1.5; }
.fh-wiki-card__meta { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.8rem; color: #8fa3be; margin: 0.75rem 0; }
.fh-wiki-card__cta { margin-top: 0.5rem; }
.fh-wiki-card__count { font-size: 0.85rem; color: var(--fh-accent); }

.fh-wiki-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #8fa3be;
}

.fh-wiki-empty i { font-size: 2rem; color: var(--fh-accent); margin-bottom: 1rem; display: block; }

.fh-wiki-category__hero-main { display: flex; gap: 1rem; align-items: flex-start; }
.fh-wiki-category__icon { border-radius: 12px; }
.fh-wiki-category__count { margin: 0.5rem 0 0; color: #8fa3be; }

.fh-wiki-article__meta { list-style: none; padding: 0; margin: 0; }
.fh-wiki-article__meta li { padding: 0.35rem 0; color: #a8c0e0; font-size: 0.9rem; }
.fh-wiki-article__meta i { width: 1.25rem; color: var(--fh-accent); }

.fh-wiki-article__body { color: #e8f0fc; line-height: 1.7; }
.fh-wiki-article__html img { max-width: 100%; height: auto; border-radius: 8px; }
.fh-wiki-article__html pre, .fh-wiki-article__html code {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
}

.fh-wiki-review-card {
  padding: 1.25rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.75);
  height: 100%;
}

.fh-wiki-review-card__head { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.85rem; }
.fh-wiki-review-card__stars { color: #fbbf24; margin-bottom: 0.75rem; }
.fh-wiki-review-card__text { color: #c8daf0; line-height: 1.55; margin: 0; }

.fh-modal { background: #0c1829; color: #e8f0fc; border: 1px solid rgba(77, 163, 255, 0.2); }
.fh-modal__lead { color: #a8c0e0; margin-bottom: 1rem; }
.fh-form-label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: #c8daf0; }

.fh-portal-footer a { color: var(--fh-accent); text-decoration: none; }
.fh-portal-footer a:hover { text-decoration: underline; }

.fh-nav__cat-icon { border-radius: 4px; margin-right: 0.35rem; vertical-align: middle; }

.fh-wiki-article__actions .fh-btn.is-danger { color: #f87171; border-color: rgba(248, 113, 113, 0.35); }

/* ?? Pages compte / portefeuille ?? */
.fh-wiki-wallet__panel { max-width: 480px; margin: 0 auto; }
.fh-wiki-wallet__amount { font-size: 2rem; color: #fff; margin: 0.5rem 0 1rem; }

.fh-wiki-profile__hero {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.75);
}

.fh-wiki-chat { display: flex; flex-direction: column; gap: 1rem; max-height: 420px; overflow-y: auto; }
.fh-wiki-chat__item { display: flex; gap: 0.75rem; align-items: flex-start; }
.fh-wiki-chat__item header { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 0.25rem; }
.fh-wiki-chat__item header time { color: #8fa3be; font-weight: 400; }
.fh-wiki-chat__item p { margin: 0; color: #c8daf0; line-height: 1.5; }

/* ============================================================
   Wiki Pro ? accueil, article, cat?gories
   ============================================================ */

body.fh-wiki-home-page .fh-nav__search { display: none !important; }

@media (min-width: 992px) {
  body.fh-wiki-home-page .fh-nav__desktop-aside {
    margin-left: auto;
  }
}

.fh-nav__container.container {
  max-width: 1320px;
  align-items: center;
}

@media (min-width: 992px) {
  .fh-nav__menu {
    flex: 1 1 auto;
    min-width: 0;
  }

  .fh-nav__search {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
    padding: 0.2rem 0.2rem 0.2rem 0.85rem;
    border: 1px solid rgba(77, 163, 255, 0.2);
    border-radius: 999px;
    background: rgba(8, 16, 28, 0.85);
  }

  .fh-nav__search input {
    flex: 1 1 auto;
    min-width: 0;
    width: clamp(96px, 10vw, 148px);
    padding: 0.45rem 0.5rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
  }

  .fh-nav__search input::placeholder {
    color: #6a8299;
  }

  .fh-nav__search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(59, 158, 255, 0.15);
    color: var(--fh-accent);
    cursor: pointer;
    flex-shrink: 0;
  }

  .fh-nav__user-toggle > span {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fh-nav__desktop-aside {
    flex-shrink: 0;
  }
}

.fh-nav__search {
  align-items: center;
}

.fh-nav__search input {
  min-width: 0;
}

/* ?? Accueil ?? */
.fh-wiki-home__hero {
  margin-bottom: 1.75rem;
  padding: 2rem 2rem 1.75rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59, 158, 255, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(14, 26, 44, 0.95), rgba(8, 14, 26, 0.92));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.fh-wiki-home__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ec2ff;
}

.fh-wiki-home__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.fh-wiki-home__lead {
  margin: 0 0 1.25rem;
  max-width: 58ch;
  color: #a8c4e4;
  line-height: 1.6;
}

.fh-wiki-home__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 640px;
  margin-bottom: 1rem;
}

.fh-wiki-home__search-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.28);
  border-radius: 12px;
  background: rgba(6, 12, 22, 0.75);
}

.fh-wiki-home__search-field input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  outline: none;
  font-size: 0.95rem;
}

.fh-wiki-home__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fh-wiki-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.2);
  background: rgba(59, 158, 255, 0.08);
  color: #b8d4f4;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.fh-wiki-pill--link:hover { color: #fff; border-color: rgba(59, 158, 255, 0.4); }

.fh-wiki-home__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .fh-wiki-home__layout {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }
}

.fh-wiki-sidebar-panel {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.8);
  margin-bottom: 1rem;
}

.fh-wiki-sidebar-panel--cta {
  background: linear-gradient(160deg, rgba(29, 111, 216, 0.12), rgba(12, 24, 41, 0.9));
}

.fh-wiki-sidebar-panel__title {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.fh-wiki-sidebar-panel__text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #8fa3be;
  line-height: 1.5;
}

.fh-wiki-cat-nav { display: flex; flex-direction: column; gap: 0.35rem; }

.fh-wiki-cat-nav__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.fh-wiki-cat-nav__item:hover {
  background: rgba(59, 158, 255, 0.08);
  border-color: rgba(77, 163, 255, 0.2);
  color: inherit;
}

.fh-wiki-cat-nav__body { flex: 1; min-width: 0; }
.fh-wiki-cat-nav__body strong { display: block; color: #fff; font-size: 0.92rem; }
.fh-wiki-cat-nav__body small { color: #8fa3be; font-size: 0.78rem; }
.fh-wiki-cat-nav__item > i { color: var(--fh-accent); opacity: 0.5; font-size: 0.7rem; }

.fh-wiki-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.fh-wiki-section-head__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.fh-wiki-section-head__link {
  font-size: 0.85rem;
  color: var(--fh-accent);
  text-decoration: none;
}

.fh-wiki-section-head__link:hover { text-decoration: underline; }

.fh-wiki-home__section { margin-bottom: 1.75rem; }

.fh-wiki-panel {
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.75);
  padding: 1rem 1.25rem;
}

.fh-wiki-panel--filter { padding: 0.85rem 1rem; margin-bottom: 1rem; }

.fh-wiki-feed { display: flex; flex-direction: column; }

.fh-wiki-feed__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-feed__item:last-child { border-bottom: 0; padding-bottom: 0; }
.fh-wiki-feed__item:first-child { padding-top: 0; }

.fh-wiki-feed__title { margin: 0.25rem 0; font-size: 1rem; font-weight: 600; }
.fh-wiki-feed__title a { color: #fff; text-decoration: none; }
.fh-wiki-feed__title a:hover { color: var(--fh-accent); }
.fh-wiki-feed__date { font-size: 0.8rem; color: #8fa3be; }
.fh-wiki-feed__cat { margin-bottom: 0.15rem; }
.fh-wiki-feed__cta { flex-shrink: 0; }

.fh-wiki-start-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 24, 41, 0.7);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}

.fh-wiki-start-card:hover {
  border-color: rgba(59, 158, 255, 0.4);
  transform: translateY(-2px);
  color: inherit;
}

.fh-wiki-start-card strong { display: block; color: #fff; margin-bottom: 0.25rem; }
.fh-wiki-start-card p { margin: 0; font-size: 0.85rem; color: #8fa3be; line-height: 1.45; }
.fh-wiki-start-card__count {
  margin-left: auto;
  align-self: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fh-accent);
}

/* ?? Fil d'Ariane wiki ?? */
.fh-wiki-breadcrumb { margin-bottom: 1rem; }

.fh-wiki-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.fh-wiki-breadcrumb__item { color: #8fa3be; }
.fh-wiki-breadcrumb__item:not(.is-current)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.45;
}

.fh-wiki-breadcrumb__item a { color: var(--fh-accent); text-decoration: none; }
.fh-wiki-breadcrumb__item a:hover { text-decoration: underline; }
.fh-wiki-breadcrumb__item.is-current span { color: #c8daf0; }

/* ?? Cat?gorie ?? */
.fh-wiki-cat-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 24, 41, 0.8);
}

.fh-wiki-cat-header__main { display: flex; gap: 1rem; align-items: flex-start; }
.fh-wiki-cat-header__icon { border-radius: 12px; }
.fh-wiki-cat-header__title { margin: 0 0 0.35rem; font-size: 1.5rem; font-weight: 800; color: #fff; }
.fh-wiki-cat-header__desc { margin: 0 0 0.35rem; color: #a8c0e0; max-width: 52ch; line-height: 1.5; }
.fh-wiki-cat-header__count { margin: 0; color: #8fa3be; font-size: 0.88rem; }

.fh-wiki-filter {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.fh-wiki-filter input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  outline: none;
  font-size: 0.92rem;
}

.fh-wiki-card--doc { height: 100%; }

/* ?? Article ?? */
.fh-wiki-article__layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "doc"
    "sidebar";
  gap: 1.5rem;
  align-items: start;
}

.fh-wiki-article__layout > .fh-wiki-doc {
  grid-area: doc;
  min-width: 0;
}

.fh-wiki-article__layout > .fh-wiki-doc-sidebar {
  grid-area: sidebar;
  min-width: 0;
  width: 100%;
}

@media (min-width: 992px) {
  .fh-wiki-article__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-areas: "doc sidebar";
    gap: 1.75rem;
    align-items: stretch; /* colonne sidebar = hauteur de l'article ? sticky possible */
  }

  .fh-wiki-article__layout > .fh-wiki-doc-sidebar {
    width: 280px;
    max-width: 280px;
    justify-self: end;
    align-self: stretch;
  }

  .fh-wiki-doc-sidebar__rail {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .fh-wiki-toc--desktop {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .fh-wiki-toc--desktop .fh-wiki-toc__head {
    flex-shrink: 0;
  }

  .fh-wiki-toc--desktop .fh-wiki-toc__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(77, 163, 255, 0.45) transparent;
  }

  .fh-wiki-toc--desktop .fh-wiki-toc__list::-webkit-scrollbar { width: 5px; }
  .fh-wiki-toc--desktop .fh-wiki-toc__list::-webkit-scrollbar-thumb {
    background: rgba(77, 163, 255, 0.45);
    border-radius: 999px;
  }
}

@media (max-width: 991px) {
  .fh-wiki-toc--desktop { display: none; }

  .fh-wiki-article__layout {
    grid-template-areas:
      "sidebar"
      "doc";
  }
}

.fh-wiki-doc-sidebar {
  min-width: 0;
}

.fh-wiki-doc-sidebar__rail {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fh-wiki-doc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fh-accent);
  text-decoration: none;
  transition: color 0.15s, gap 0.15s;
}

.fh-wiki-doc-back:hover {
  color: #93c5fd;
  gap: 0.6rem;
  text-decoration: none;
}

.fh-wiki-doc-card {
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59, 158, 255, 0.08), transparent 55%),
    rgba(12, 24, 41, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.fh-wiki-doc-card__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.fh-wiki-doc-card__head-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  min-width: 0;
  flex: 1;
}

.fh-wiki-doc-card__cat {
  font-weight: 700;
  color: #fff;
}

.fh-wiki-doc-card__badge {
  font-size: 0.65rem !important;
  padding: 0.18rem 0.45rem !important;
  letter-spacing: 0.04em;
}

.fh-wiki-doc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: rgba(8, 16, 28, 0.85);
  border: 1px solid rgba(77, 163, 255, 0.18);
  flex-shrink: 0;
}

.fh-wiki-doc-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.fh-wiki-doc-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: #a8c0e0;
}

.fh-wiki-doc-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0;
}

.fh-wiki-doc-card__meta i {
  width: 1rem;
  color: var(--fh-accent);
  opacity: 0.9;
}

.fh-wiki-toc {
  padding: 0.85rem 0.7rem 0.8rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(14, 26, 44, 0.96), rgba(8, 16, 28, 0.94));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.fh-wiki-toc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0.3rem 0.65rem;
}

.fh-wiki-toc__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa3be;
}

.fh-wiki-toc__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 158, 255, 0.14);
  border: 1px solid rgba(59, 158, 255, 0.22);
}

.fh-wiki-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fh-wiki-toc__item { margin: 0; }

.fh-wiki-toc__item--h3 .fh-wiki-toc__link {
  padding-left: 2.35rem;
}

.fh-wiki-toc__item--h3 .fh-wiki-toc__num {
  min-width: 2rem;
  font-size: 0.62rem;
}

.fh-wiki-toc__link {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.5rem 0.42rem 0.55rem;
  border-radius: 10px;
  color: #a8c0e0;
  text-decoration: none;
  line-height: 1.35;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}

.fh-wiki-toc__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.15s;
}

.fh-wiki-toc__link:hover {
  color: #e8f0fc;
  background: rgba(59, 158, 255, 0.08);
  border-color: rgba(59, 158, 255, 0.12);
}

.fh-wiki-toc__item.is-active .fh-wiki-toc__link {
  color: #fff;
  background: rgba(59, 158, 255, 0.14);
  border-color: rgba(59, 158, 255, 0.26);
}

.fh-wiki-toc__item.is-active .fh-wiki-toc__link::before {
  background: #3b9eff;
}

.fh-wiki-toc__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: #93c5fd;
  background: rgba(59, 158, 255, 0.12);
  border: 1px solid rgba(59, 158, 255, 0.22);
  flex-shrink: 0;
}

.fh-wiki-toc__item.is-active .fh-wiki-toc__num {
  color: #fff;
  background: rgba(59, 158, 255, 0.38);
  border-color: rgba(59, 158, 255, 0.55);
}

.fh-wiki-toc__text {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.fh-wiki-doc {
  padding: 1.65rem 1.85rem 2.1rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(59, 158, 255, 0.06), transparent 45%),
    rgba(12, 24, 41, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  min-width: 0;
}

.fh-wiki-doc__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-doc__header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.fh-wiki-doc__cat {
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.fh-wiki-doc__cat--fivem {
  background: rgba(249, 115, 22, 0.16) !important;
  color: #fb923c !important;
  border-color: rgba(249, 115, 22, 0.38) !important;
}
.fh-wiki-doc__cat--gmod {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #7dd3fc !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
.fh-wiki-doc__cat--vps {
  background: rgba(167, 139, 250, 0.15) !important;
  color: #c4b5fd !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
}
.fh-wiki-doc__cat--nodejs {
  background: rgba(74, 222, 128, 0.15) !important;
  color: #86efac !important;
  border-color: rgba(74, 222, 128, 0.35) !important;
}
.fh-wiki-doc__cat--redm {
  background: rgba(220, 38, 38, 0.16) !important;
  color: #f87171 !important;
  border-color: rgba(220, 38, 38, 0.38) !important;
}
.fh-wiki-doc__cat--minecraft {
  background: rgba(132, 204, 22, 0.15) !important;
  color: #bef264 !important;
  border-color: rgba(132, 204, 22, 0.35) !important;
}
.fh-wiki-doc__cat--arma3 {
  background: rgba(120, 113, 108, 0.2) !important;
  color: #d6d3d1 !important;
  border-color: rgba(120, 113, 108, 0.4) !important;
}
.fh-wiki-doc__cat--ark {
  background: rgba(20, 184, 166, 0.15) !important;
  color: #5eead4 !important;
  border-color: rgba(20, 184, 166, 0.35) !important;
}
.fh-wiki-doc__cat--csgo {
  background: rgba(234, 179, 8, 0.15) !important;
  color: #fde047 !important;
  border-color: rgba(234, 179, 8, 0.35) !important;
}
.fh-wiki-doc__cat--rust {
  background: rgba(205, 65, 43, 0.16) !important;
  color: #fb7185 !important;
  border-color: rgba(205, 65, 43, 0.38) !important;
}
.fh-wiki-doc__cat--plesk {
  background: rgba(82, 187, 238, 0.15) !important;
  color: #7dd3fc !important;
  border-color: rgba(82, 187, 238, 0.35) !important;
}

.fh-wiki-doc__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: none;
}

.fh-wiki-doc__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.fh-wiki-doc__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.14);
  background: rgba(6, 12, 22, 0.55);
  color: #a8c0e0;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fh-wiki-doc__chip i {
  color: var(--fh-accent);
  font-size: 0.72rem;
  opacity: 0.9;
}

.fh-wiki-doc__chip--author {
  padding-left: 0.28rem;
  gap: 0.45rem;
  color: #e8f0fc;
}

.fh-wiki-doc__chip-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(77, 163, 255, 0.25);
  flex-shrink: 0;
}

.fh-wiki-doc__chip[href]:hover {
  border-color: rgba(59, 158, 255, 0.4);
  color: #fff;
  background: rgba(59, 158, 255, 0.1);
}

.fh-wiki-doc__sub {
  margin: 0;
  font-size: 0.88rem;
  color: #8fa3be;
}

/* ?? Typographie article (prose) ?? */
.fh-wiki-prose {
  color: #d4e4f8;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: min(72ch, 100%);
  scroll-margin-top: 6rem;
}

.fh-wiki-prose > *:first-child { margin-top: 0; }
.fh-wiki-prose > *:last-child { margin-bottom: 0; }

.fh-wiki-prose h2,
.fh-wiki-prose h3,
.fh-wiki-prose h4 {
  color: #fff;
  font-weight: 700;
  margin: 1.85rem 0 0.75rem;
  line-height: 1.3;
  scroll-margin-top: 6rem;
}

.fh-wiki-prose h2 {
  font-size: 1.28rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.14);
}

.fh-wiki-prose h3 { font-size: 1.1rem; }
.fh-wiki-prose p { margin: 0 0 1rem; }

.fh-wiki-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.14);
}

.fh-wiki-prose ul,
.fh-wiki-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.fh-wiki-prose li { margin-bottom: 0.35rem; }
.fh-wiki-prose li::marker { color: var(--fh-accent); }

.fh-wiki-prose a {
  color: var(--fh-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fh-wiki-prose strong { color: #fff; font-weight: 700; }
.fh-wiki-prose em { color: #b8d0ea; }

.fh-wiki-prose blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--fh-accent);
  border-radius: 0 10px 10px 0;
  background: rgba(59, 158, 255, 0.08);
  color: #b8d4f4;
}

.fh-wiki-prose .fh-wiki-callout {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.75rem 0.85rem;
  align-items: start;
  margin: 1.35rem 0;
  padding: 1rem 1.1rem;
  border-left-width: 3px;
  border-radius: 0 14px 14px 0;
  line-height: 1.65;
}

.fh-wiki-prose .fh-wiki-callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.fh-wiki-prose .fh-wiki-callout__body {
  min-width: 0;
}

.fh-wiki-prose .fh-wiki-callout__body > p:last-child {
  margin-bottom: 0;
}

.fh-wiki-prose .fh-wiki-callout > p:last-child {
  margin-bottom: 0;
}

.fh-wiki-prose .fh-wiki-callout--info {
  border-left-color: #3b9eff;
  background: linear-gradient(90deg, rgba(59, 158, 255, 0.12), rgba(59, 158, 255, 0.04));
  color: #c5dbf5;
}

.fh-wiki-prose .fh-wiki-callout--info .fh-wiki-callout__icon {
  color: #7dd3fc;
  background: rgba(59, 158, 255, 0.16);
}

.fh-wiki-prose .fh-wiki-callout--tip {
  border-left-color: #34d399;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.12), rgba(52, 211, 153, 0.04));
  color: #b8e8d4;
}

.fh-wiki-prose .fh-wiki-callout--tip .fh-wiki-callout__icon {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.16);
}

.fh-wiki-prose .fh-wiki-callout--warn {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.04));
  color: #f5e0b8;
}

.fh-wiki-prose .fh-wiki-callout--warn .fh-wiki-callout__icon {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.18);
}

.fh-wiki-prose .fh-wiki-callout--warn strong {
  color: #fcd34d;
}

.fh-wiki-prose .fh-wiki-callout--tip strong {
  color: #6ee7b7;
}

.fh-wiki-prose__lead {
  display: block;
  margin: 0 0 1.35rem !important;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 158, 255, 0.2);
  background: linear-gradient(90deg, rgba(59, 158, 255, 0.1), rgba(59, 158, 255, 0.04));
  color: #e2ebf8;
  font-size: 0.94rem;
  line-height: 1.55;
}

.fh-wiki-article--fivem .fh-wiki-prose__lead {
  border-color: rgba(249, 115, 22, 0.28);
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.1), rgba(59, 158, 255, 0.05));
}

.fh-wiki-prose__lead strong {
  color: #93c5fd;
}

.fh-wiki-article--fivem .fh-wiki-prose__lead strong {
  color: #fdba74;
}

.fh-wiki-prose ol {
  list-style: none;
  padding-left: 0;
  counter-reset: fh-wiki-step;
}

.fh-wiki-prose ol > li {
  position: relative;
  counter-increment: fh-wiki-step;
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.85rem 0.65rem 2.75rem;
  border-radius: 10px;
  border: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(8, 16, 28, 0.35);
}

.fh-wiki-prose ol > li::before {
  content: counter(fh-wiki-step);
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(59, 158, 255, 0.35);
  border: 1px solid rgba(59, 158, 255, 0.45);
}

.fh-wiki-article--fivem .fh-wiki-prose ol > li::before {
  background: rgba(249, 115, 22, 0.35);
  border-color: rgba(249, 115, 22, 0.5);
}

.fh-wiki-prose pre {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre;
  tab-size: 4;
}

.fh-wiki-prose :not(pre) > code {
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.4);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  color: #93c5fd;
}

.fh-wiki-prose pre code {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #e2e8f0;
  white-space: pre;
  font-family: inherit;
  font-size: inherit;
}

.fh-wiki-code pre {
  margin: 0;
  padding: 1rem 3.25rem 1rem 1.15rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 10, 20, 0.88);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre;
  tab-size: 4;
}

.fh-wiki-code pre code {
  display: block;
  padding: 0;
  background: transparent;
  color: #e2e8f0;
  white-space: pre;
  font-family: inherit;
  font-size: inherit;
}

.fh-wiki-code pre code.hljs {
  background: transparent;
  padding: 0;
}

.fh-wiki-code .hljs-keyword,
.fh-wiki-prose pre .hljs-keyword {
  color: #c792ea;
}

.fh-wiki-code .hljs-built_in,
.fh-wiki-prose pre .hljs-built_in {
  color: #82aaff;
}

.fh-wiki-code .hljs-function,
.fh-wiki-prose pre .hljs-function {
  color: #82aaff;
}

.fh-wiki-code .hljs-title,
.fh-wiki-prose pre .hljs-title {
  color: #82aaff;
}

.fh-wiki-code .hljs-title.function_,
.fh-wiki-prose pre .hljs-title.function_ {
  color: #82aaff;
}

.fh-wiki-code .hljs-string,
.fh-wiki-prose pre .hljs-string {
  color: #c3e88d;
}

.fh-wiki-code .hljs-number,
.fh-wiki-prose pre .hljs-number {
  color: #f78c6c;
}

.fh-wiki-code .hljs-literal,
.fh-wiki-prose pre .hljs-literal {
  color: #ffcb6b;
}

.fh-wiki-code .hljs-comment,
.fh-wiki-prose pre .hljs-comment {
  color: #697098;
  font-style: italic;
}

.fh-wiki-code .hljs-params,
.fh-wiki-prose pre .hljs-params {
  color: #d4e4f8;
}

.fh-wiki-code .hljs-punctuation,
.fh-wiki-prose pre .hljs-punctuation {
  color: #89ddff;
}

.fh-wiki-prose table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.fh-wiki-prose th,
.fh-wiki-prose td {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  text-align: left;
}

.fh-wiki-prose th {
  background: rgba(59, 158, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

.fh-wiki-figure {
  margin: 1.25rem 0;
  padding: 0.65rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.fh-wiki-prose__img,
.fh-wiki-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* ?? Administration ?? */
.fh-wiki-admin__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .fh-wiki-admin__layout {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }
}

.fh-wiki-admin__sidebar {
  padding: 1.15rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.85);
  position: sticky;
  top: 84px;
}

.fh-wiki-admin__user {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-admin__user strong { display: block; color: #fff; font-size: 0.92rem; }
.fh-wiki-admin__user span { color: #8fa3be; font-size: 0.78rem; }

.fh-wiki-admin__nav { display: flex; flex-direction: column; gap: 0.25rem; }

.fh-wiki-admin__nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: #a8c0e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.fh-wiki-admin__nav-link:hover,
.fh-wiki-admin__nav-link.is-active {
  background: rgba(59, 158, 255, 0.12);
  color: #fff;
}

.fh-wiki-admin__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-admin__head { margin-bottom: 1.25rem; }

.fh-wiki-admin__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fh-wiki-admin-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 14px;
  background: rgba(8, 16, 28, 0.8);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.fh-wiki-admin-stat:hover { border-color: rgba(59, 158, 255, 0.4); transform: translateY(-2px); color: inherit; }
.fh-wiki-admin-stat--alert { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.06); }
.fh-wiki-admin-stat i { color: var(--fh-accent); font-size: 1.1rem; }
.fh-wiki-admin-stat__value { font-size: 1.35rem; font-weight: 800; color: #fff; }
.fh-wiki-admin-stat__label { font-size: 0.82rem; color: #8fa3be; }

.fh-wiki-admin__section-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.fh-wiki-admin__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.fh-wiki-admin-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 24, 41, 0.7);
  color: #c8daf0;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  font: inherit;
}

.fh-wiki-admin-action:hover { border-color: rgba(59, 158, 255, 0.35); background: rgba(59, 158, 255, 0.08); color: #fff; }
.fh-wiki-admin-action i { font-size: 1.25rem; color: var(--fh-accent); }

.fh-wiki-admin-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fh-wiki-admin-tab {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.2);
  color: #a8c0e0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.fh-wiki-admin-tab.is-active,
.fh-wiki-admin-tab:hover {
  background: rgba(59, 158, 255, 0.12);
  color: #fff;
  border-color: rgba(59, 158, 255, 0.35);
}

.fh-wiki-wallet-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29, 111, 216, 0.1), rgba(12, 24, 41, 0.9));
}

.fh-wiki-wallet-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(59, 158, 255, 0.15);
  color: var(--fh-accent);
  font-size: 1.5rem;
}

.fh-wiki-wallet-card__amount {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-wallet-card__label { margin: 0; color: #8fa3be; font-size: 0.85rem; }
.fh-wiki-wallet-card__sub { margin: 0.25rem 0 0; color: #a8c0e0; font-size: 0.88rem; }
.fh-wiki-wallet-card__main { flex: 1; min-width: 0; }

.fh-wiki-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.fh-wiki-profile-card {
  padding: 1rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 16, 28, 0.7);
}

.fh-wiki-chat-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(77, 163, 255, 0.1); }

/* ?? Avis & recherche ?? */
.fh-wiki-reviews-hero,
.fh-wiki-search-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 24, 41, 0.8);
}

.fh-wiki-reviews-hero__title,
.fh-wiki-search-hero__title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-reviews-hero__lead { margin: 0; color: #a8c0e0; max-width: 42ch; }
.fh-wiki-reviews-hero__score { text-align: center; }
.fh-wiki-reviews-hero__value { font-size: 2.5rem; font-weight: 800; color: #fbbf24; }
.fh-wiki-reviews-hero__max { color: #8fa3be; font-size: 1.1rem; }
.fh-wiki-search__count { margin: 0 0 1rem; color: #8fa3be; font-size: 0.9rem; }

/* ?? Contribution ?? */
.fh-wiki-contribute__hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(29, 111, 216, 0.08), rgba(12, 24, 41, 0.9));
}

.fh-wiki-contribute__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-contribute__title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-contribute__lead { margin: 0; color: #a8c0e0; max-width: 52ch; }

.fh-wiki-contribute__reward {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.92rem;
}

.fh-wiki-contribute__panel {
  padding: 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.85);
}

.fh-wiki-contribute__input {
  background: rgba(8, 16, 28, 0.8);
  border-color: rgba(77, 163, 255, 0.2);
  color: #fff;
}

/* ============================================================
   Wiki ? polish pages (avis, recherche, cat?gories, feed)
   ============================================================ */

.fh-portal__inner {
  padding-bottom: 2.5rem;
}

/* Cartes articles */
.fh-wiki-card--doc {
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.fh-wiki-card--doc:hover {
  border-color: rgba(59, 158, 255, 0.32);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.fh-wiki-card--doc .fh-wiki-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.fh-wiki-card--doc .fh-wiki-card__title a {
  color: #fff;
  text-decoration: none;
}

.fh-wiki-card--doc .fh-wiki-card__title a:hover {
  color: var(--fh-accent);
}

.fh-wiki-card--doc .fh-wiki-card__excerpt {
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #95aec8;
  font-size: 0.875rem;
  line-height: 1.55;
}

.fh-wiki-card--doc .fh-wiki-card__meta {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
  font-size: 0.78rem;
}

.fh-wiki-card--doc .fh-wiki-card__cta {
  margin-top: 0.85rem;
  align-self: flex-start;
}

.fh-wiki-cards {
  --bs-gutter-y: 1rem;
}

/* Fil d'articles (accueil, recherche) */
.fh-wiki-feed__item {
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.15rem 0.15rem;
}

.fh-wiki-feed__main {
  flex: 1;
  min-width: 0;
}

.fh-wiki-feed__cat {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fh-wiki-feed__title {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.fh-wiki-feed__excerpt {
  margin: 0.35rem 0 0;
  color: #95aec8;
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fh-wiki-feed__date {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #7a94b0;
}

.fh-wiki-feed__cta {
  flex-shrink: 0;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.fh-wiki-panel {
  padding: 1.25rem 1.5rem;
}

.fh-wiki-panel--results {
  margin-top: 0;
}

/* Empty states compacts */
.fh-wiki-empty--compact {
  padding: 2rem 1rem;
}

.fh-wiki-empty__hint {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #8fa3be;
}

.fh-wiki-empty__hint a {
  color: var(--fh-accent);
  text-decoration: none;
}

.fh-wiki-empty__hint a:hover {
  text-decoration: underline;
}

/* Page recherche */
.fh-wiki-search-hero {
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .fh-wiki-search-hero {
    flex-direction: row;
    align-items: center;
  }
}

.fh-wiki-search-hero__intro {
  flex: 1;
  min-width: 0;
}

.fh-wiki-search-hero__lead {
  margin: 0;
  color: #a8c0e0;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42ch;
}

.fh-wiki-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 768px) {
  .fh-wiki-search-form {
    flex: 0 1 420px;
    max-width: 420px;
  }
}

.fh-wiki-search-form__field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.24);
  border-radius: 12px;
  background: rgba(6, 12, 22, 0.8);
}

.fh-wiki-search-form__field input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  outline: none;
  font-size: 0.92rem;
}

.fh-wiki-search-form__field i {
  color: var(--fh-accent);
  opacity: 0.85;
}

/* Page avis */
.fh-wiki-reviews-hero {
  margin-bottom: 1.25rem;
}

.fh-wiki-reviews-hero__score p {
  margin: 0.25rem 0 0.75rem;
  color: #8fa3be;
  font-size: 0.88rem;
}

.fh-wiki-review-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fh-wiki-review-card:hover {
  border-color: rgba(59, 158, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.fh-wiki-review-card__head time {
  color: #7a94b0;
  white-space: nowrap;
}

.fh-wiki-review-card__stars span {
  margin-left: 0.35rem;
  color: #8fa3be;
  font-size: 0.85rem;
  font-weight: 600;
}

.fh-wiki-review-card__text {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  color: #b8cce4;
  line-height: 1.6;
}

/* Boutons wiki ? glow att?nu? */
.fh-wiki-card .fh-btn-primary,
.fh-wiki-cat-header .fh-btn-primary,
.fh-wiki-reviews-hero .fh-btn-primary {
  box-shadow: 0 2px 10px rgba(59, 158, 255, 0.22);
}

.fh-wiki-card .fh-btn-primary:hover,
.fh-wiki-cat-header .fh-btn-primary:hover {
  box-shadow: 0 4px 14px rgba(59, 158, 255, 0.3);
}

/* Cat?gorie ? filtre int?gr? au panel articles */
.fh-wiki-category .fh-wiki-panel--filter {
  margin-bottom: 0.75rem;
  background: rgba(8, 16, 28, 0.6);
}

.fh-wiki-filter i {
  color: var(--fh-accent);
  opacity: 0.75;
}

/* ============================================================
   Article view ? styles complets
   ============================================================ */

.fh-wiki-article .fh-portal__inner {
  max-width: 1180px;
}

.fh-wiki-flash {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  border: 1px solid rgba(77, 163, 255, 0.2);
  background: rgba(59, 158, 255, 0.1);
  color: #dbeafe;
}

.fh-wiki-flash--success {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.1);
  color: #bbf7d0;
}

.fh-wiki-flash--danger {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.fh-wiki-flash--warn {
  border-color: rgba(251, 146, 60, 0.4);
  background: rgba(251, 146, 60, 0.1);
  color: #fdba74;
}
.fh-wiki-flash--warn a {
  color: #ffedd5;
  font-weight: 600;
}

.fh-wiki-article--fivem .fh-wiki-doc { border-top: 3px solid #f97316; }
.fh-wiki-article--gmod .fh-wiki-doc { border-top: 3px solid #38bdf8; }
.fh-wiki-article--vps .fh-wiki-doc { border-top: 3px solid #a78bfa; }
.fh-wiki-article--nodejs .fh-wiki-doc { border-top: 3px solid #4ade80; }

.fh-wiki-doc-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(4, 10, 20, 0.35);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

a.fh-wiki-doc-author:hover {
  border-color: rgba(59, 158, 255, 0.28);
  background: rgba(59, 158, 255, 0.08);
  text-decoration: none;
  color: inherit;
}

.fh-wiki-doc-author__avatar {
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(59, 158, 255, 0.25);
}

.fh-wiki-doc-author__label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa3be;
  font-weight: 600;
}

.fh-wiki-doc-author__name {
  margin: 0.1rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.fh-wiki-doc__toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.14);
  background: rgba(4, 10, 20, 0.55);
}

.fh-wiki-doc__toolbar-sep {
  display: inline-block;
  width: 1px;
  height: 1.1rem;
  margin: 0 0.15rem;
  background: rgba(120, 160, 210, 0.22);
  flex-shrink: 0;
}

button.fh-wiki-doc__tool,
a.fh-wiki-doc__tool {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  min-width: 2rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #b8d0ea;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

button.fh-wiki-doc__tool i,
a.fh-wiki-doc__tool i {
  font-size: 0.82rem;
  opacity: 0.9;
}

button.fh-wiki-doc__tool:hover,
button.fh-wiki-doc__tool.is-copied,
a.fh-wiki-doc__tool:hover {
  border-color: rgba(59, 158, 255, 0.28);
  color: #fff;
  background: rgba(59, 158, 255, 0.12);
  text-decoration: none;
}

button.fh-wiki-doc__tool.is-active,
a.fh-wiki-doc__tool.is-active {
  border-color: rgba(59, 158, 255, 0.4);
  background: rgba(59, 158, 255, 0.16);
  color: #fff;
}

button.fh-wiki-doc__tool span,
a.fh-wiki-doc__tool span { display: none; }

/* Icônes secondaires : toujours sans libellé (moins de bruit) */
button.fh-wiki-doc__tool--icon span,
a.fh-wiki-doc__tool--icon span { display: none !important; }

@media (min-width: 1200px) {
  button.fh-wiki-doc__tool:not(.fh-wiki-doc__tool--icon),
  a.fh-wiki-doc__tool:not(.fh-wiki-doc__tool--icon) {
    padding: 0.3rem 0.7rem;
  }

  button.fh-wiki-doc__tool:not(.fh-wiki-doc__tool--icon) span,
  a.fh-wiki-doc__tool:not(.fh-wiki-doc__tool--icon) span { display: inline; }
}

@media (max-width: 575.98px) {
  .fh-wiki-doc__header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .fh-wiki-doc__toolbar {
    width: 100%;
    justify-content: space-between;
  }

  .fh-wiki-doc__title {
    max-width: none;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .fh-wiki-doc__chip span {
    max-width: 12ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.fh-wiki-toc-mobile {
  margin-bottom: 1.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 14px;
  background: rgba(8, 16, 28, 0.9);
}

.fh-wiki-toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  color: #dbeafe;
  list-style: none;
}

.fh-wiki-toc-mobile summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.fh-wiki-toc-mobile summary::-webkit-details-marker { display: none; }

.fh-wiki-toc-mobile__chevron {
  font-size: 0.75rem;
  color: #8fa3be;
  transition: transform 0.2s;
}

.fh-wiki-toc-mobile[open] .fh-wiki-toc-mobile__chevron {
  transform: rotate(180deg);
}

.fh-wiki-toc-mobile .fh-wiki-toc__list {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
  max-height: min(50vh, 360px);
  overflow-y: auto;
}

.fh-wiki-doc__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-doc__footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #8fa3be;
  font-size: 0.88rem;
}

.fh-wiki-doc__footer-meta img { border-radius: 6px; }

.fh-wiki-doc__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.fh-wiki-prose img,
.fh-wiki-prose table,
.fh-wiki-prose .fh-wiki-code,
.fh-wiki-prose pre {
  max-width: 100%;
}

.fh-wiki-prose ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.15rem;
}

.fh-wiki-prose ol > li {
  margin-bottom: 0.55rem;
}

.fh-wiki-code {
  position: relative;
  margin: 1rem 0;
}

button.fh-wiki-code__copy {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-radius: 8px;
  background: rgba(8, 16, 28, 0.95);
  color: #a8c0e0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

button.fh-wiki-code__copy:hover,
button.fh-wiki-code__copy.is-copied {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.45);
  background: rgba(59, 158, 255, 0.15);
}

.fh-wiki-doc-card .fh-wiki-article__actions {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-article__actions {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-article__action-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fh-wiki-article__action-form .fh-btn {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.45rem 0.65rem;
}

.fh-wiki-article__action-form .fh-btn-ghost {
  background: rgba(8, 16, 28, 0.55);
  border-color: rgba(120, 160, 210, 0.18);
}

.fh-wiki-article__action-form .fh-btn-ghost:hover {
  border-color: rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.1);
}

.fh-wiki-article__action-form--mod {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(77, 163, 255, 0.18);
}

.fh-wiki-toc__item--intro .fh-wiki-toc__num {
  font-size: 0.85rem;
  line-height: 1;
  color: #8fa3be;
  background: rgba(120, 160, 210, 0.1);
  border-color: rgba(120, 160, 210, 0.18);
}

.fh-wiki-toc__item--intro.is-active .fh-wiki-toc__num {
  color: #fff;
  background: rgba(59, 158, 255, 0.38);
  border-color: rgba(59, 158, 255, 0.55);
}

.fh-wiki-doc-card__status {
  margin-top: 0.35rem;
  padding-top: 0.45rem !important;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-related {
  margin-top: 2rem;
  padding: 1.35rem 0 0.5rem;
  border-top: 1px solid rgba(77, 163, 255, 0.14);
}

.fh-wiki-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fh-wiki-related__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-related__all {
  flex-shrink: 0;
  color: var(--fh-accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.fh-wiki-related__all:hover { text-decoration: underline; }

.fh-wiki-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .fh-wiki-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .fh-wiki-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

a.fh-wiki-related__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 120px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 14px;
  background: rgba(12, 24, 41, 0.88);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

a.fh-wiki-related__card:hover {
  border-color: rgba(59, 158, 255, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

.fh-wiki-related__cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

a.fh-wiki-related__card strong {
  display: block;
  flex: 1;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

a.fh-wiki-related__card time {
  display: block;
  font-size: 0.8rem;
  color: #8fa3be;
}

.fh-wiki-related__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.fh-wiki-related__foot i {
  color: var(--fh-accent);
  opacity: 0.75;
  font-size: 0.85rem;
  transition: transform 0.15s, opacity 0.15s;
}

a.fh-wiki-related__card:hover .fh-wiki-related__foot i {
  opacity: 1;
  transform: translateX(3px);
}

.fh-wiki-editor {
  min-height: 320px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  background: rgba(0, 0, 0, 0.35) !important;
  color: #e2e8f0 !important;
  border-color: rgba(77, 163, 255, 0.22) !important;
}

@media (max-width: 991.98px) {
  .fh-nav__desktop-aside,
  .fh-nav__user-menu,
  .fh-nav__user-dropdown {
    display: none !important;
  }

  .fh-wiki-doc {
    padding: 1.15rem 1.1rem 1.5rem;
  }

  .fh-wiki-doc-card {
    margin-bottom: 0;
  }

  .fh-wiki-doc-sidebar {
    position: static;
  }

  .fh-wiki-related {
    margin-top: 1.5rem;
  }
}

/* ============================================================
   Page cat?gorie documentation ? refonte
   ============================================================ */

.fh-wiki-category .fh-portal__inner {
  max-width: 1180px;
}

.fh-wiki-cat-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 26, 44, 0.96), rgba(8, 14, 26, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.fh-wiki-cat-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.fh-wiki-category--fivem .fh-wiki-cat-hero__glow {
  background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(249, 115, 22, 0.22), transparent 60%);
}

.fh-wiki-category--gmod .fh-wiki-cat-hero__glow {
  background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(56, 189, 248, 0.2), transparent 60%);
}

.fh-wiki-category--vps .fh-wiki-cat-hero__glow {
  background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(167, 139, 250, 0.2), transparent 60%);
}

.fh-wiki-category--nodejs .fh-wiki-cat-hero__glow {
  background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(74, 222, 128, 0.18), transparent 60%);
}

.fh-wiki-cat-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  padding: 1.5rem 1.6rem;
}

.fh-wiki-cat-hero__main {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 320px;
}

.fh-wiki-cat-hero__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fh-wiki-cat-hero__icon {
  border-radius: 12px;
}

.fh-wiki-cat-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-cat-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fh-wiki-cat-hero__desc {
  margin: 0 0 0.75rem;
  max-width: 54ch;
  color: #a8c0e0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.fh-wiki-cat-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.fh-wiki-cat-hero__stat {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.18);
  background: rgba(8, 16, 28, 0.65);
  color: #8fa3be;
  font-size: 0.78rem;
}

.fh-wiki-cat-hero__stat strong {
  color: #fff;
  margin-right: 0.2rem;
}

.fh-wiki-cat-hero__actions {
  flex-shrink: 0;
}

.fh-wiki-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.fh-wiki-cat-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.72);
  color: #a8c0e0;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fh-wiki-cat-tabs__item img {
  border-radius: 4px;
}

.fh-wiki-cat-tabs__item:hover {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.35);
  text-decoration: none;
}

.fh-wiki-cat-tabs__item.is-active {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.45);
  background: rgba(59, 158, 255, 0.12);
}

.fh-wiki-cat-tabs__item--fivem.is-active { border-color: rgba(249, 115, 22, 0.45); background: rgba(249, 115, 22, 0.12); }
.fh-wiki-cat-tabs__item--gmod.is-active { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.12); }
.fh-wiki-cat-tabs__item--vps.is-active { border-color: rgba(167, 139, 250, 0.45); background: rgba(167, 139, 250, 0.12); }
.fh-wiki-cat-tabs__item--nodejs.is-active { border-color: rgba(74, 222, 128, 0.45); background: rgba(74, 222, 128, 0.12); }

.fh-wiki-cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 14px;
  background: rgba(6, 12, 22, 0.72);
}

.fh-wiki-cat-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
}

.fh-wiki-cat-search i {
  color: var(--fh-accent);
  opacity: 0.8;
}

.fh-wiki-cat-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  font-size: 0.92rem;
  outline: none;
}

.fh-wiki-cat-search input::placeholder {
  color: #6a8299;
}

.fh-wiki-cat-toolbar__count {
  flex-shrink: 0;
  color: #8fa3be;
  font-size: 0.82rem;
  font-weight: 600;
}

.fh-wiki-cat-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.fh-wiki-cat-sort {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.7);
  border: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-cat-sort__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  color: #a8c0e0;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.fh-wiki-cat-sort__btn:hover {
  color: #fff;
  text-decoration: none;
}

.fh-wiki-cat-sort__btn.is-active {
  color: #fff;
  background: rgba(59, 158, 255, 0.18);
}

.fh-wiki-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .fh-wiki-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .fh-wiki-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fh-wiki-list-card {
  position: relative;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.88);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fh-wiki-list-card--fivem { border-left: 3px solid #f97316; }
.fh-wiki-list-card--gmod { border-left: 3px solid #38bdf8; }
.fh-wiki-list-card--vps { border-left: 3px solid #a78bfa; }
.fh-wiki-list-card--nodejs { border-left: 3px solid #4ade80; }

.fh-wiki-list-card:hover {
  border-color: rgba(59, 158, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

a.fh-wiki-list-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  min-height: 190px;
  padding: 1.1rem 1.15rem 1rem;
  color: inherit;
  text-decoration: none;
}

a.fh-wiki-list-card__link:hover {
  text-decoration: none;
  color: inherit;
}

.fh-wiki-list-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-list-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.fh-wiki-list-card__excerpt {
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #95aec8;
  font-size: 0.875rem;
  line-height: 1.55;
}

.fh-wiki-list-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-list-card__author {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: #c8daf0;
  font-size: 0.8rem;
  font-weight: 600;
}

.fh-wiki-list-card__author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-wiki-list-card__author .fh-wiki-author__avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.fh-wiki-list-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8fa3be;
  font-size: 0.76rem;
  white-space: nowrap;
}

.fh-wiki-list-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--fh-accent);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s, background 0.18s;
}

.fh-wiki-list-card:hover .fh-wiki-list-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.fh-wiki-empty--wide {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
}

/* ?? Cat?gorie vide ?? */
.fh-wiki-cat-empty {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px dashed rgba(77, 163, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(10, 18, 32, 0.95), rgba(6, 12, 22, 0.88));
  text-align: center;
}

.fh-wiki-cat-empty__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.fh-wiki-cat-empty--fivem .fh-wiki-cat-empty__glow {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(249, 115, 22, 0.14), transparent 70%);
}

.fh-wiki-cat-empty--gmod .fh-wiki-cat-empty__glow {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 70%);
}

.fh-wiki-cat-empty--vps .fh-wiki-cat-empty__glow {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(167, 139, 250, 0.14), transparent 70%);
}

.fh-wiki-cat-empty--nodejs .fh-wiki-cat-empty__glow {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(74, 222, 128, 0.16), transparent 70%);
}

.fh-wiki-cat-empty__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.25rem;
}

.fh-wiki-cat-empty__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.fh-wiki-cat-empty__icon {
  border-radius: 14px;
}

.fh-wiki-cat-empty__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fh-wiki-cat-empty__lead {
  margin: 0 0 1.35rem;
  color: #95aec8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.fh-wiki-cat-empty__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.fh-wiki-cat-empty__suggest {
  width: 100%;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
}

.fh-wiki-cat-empty__suggest-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa3be;
}

.fh-wiki-cat-empty__suggest-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.fh-wiki-cat-empty__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.75);
  color: #c8daf0;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fh-wiki-cat-empty__chip:hover {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.35);
  text-decoration: none;
}

.fh-wiki-cat-empty__chip img {
  border-radius: 4px;
}

.fh-wiki-cat-hero__stat.is-empty {
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
}

.fh-wiki-cat-hero__stat.is-empty strong {
  color: #fef3c7;
}

.fh-wiki-filter-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed rgba(77, 163, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.72);
}

.fh-wiki-filter-empty[hidden] {
  display: none !important;
}

.fh-wiki-filter-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--fh-accent);
  font-size: 1.25rem;
}

.fh-wiki-filter-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-filter-empty__text {
  margin: 0 0 1.1rem;
  max-width: 42ch;
  color: #95aec8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.fh-wiki-filter-empty__text strong {
  color: #dbeafe;
  font-weight: 700;
}

@media (max-width: 767px) {
  .fh-wiki-cat-hero__inner {
    padding: 1.15rem 1.1rem;
  }

  .fh-wiki-cat-hero__main {
    flex-direction: column;
    align-items: stretch;
  }

  .fh-wiki-cat-hero__actions,
  .fh-wiki-cat-hero__actions .fh-btn {
    width: 100%;
    justify-content: center;
  }

  .fh-wiki-cat-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .fh-wiki-cat-search {
    flex: 0 0 auto;
    width: 100%;
  }

  .fh-wiki-cat-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .fh-wiki-cat-toolbar__count {
    text-align: right;
  }

  .fh-wiki-cat-empty__inner {
    padding: 2rem 1.1rem 1.75rem;
  }

  .fh-wiki-cat-empty__actions .fh-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Page recherche ? refonte v2
   ============================================================ */

.fh-wiki-search .fh-portal__inner {
  max-width: 1180px;
}

.fh-wiki-search-hero--v2 {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: 0;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 26, 44, 0.96), rgba(8, 14, 26, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.fh-wiki-search-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 20% 0%, rgba(59, 158, 255, 0.18), transparent 65%);
}

.fh-wiki-search-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.5rem 1.6rem 1.35rem;
}

.fh-wiki-search-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-search-hero--v2 .fh-wiki-search-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.fh-wiki-search-hero--v2 .fh-wiki-search-hero__lead {
  margin: 0;
  max-width: 56ch;
  font-size: 0.95rem;
}

.fh-wiki-search-form--v2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
}

.fh-wiki-search-form--v2 .fh-wiki-search-form__field {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  height: 48px;
  max-height: 48px;
  margin: 0;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.28);
  background: rgba(6, 12, 22, 0.85);
  align-items: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.fh-wiki-search-form--v2 .fh-wiki-search-form__field:focus-within {
  border-color: rgba(59, 158, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.1);
}

.fh-wiki-search-form--v2 .fh-wiki-search-form__field input {
  height: 100%;
  padding: 0;
  line-height: 1.4;
}

.fh-wiki-search-form--v2 .fh-btn {
  flex: 0 0 auto;
  align-self: auto;
  min-height: 48px;
  height: 48px;
  padding-inline: 1.25rem;
  white-space: nowrap;
}

.fh-wiki-search-suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.fh-wiki-search-suggest__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fa3be;
}

.fh-wiki-search-suggest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fh-wiki-search-suggest__chip {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.75);
  color: #c8daf0;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fh-wiki-search-suggest__chip:hover {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.38);
  background: rgba(59, 158, 255, 0.1);
  text-decoration: none;
}

.fh-wiki-search-tabs {
  margin-bottom: 0;
}

.fh-wiki-search-filters {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(8, 16, 28, 0.72);
}

.fh-wiki-search-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.fh-wiki-search-filters__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #8fa3be;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fh-wiki-search-filters__label i {
  color: var(--fh-accent);
  font-size: 0.72rem;
}

.fh-wiki-search-filters__reset {
  color: var(--fh-accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.fh-wiki-search-filters__reset:hover {
  color: #fff;
  text-decoration: underline;
}

.fh-wiki-search-tabs.fh-wiki-cat-tabs {
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
  overflow: visible;
  padding-bottom: 0;
}

.fh-wiki-search-tabs .fh-wiki-cat-tabs__item i {
  font-size: 0.85rem;
  opacity: 0.85;
}

.fh-wiki-search-toolbar {
  margin-bottom: 1rem;
  padding: 0.65rem 0.15rem;
}

.fh-wiki-search-toolbar__count {
  margin: 0;
  color: #8fa3be;
  font-size: 0.9rem;
}

.fh-wiki-search-toolbar__count strong {
  color: #fff;
}

.fh-wiki-search-toolbar__filter {
  color: var(--fh-accent);
}

.fh-wiki-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .fh-wiki-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .fh-wiki-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fh-wiki-search-card {
  position: relative;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.88);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fh-wiki-search-card--fivem { border-left: 3px solid #f97316; }
.fh-wiki-search-card--gmod { border-left: 3px solid #38bdf8; }
.fh-wiki-search-card--vps { border-left: 3px solid #a78bfa; }
.fh-wiki-search-card--nodejs { border-left: 3px solid #4ade80; }

.fh-wiki-search-card:hover {
  border-color: rgba(59, 158, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

a.fh-wiki-search-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 180px;
  padding: 1.05rem 1.1rem 1rem;
  color: inherit;
  text-decoration: none;
}

a.fh-wiki-search-card__link:hover {
  text-decoration: none;
  color: inherit;
}

.fh-wiki-search-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-search-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.fh-wiki-search-card__excerpt {
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #95aec8;
  font-size: 0.875rem;
  line-height: 1.55;
}

.fh-wiki-search-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-search-card__author {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: #c8daf0;
  font-size: 0.8rem;
  font-weight: 600;
}

.fh-wiki-search-card__author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-wiki-search-card__author .fh-wiki-author__avatar {
  border-radius: 50%;
}

.fh-wiki-search-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8fa3be;
  font-size: 0.76rem;
  white-space: nowrap;
}

.fh-wiki-search-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--fh-accent);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}

.fh-wiki-search-card:hover .fh-wiki-search-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.fh-wiki-mark {
  padding: 0.05rem 0.2rem;
  border-radius: 4px;
  background: rgba(59, 158, 255, 0.22);
  color: #fff;
}

.fh-wiki-search-idle,
.fh-wiki-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed rgba(77, 163, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.72);
}

.fh-wiki-search-idle__icon,
.fh-wiki-search-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--fh-accent);
  font-size: 1.25rem;
}

.fh-wiki-search-idle__title,
.fh-wiki-search-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-search-idle__text,
.fh-wiki-search-empty__text {
  margin: 0 0 1.25rem;
  max-width: 46ch;
  color: #95aec8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.fh-wiki-search-empty__text strong {
  color: #dbeafe;
}

.fh-wiki-search-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.fh-wiki-search-idle__cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  width: 100%;
  max-width: 720px;
}

@media (min-width: 640px) {
  .fh-wiki-search-idle__cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

a.fh-wiki-search-idle__cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 14px;
  background: rgba(12, 24, 41, 0.82);
  text-align: left;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

a.fh-wiki-search-idle__cat:hover {
  border-color: rgba(59, 158, 255, 0.32);
  transform: translateY(-1px);
  text-decoration: none;
}

a.fh-wiki-search-idle__cat img {
  border-radius: 8px;
}

a.fh-wiki-search-idle__cat strong {
  color: #fff;
  font-size: 0.95rem;
}

a.fh-wiki-search-idle__cat span {
  color: #8fa3be;
  font-size: 0.82rem;
  line-height: 1.45;
}

.fh-wiki-search-idle__cat--fivem { border-left: 3px solid #f97316; }
.fh-wiki-search-idle__cat--gmod { border-left: 3px solid #38bdf8; }
.fh-wiki-search-idle__cat--vps { border-left: 3px solid #a78bfa; }
.fh-wiki-search-idle__cat--nodejs { border-left: 3px solid #4ade80; }

@media (max-width: 767px) {
  .fh-wiki-search-hero__inner {
    padding: 1.15rem 1.1rem;
  }

  .fh-wiki-search-form--v2 {
    flex-direction: column;
    align-items: stretch;
  }

  .fh-wiki-search-form--v2 .fh-wiki-search-form__field,
  .fh-wiki-search-form--v2 .fh-btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
  }

  .fh-wiki-search-form--v2 .fh-btn {
    justify-content: center;
  }
}

/* ============================================================
   Accueil & Avis ? refonte v2
   ============================================================ */

.fh-wiki-home .fh-portal__inner {
  max-width: 1180px;
}

.fh-wiki-home-hero--v2 {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 26, 44, 0.96), rgba(8, 14, 26, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.fh-wiki-home-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 10% 0%, rgba(59, 158, 255, 0.2), transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 100%, rgba(167, 139, 250, 0.1), transparent 55%);
}

.fh-wiki-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem 1.35rem;
}

@media (min-width: 768px) {
  .fh-wiki-home-hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 2rem;
  }
}

.fh-wiki-home-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-home-hero__eyebrow i {
  margin-right: 0.35rem;
  opacity: 0.85;
}

.fh-wiki-home-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.12;
}

.fh-wiki-home-hero__lead {
  margin: 0 0 1.1rem;
  max-width: 56ch;
  color: #a8c0e0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.fh-wiki-home-hero__search {
  margin-bottom: 0.75rem;
}

.fh-wiki-home-hero__suggest {
  margin-top: 0;
}

.fh-wiki-home-hero__stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .fh-wiki-home-hero__stats {
    flex-direction: column;
    min-width: 148px;
  }
}

.fh-wiki-home-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 96px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 14px;
  background: rgba(4, 10, 20, 0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, background 0.18s;
}

.fh-wiki-home-stat--link:hover {
  border-color: rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

.fh-wiki-home-stat strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fh-wiki-home-stat strong small {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fa3be;
  margin-left: 0.1rem;
}

.fh-wiki-home-stat span {
  font-size: 0.72rem;
  color: #8fa3be;
  font-weight: 500;
}

.fh-wiki-home-stat--gold strong {
  color: #fbbf24;
}

.fh-wiki-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .fh-wiki-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fh-wiki-home-card {
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 14px;
  background: rgba(12, 24, 41, 0.88);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fh-wiki-home-card--fivem { border-left: 3px solid #f97316; }
.fh-wiki-home-card--gmod { border-left: 3px solid #38bdf8; }
.fh-wiki-home-card--vps { border-left: 3px solid #a78bfa; }
.fh-wiki-home-card--nodejs { border-left: 3px solid #4ade80; }

.fh-wiki-home-card:hover {
  border-color: rgba(59, 158, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

a.fh-wiki-home-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 118px;
  padding: 1rem 1.05rem 0.9rem;
  color: inherit;
  text-decoration: none;
}

a.fh-wiki-home-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.fh-wiki-home-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-wiki-home-card__title {
  margin: 0;
  flex: 1;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.fh-wiki-home-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #7a94b0;
}

.fh-wiki-home-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.2);
  background: rgba(59, 158, 255, 0.08);
  color: var(--fh-accent);
  font-size: 0.65rem;
  transition: background 0.18s, border-color 0.18s;
}

.fh-wiki-home-card:hover .fh-wiki-home-card__arrow {
  background: rgba(59, 158, 255, 0.18);
  border-color: rgba(59, 158, 255, 0.35);
}

.fh-wiki-start-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .fh-wiki-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fh-wiki-feed__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.2);
  background: rgba(59, 158, 255, 0.08);
  color: var(--fh-accent);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.fh-wiki-feed__link:hover {
  background: rgba(59, 158, 255, 0.18);
  border-color: rgba(59, 158, 255, 0.35);
  color: var(--fh-accent);
}

/* ?? Page avis ?? */
.fh-wiki-reviews .fh-portal__inner {
  max-width: 1240px;
}

.fh-wiki-reviews-hero--v2 {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 20, 14, 0.96), rgba(8, 14, 26, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.fh-wiki-reviews-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 15% 0%, rgba(251, 191, 36, 0.16), transparent 60%);
}

.fh-wiki-reviews-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem 1.35rem;
}

@media (min-width: 768px) {
  .fh-wiki-reviews-hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}

.fh-wiki-reviews-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbbf24;
}

.fh-wiki-reviews-hero__eyebrow i {
  margin-right: 0.35rem;
}

.fh-wiki-reviews-hero--v2 .fh-wiki-reviews-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.fh-wiki-reviews-hero--v2 .fh-wiki-reviews-hero__lead {
  margin: 0 0 1rem;
  max-width: 52ch;
  font-size: 0.95rem;
  color: #a8c0e0;
  line-height: 1.6;
}

.fh-wiki-reviews-hero__bars {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 280px;
}

.fh-wiki-reviews-bar {
  display: grid;
  grid-template-columns: 1.25rem 1fr 2.25rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.fh-wiki-reviews-bar__label {
  color: #fde68a;
  font-weight: 700;
  text-align: right;
}

.fh-wiki-reviews-bar__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  overflow: hidden;
}

.fh-wiki-reviews-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  min-width: 2px;
}

.fh-wiki-reviews-bar__count {
  color: #8fa3be;
  font-size: 0.72rem;
  text-align: right;
}

.fh-wiki-reviews-hero__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 16px;
  background: rgba(4, 10, 20, 0.5);
  min-width: 160px;
}

.fh-wiki-reviews-score {
  line-height: 1;
}

.fh-wiki-reviews-score__value {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.03em;
}

.fh-wiki-reviews-score__max {
  font-size: 1.1rem;
  color: #8fa3be;
  font-weight: 600;
}

.fh-wiki-reviews-score__stars {
  margin: 0.5rem 0 0.35rem;
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.fh-wiki-reviews-score__count {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #8fa3be;
}

.fh-wiki-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .fh-wiki-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .fh-wiki-reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fh-wiki-reviews-empty {
  margin-top: 0.5rem;
}

.fh-wiki-reviews-hero--v2 + .fh-wiki-reviews-empty .fh-wiki-empty,
.fh-wiki-reviews-grid .fh-wiki-review-card {
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.88);
  padding: 1.15rem 1.2rem;
}

.fh-wiki-reviews-grid .fh-wiki-review-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fh-wiki-reviews-grid .fh-wiki-review-card:hover {
  border-color: rgba(251, 191, 36, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.fh-wiki-review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.fh-wiki-review-card__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.fh-wiki-review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(77, 163, 255, 0.2);
}

.fh-wiki-review-card__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 158, 255, 0.15);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 700;
}

.fh-wiki-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.fh-wiki-review-card__name {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fh-wiki-review-card__meta time {
  font-size: 0.75rem;
  color: #7a94b0;
}

.fh-wiki-review-card__score {
  flex-shrink: 0;
  text-align: right;
  line-height: 1;
}

.fh-wiki-review-card__score-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fbbf24;
}

.fh-wiki-review-card__score-max {
  font-size: 0.78rem;
  color: #8fa3be;
  font-weight: 600;
}

.fh-wiki-review-card__stars {
  color: #fbbf24;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.fh-wiki-review-card__text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: #b8cce4;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fh-wiki-review-form__hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #8fa3be;
}

@media (max-width: 767px) {
  .fh-wiki-home-hero__inner,
  .fh-wiki-reviews-hero__inner {
    padding: 1.15rem 1.1rem;
  }

  .fh-wiki-reviews-hero__score {
    width: 100%;
  }

  .fh-wiki-reviews-hero__bars {
    max-width: none;
  }
}

/* ============================================================
   Page avis ? polish v3 (grille uniforme, cartes)
   ============================================================ */

body.fh-wiki-reviews-page .fh-wiki-reviews-section {
  margin-top: 0.25rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-section__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-section__count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #8fa3be;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.16);
  background: rgba(59, 158, 255, 0.06);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__bars {
  max-width: 320px;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__score {
  box-shadow: inset 0 1px 0 rgba(251, 191, 36, 0.12);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
  padding: 1.2rem 1.3rem 1.15rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 28, 48, 0.94), rgba(10, 18, 32, 0.92));
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(77, 163, 255, 0.35);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card--high::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card--good::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card--low::before {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card:hover {
  border-color: rgba(251, 191, 36, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

body.fh-wiki-reviews-page .fh-wiki-review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  padding-right: 0;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(77, 163, 255, 0.2);
}

body.fh-wiki-reviews-page .fh-wiki-review-card__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 158, 255, 0.14);
  border: 1px solid rgba(59, 158, 255, 0.22);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__meta time {
  font-size: 0.75rem;
  color: #7a94b0;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.05rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.1);
  line-height: 1;
}

body.fh-wiki-reviews-page .fh-wiki-review-card--high .fh-wiki-review-card__badge {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.14);
}

body.fh-wiki-reviews-page .fh-wiki-review-card--good .fh-wiki-review-card__badge {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.12);
}

body.fh-wiki-reviews-page .fh-wiki-review-card--good .fh-wiki-review-card__badge-value {
  color: #93c5fd;
}

body.fh-wiki-reviews-page .fh-wiki-review-card--low .fh-wiki-review-card__badge {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(100, 116, 139, 0.14);
}

body.fh-wiki-reviews-page .fh-wiki-review-card--low .fh-wiki-review-card__badge-value {
  color: #cbd5e1;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__badge-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fbbf24;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__badge-max {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8fa3be;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__rating {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

body.fh-wiki-reviews-page .fh-wiki-review-card__stars {
  color: #fbbf24;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__text {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 6.75rem;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__text p {
  margin: 0;
  font-size: 0.9rem;
  color: #c5d8ef;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__text--empty p {
  color: #6b829c;
  font-style: italic;
  -webkit-line-clamp: unset;
  display: block;
}

@media (max-width: 767px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v3 .fh-wiki-review-card {
    min-height: 0;
  }

  body.fh-wiki-reviews-page .fh-wiki-review-card__text {
    min-height: 0;
  }
}

/* ============================================================
   Page avis ? v4 (hero, filtres, modal ?toiles)
   ============================================================ */

body.fh-wiki-reviews-page .fh-wiki-reviews-hero--v4 {
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.35rem;
  padding: 0;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 55% at 0% 0%, rgba(251, 191, 36, 0.14), transparent 58%),
    linear-gradient(145deg, rgba(18, 22, 32, 0.98), rgba(8, 14, 26, 0.94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero--v4 .fh-wiki-reviews-hero__inner {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.35rem;
  padding: 1.45rem 1.55rem 1.35rem;
}

@media (min-width: 900px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-hero--v4 .fh-wiki-reviews-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 240px);
    gap: 1.75rem 2rem;
  }
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__intro {
  min-width: 0;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero--v4 .fh-wiki-reviews-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero--v4 .fh-wiki-reviews-hero__lead {
  margin: 0;
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a8c0e0;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 600;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-highlight i {
  color: #fbbf24;
  font-size: 0.72rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-score__label {
  margin: 0.15rem 0 0.35rem;
  color: #fde68a;
  font-size: 0.82rem;
  font-weight: 700;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__bars {
  max-width: none;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.14);
  border-radius: 14px;
  background: rgba(4, 10, 20, 0.45);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-bar {
  grid-template-columns: 1.5rem 1fr 2.5rem;
  gap: 0.65rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-hero__score {
  align-self: start;
  width: 100%;
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(251, 191, 36, 0.12);
}

@media (min-width: 900px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-hero__score {
    position: sticky;
    top: 5.5rem;
  }
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel {
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.72);
  overflow: hidden;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel__toolbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(12, 24, 41, 0.55);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.08);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel__title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel__desc {
  margin: 0;
  color: #8fa3be;
  font-size: 0.84rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel__count {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 158, 255, 0.22);
  background: rgba(59, 158, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel__body {
  padding: 1.2rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel .fh-wiki-reviews-grid--v4 {
  padding: 0;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 12, 22, 0.75);
  color: #a8c0e0;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-filter:hover {
  color: #fff;
  border-color: rgba(251, 191, 36, 0.35);
  text-decoration: none;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-filter.is-active {
  color: #fff;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 .fh-wiki-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 230px;
  padding: 1.15rem 1.2rem 1.1rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 28, 48, 0.96), rgba(10, 18, 32, 0.94));
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 .fh-wiki-review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(77, 163, 255, 0.35);
}

body.fh-wiki-reviews-page .fh-wiki-review-card__quote {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(251, 191, 36, 0.22);
  font-size: 1rem;
  line-height: 1;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

body.fh-wiki-reviews-page .fh-wiki-review-card__tier {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.fh-wiki-reviews-page .fh-wiki-review-card--good .fh-wiki-review-card__tier {
  background: rgba(59, 158, 255, 0.1);
  border-color: rgba(59, 158, 255, 0.22);
  color: #bfdbfe;
}

body.fh-wiki-reviews-page .fh-wiki-review-card--low .fh-wiki-review-card__tier {
  background: rgba(100, 116, 139, 0.14);
  border-color: rgba(100, 116, 139, 0.28);
  color: #cbd5e1;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 .fh-wiki-review-card__text {
  flex: 1;
  margin: 0;
  position: relative;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 .fh-wiki-review-card__text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  min-height: 4.5em;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-empty--v4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-empty--page {
  margin-top: 0.5rem;
  border: 1px dashed rgba(251, 191, 36, 0.22);
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.55);
}

body.fh-wiki-reviews-page .fh-wiki-reviews-panel .fh-wiki-reviews-empty--v4 {
  padding: 2rem 1.25rem 2.25rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  font-size: 1.2rem;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-empty__title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

body.fh-wiki-reviews-page .fh-wiki-reviews-empty__text {
  margin: 0;
  max-width: 36ch;
  color: #8fa3be;
  font-size: 0.88rem;
  line-height: 1.55;
}

.fh-review-modal {
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
  border-radius: 18px !important;
  overflow: hidden;
  background: #0c1829 !important;
}

.fh-review-modal__header {
  align-items: flex-start !important;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0.85rem !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.12) !important;
}

.fh-review-modal__eyebrow {
  margin: 0 0 0.2rem;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fh-review-modal__body {
  padding: 1rem 1.25rem 1.1rem !important;
}

.fh-review-stars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 576px) {
  .fh-review-stars {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

.fh-review-stars__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.1rem;
  padding: 0.35rem 0.25rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 10px;
  background: rgba(8, 16, 28, 0.85);
  color: #8fa3be;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}

.fh-review-stars__btn i {
  color: #64748b;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.fh-review-stars__btn.is-active,
.fh-review-stars__btn:hover {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  transform: translateY(-1px);
}

.fh-review-stars__btn.is-active i,
.fh-review-stars__btn:hover i {
  color: #fbbf24;
}

.fh-review-stars__label {
  margin: 0.65rem 0 0;
  color: #fde68a;
  font-size: 0.88rem;
  font-weight: 700;
}

.fh-review-modal__textarea {
  min-height: 120px;
  resize: vertical;
}

.fh-review-modal__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.fh-review-modal__hint {
  margin: 0;
  flex: 1;
  color: #8fa3be;
  font-size: 0.78rem;
  line-height: 1.45;
}

.fh-review-modal__counter {
  flex-shrink: 0;
  color: #6a8299;
  font-size: 0.76rem;
  font-family: ui-monospace, monospace;
}

.fh-review-modal__footer {
  padding: 0.85rem 1.25rem 1.1rem !important;
  border-top: 1px solid rgba(77, 163, 255, 0.1) !important;
}

.fh-form-label__optional {
  color: #6a8299;
  font-weight: 500;
  font-size: 0.82em;
}

@media (max-width: 767px) {
  body.fh-wiki-reviews-page .fh-wiki-reviews-hero--v4 .fh-wiki-reviews-hero__inner {
    padding: 1.15rem 1.1rem;
  }

  body.fh-wiki-reviews-page .fh-wiki-reviews-hero__score {
    position: static;
  }

  body.fh-wiki-reviews-page .fh-wiki-reviews-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 .fh-wiki-review-card {
    min-height: 0;
  }

  body.fh-wiki-reviews-page .fh-wiki-reviews-grid--v4 .fh-wiki-review-card__text p {
    min-height: 0;
    -webkit-line-clamp: 8;
  }

  .fh-review-modal__foot {
    flex-direction: column;
  }
}

/* ============================================================
   Nouvelles cat?gories wiki + modal contribution
   ============================================================ */

/* Scroll horizontal uniquement sur les pages cat?gorie (pas recherche) */
.fh-wiki-category .fh-wiki-cat-tabs:not(.fh-wiki-search-tabs),
.fh-wiki-cat-header + .fh-wiki-cat-tabs:not(.fh-wiki-search-tabs) {
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.fh-wiki-category .fh-wiki-cat-tabs:not(.fh-wiki-search-tabs)::-webkit-scrollbar,
.fh-wiki-cat-header + .fh-wiki-cat-tabs:not(.fh-wiki-search-tabs)::-webkit-scrollbar {
  display: none;
}

.fh-wiki-category .fh-wiki-cat-tabs:not(.fh-wiki-search-tabs) .fh-wiki-cat-tabs__item,
.fh-wiki-cat-header + .fh-wiki-cat-tabs:not(.fh-wiki-search-tabs) .fh-wiki-cat-tabs__item {
  flex-shrink: 0;
}

.fh-wiki-contrib-modal-grid,
.fh-contrib-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.75rem;
  row-gap: 0.4rem;
  max-height: min(52vh, 280px);
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (min-width: 576px) {
  .fh-wiki-contrib-modal-grid,
  .fh-contrib-modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fh-contrib-modal__content {
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 16px;
  overflow: hidden;
}

.fh-contrib-modal__header {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-contrib-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-accent);
}

.fh-contrib-modal__header .modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.fh-contrib-modal__body {
  padding: 1rem 1.25rem 1.15rem;
}

.fh-contrib-modal__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.fh-contrib-modal__lead {
  margin: 0;
  font-size: 0.88rem;
  color: #a8c0e0;
  line-height: 1.45;
}

.fh-contrib-modal__reward {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.fh-contrib-modal__reward i {
  color: #fbbf24;
}

.fh-contrib-modal__hint {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fa3be;
}

.fh-contrib-modal__item,
.fh-wiki-contrib-modal__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 9px;
  background: rgba(8, 16, 28, 0.72);
  color: #dce8f8;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.fh-contrib-modal__item:hover,
.fh-wiki-contrib-modal__item:hover {
  border-color: rgba(59, 158, 255, 0.32);
  background: rgba(59, 158, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.fh-contrib-modal__icon,
.fh-wiki-contrib-modal__item img {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.fh-contrib-modal__icon img,
.fh-wiki-contrib-modal__item img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.fh-contrib-modal__label,
.fh-wiki-contrib-modal__item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* Accents ? onglets cat?gories actifs */
.fh-wiki-cat-tabs__item--redm.is-active { border-color: rgba(220, 38, 38, 0.45); background: rgba(220, 38, 38, 0.12); }
.fh-wiki-cat-tabs__item--minecraft.is-active { border-color: rgba(132, 204, 22, 0.45); background: rgba(132, 204, 22, 0.12); }
.fh-wiki-cat-tabs__item--arma3.is-active { border-color: rgba(120, 113, 108, 0.5); background: rgba(120, 113, 108, 0.14); }
.fh-wiki-cat-tabs__item--ark.is-active { border-color: rgba(20, 184, 166, 0.45); background: rgba(20, 184, 166, 0.12); }
.fh-wiki-cat-tabs__item--csgo.is-active { border-color: rgba(234, 179, 8, 0.45); background: rgba(234, 179, 8, 0.12); }
.fh-wiki-cat-tabs__item--rust.is-active { border-color: rgba(205, 65, 43, 0.45); background: rgba(205, 65, 43, 0.12); }
.fh-wiki-cat-tabs__item--plesk.is-active { border-color: rgba(82, 187, 238, 0.45); background: rgba(82, 187, 238, 0.12); }

/* Hero glow par cat?gorie */
.fh-wiki-category--redm .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(220, 38, 38, 0.2), transparent 60%); }
.fh-wiki-category--minecraft .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(132, 204, 22, 0.18), transparent 60%); }
.fh-wiki-category--arma3 .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(120, 113, 108, 0.22), transparent 60%); }
.fh-wiki-category--ark .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(20, 184, 166, 0.18), transparent 60%); }
.fh-wiki-category--csgo .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(234, 179, 8, 0.18), transparent 60%); }
.fh-wiki-category--rust .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(205, 65, 43, 0.2), transparent 60%); }
.fh-wiki-category--plesk .fh-wiki-cat-hero__glow { background: radial-gradient(ellipse 55% 80% at 0% 0%, rgba(82, 187, 238, 0.18), transparent 60%); }

/* Bordures cartes / listes */
.fh-wiki-article--redm .fh-wiki-doc { border-top: 3px solid #dc2626; }
.fh-wiki-article--minecraft .fh-wiki-doc { border-top: 3px solid #84cc16; }
.fh-wiki-article--arma3 .fh-wiki-doc { border-top: 3px solid #78716c; }
.fh-wiki-article--ark .fh-wiki-doc { border-top: 3px solid #14b8a6; }
.fh-wiki-article--csgo .fh-wiki-doc { border-top: 3px solid #eab308; }
.fh-wiki-article--rust .fh-wiki-doc { border-top: 3px solid #cd412b; }
.fh-wiki-article--plesk .fh-wiki-doc { border-top: 3px solid #52bbee; }

.fh-wiki-list-card--redm,
.fh-wiki-home-card--redm,
.fh-wiki-search-card--redm,
.fh-wiki-search-idle__cat--redm { border-left: 3px solid #dc2626; }

.fh-wiki-list-card--minecraft,
.fh-wiki-home-card--minecraft,
.fh-wiki-search-card--minecraft,
.fh-wiki-search-idle__cat--minecraft { border-left: 3px solid #84cc16; }

.fh-wiki-list-card--arma3,
.fh-wiki-home-card--arma3,
.fh-wiki-search-card--arma3,
.fh-wiki-search-idle__cat--arma3 { border-left: 3px solid #78716c; }

.fh-wiki-list-card--ark,
.fh-wiki-home-card--ark,
.fh-wiki-search-card--ark,
.fh-wiki-search-idle__cat--ark { border-left: 3px solid #14b8a6; }

.fh-wiki-list-card--csgo,
.fh-wiki-home-card--csgo,
.fh-wiki-search-card--csgo,
.fh-wiki-search-idle__cat--csgo { border-left: 3px solid #eab308; }

.fh-wiki-list-card--rust,
.fh-wiki-home-card--rust,
.fh-wiki-search-card--rust,
.fh-wiki-search-idle__cat--rust { border-left: 3px solid #cd412b; }

.fh-wiki-list-card--plesk,
.fh-wiki-home-card--plesk,
.fh-wiki-search-card--plesk,
.fh-wiki-search-idle__cat--plesk { border-left: 3px solid #52bbee; }

.fh-wiki-cat-empty--redm .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(220, 38, 38, 0.2), transparent 55%); }
.fh-wiki-cat-empty--minecraft .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(132, 204, 22, 0.18), transparent 55%); }
.fh-wiki-cat-empty--arma3 .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(120, 113, 108, 0.2), transparent 55%); }
.fh-wiki-cat-empty--ark .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(20, 184, 166, 0.18), transparent 55%); }
.fh-wiki-cat-empty--csgo .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(234, 179, 8, 0.18), transparent 55%); }
.fh-wiki-cat-empty--rust .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(205, 65, 43, 0.2), transparent 55%); }
.fh-wiki-cat-empty--plesk .fh-wiki-cat-empty__glow { background: radial-gradient(circle at 30% 20%, rgba(82, 187, 238, 0.18), transparent 55%); }

.fh-wiki-start-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ?? Nav documentation dropdown (grille 2 col.) ?? */
@media (min-width: 992px) {
  body.fh-body--wiki .fh-nav__item--docs {
    position: relative;
  }

  body.fh-body--wiki .fh-nav__item--docs .fh-dropdown--docs {
    left: 0;
    right: auto;
    transform: none;
    padding: 0;
    min-width: 0;
  }
}

.fh-dropdown--docs .fh-dropdown__panel--docs {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 12px;
  background: rgba(6, 13, 24, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

.fh-dropdown__grid--docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.1rem;
  row-gap: 0.4rem;
  max-height: min(60vh, 320px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.fh-dropdown__doc-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.2rem 0.15rem;
  color: #dce8f8;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.fh-dropdown__doc-item:hover,
.fh-dropdown__doc-item:focus-visible {
  color: #fff;
  background: rgba(59, 158, 255, 0.08);
  text-decoration: none;
}

.fh-dropdown__doc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.fh-dropdown__doc-icon img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.fh-dropdown__doc-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

@media (min-width: 992px) {
  body.fh-body--wiki .fh-dropdown--docs .fh-dropdown__panel--docs {
    min-width: 300px;
    max-width: min(340px, calc(100vw - 2rem));
  }
}

@media (max-width: 991.98px) {
  .fh-nav__item--docs .fh-dropdown--docs {
    padding: 0.35rem 0 0.5rem 0;
  }

  .fh-dropdown--docs .fh-dropdown__panel--docs {
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
  }

  .fh-dropdown__grid--docs {
    column-gap: 0.85rem;
    row-gap: 0.35rem;
    max-height: none;
    overflow: visible;
  }

  .fh-dropdown__doc-item {
    font-size: 0.85rem;
  }
}

.fh-wiki-admin__stats--compact {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.fh-wiki-admin-reviews {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fh-wiki-admin-review {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 14px;
  background: rgba(12, 24, 41, 0.88);
}

.fh-wiki-admin-review__main {
  flex: 1;
  min-width: 0;
}

.fh-wiki-admin-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.fh-wiki-admin-review__user {
  color: #fff;
  font-size: 0.92rem;
}

.fh-wiki-admin-review__note {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
}

.fh-wiki-admin-review__head time {
  font-size: 0.78rem;
  color: #7a94b0;
}

.fh-wiki-admin-review__text {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: #c5d8ef;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.fh-wiki-admin-review__text.is-empty {
  color: #6b829c;
  font-style: italic;
}

.fh-wiki-admin-review__id {
  font-size: 0.72rem;
  color: #6a8299;
  font-family: ui-monospace, monospace;
}

.fh-wiki-admin-review__actions {
  flex-shrink: 0;
}

.fh-wiki-admin-review__actions .fh-btn.is-danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

@media (max-width: 767px) {
  .fh-wiki-admin-review {
    flex-direction: column;
  }

  .fh-wiki-admin-review__actions {
    width: 100%;
  }

  .fh-wiki-admin-review__actions .fh-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ?? Recherche : panneau filtres ?? */
@media (max-width: 575px) {
  .fh-wiki-search-tabs.fh-wiki-cat-tabs {
    gap: 0.35rem;
  }

  .fh-wiki-search-tabs .fh-wiki-cat-tabs__item {
    padding: 0.38rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* ?? Admin avis ?? */
.fh-wiki-admin-avis-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(251, 191, 36, 0.08), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(59, 158, 255, 0.1), transparent 50%),
    rgba(10, 18, 32, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

@media (min-width: 900px) {
  .fh-wiki-admin-avis-hero {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
    align-items: stretch;
  }
}

.fh-wiki-admin-avis-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.4rem;
  color: #fbbf24;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fh-wiki-admin-avis-hero__title {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.fh-wiki-admin-avis-hero__lead {
  margin: 0 0 1.1rem;
  color: #a8c0e0;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 52ch;
}

.fh-wiki-admin-avis-hero__bars {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 380px;
}

.fh-wiki-admin-avis-hero__bars .fh-wiki-reviews-bar {
  grid-template-columns: 1.5rem minmax(0, 1fr) 2rem;
  gap: 0.55rem;
  font-size: 0.8rem;
}

.fh-wiki-admin-avis-hero__bars .fh-wiki-reviews-bar__label {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fh-wiki-admin-avis-hero__bars .fh-wiki-reviews-bar__count {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #8fa3be;
  font-weight: 600;
}

.fh-wiki-admin-avis-hero__bars .fh-wiki-reviews-bar__track {
  height: 7px;
}

.fh-wiki-admin-avis-hero__score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.15rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.1), transparent 60%),
    rgba(6, 12, 22, 0.82);
  text-align: center;
}

.fh-wiki-admin-avis-hero__score .fh-wiki-reviews-score__value {
  color: #fbbf24;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.fh-wiki-admin-avis-hero__score .fh-wiki-reviews-score__max {
  color: #8fa3be;
  font-size: 0.95rem;
  font-weight: 600;
}

.fh-wiki-admin-avis-hero__score .fh-wiki-reviews-score__label {
  display: block;
  margin-top: 0.35rem;
  color: #c8daf0;
  font-size: 0.82rem;
  font-weight: 600;
}

.fh-wiki-admin-avis-hero__score .fh-wiki-reviews-score__count {
  display: block;
  margin-top: 0.15rem;
  color: #7a94b0;
  font-size: 0.78rem;
}

.fh-wiki-admin-avis-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 16, 28, 0.55);
}

.fh-wiki-admin-avis-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fh-wiki-admin-avis-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.8);
  color: #a8c0e0;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fh-wiki-admin-avis-filter:hover {
  color: #fff;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  text-decoration: none;
}

.fh-wiki-admin-avis-filter.is-active {
  color: #fff;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.14);
}

.fh-wiki-admin-avis-toolbar__hint {
  color: #8fa3be;
  font-size: 0.8rem;
}

.fh-wiki-admin-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .fh-wiki-admin-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .fh-wiki-admin-reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fh-wiki-admin-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 28, 48, 0.96), rgba(10, 18, 32, 0.94));
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fh-wiki-admin-review-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(59, 158, 255, 0.45);
}

.fh-wiki-admin-review-card--high::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.fh-wiki-admin-review-card--good::before {
  background: linear-gradient(90deg, #3b9eff, #60a5fa);
}

.fh-wiki-admin-review-card--low::before {
  background: linear-gradient(90deg, #fb923c, #fdba74);
}

.fh-wiki-admin-review-card:hover {
  border-color: rgba(59, 158, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.fh-wiki-admin-review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.fh-wiki-admin-review-card__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.fh-wiki-admin-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(77, 163, 255, 0.18);
}

.fh-wiki-admin-review-card__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 158, 255, 0.15);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.fh-wiki-admin-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.fh-wiki-admin-review-card__meta strong {
  color: #fff;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-wiki-admin-review-card__meta time {
  color: #7a94b0;
  font-size: 0.76rem;
}

.fh-wiki-admin-review-card__score {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.08);
}

.fh-wiki-admin-review-card__score-value {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.fh-wiki-admin-review-card__score-max {
  color: #8fa3be;
  font-size: 0.75rem;
  font-weight: 600;
}

.fh-wiki-admin-review-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  text-align: left;
}

.fh-wiki-admin-review-card__stars {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  color: #fbbf24;
  font-size: 0.82rem;
  line-height: 1;
  text-align: left;
}

.fh-wiki-admin-review-card__text {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #c5d8ef;
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: left !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fh-wiki-admin-review-card__text.is-empty {
  color: #6b829c;
  font-style: italic;
  text-align: left !important;
}

.fh-wiki-admin-review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-admin-review-card__id {
  color: #6a8299;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.fh-wiki-admin-review-card__actions {
  margin: 0;
}

.fh-wiki-admin-review-card__actions .fh-btn.is-danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.fh-wiki-admin-review-card__actions .fh-btn.is-danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

/* ?? Wait / contributions ?? */
.fh-wiki-wait-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 16, 28, 0.72);
}

.fh-wiki-wait-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  color: #a8c0e0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.fh-wiki-wait-tab:hover {
  color: #fff;
  background: rgba(59, 158, 255, 0.08);
  text-decoration: none;
}

.fh-wiki-wait-tab.is-active {
  color: #fff;
  background: rgba(59, 158, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(59, 158, 255, 0.28);
}

.fh-wiki-wait-tab__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
}

.fh-wiki-wait-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59, 158, 255, 0.1), transparent 55%),
    rgba(10, 18, 32, 0.92);
}

@media (min-width: 768px) {
  .fh-wiki-wait-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.fh-wiki-wait-hero--mod {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(251, 191, 36, 0.08), transparent 55%),
    rgba(10, 18, 32, 0.92);
}

.fh-wiki-wait-hero__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--fh-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fh-wiki-wait-hero__title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-wait-hero__lead {
  margin: 0;
  color: #a8c0e0;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 48ch;
}

.fh-wiki-wait-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .fh-wiki-wait-hero__stats {
    grid-template-columns: repeat(4, minmax(72px, 1fr));
  }

  .fh-wiki-wait-hero--mod .fh-wiki-wait-hero__stats {
    grid-template-columns: repeat(2, minmax(88px, 1fr));
  }
}

.fh-wiki-wait-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.75rem 0.55rem;
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 12px;
  background: rgba(6, 12, 22, 0.75);
  text-align: center;
}

.fh-wiki-wait-stat--alert {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.06);
}

.fh-wiki-wait-stat__value {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.fh-wiki-wait-stat__label {
  color: #8fa3be;
  font-size: 0.72rem;
  font-weight: 600;
}

.fh-wiki-mod-panel {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.72);
}

.fh-wiki-mod-panel--pending {
  border-color: rgba(251, 191, 36, 0.18);
}

.fh-wiki-mod-panel--rejected {
  border-color: rgba(248, 113, 113, 0.16);
}

.fh-wiki-mod-panel__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(12, 24, 41, 0.45);
  border-radius: 18px 18px 0 0;
}

.fh-wiki-mod-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(12, 24, 41, 0.55);
  border-radius: 18px 18px 0 0;
}

.fh-wiki-mod-panel__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.fh-wiki-mod-panel__title i {
  color: var(--fh-accent);
  font-size: 0.9rem;
}

.fh-wiki-mod-panel--pending .fh-wiki-mod-panel__title i {
  color: #fbbf24;
}

.fh-wiki-mod-panel--rejected .fh-wiki-mod-panel__title i {
  color: #f87171;
}

.fh-wiki-mod-panel__desc {
  margin: 0;
  color: #8fa3be;
  font-size: 0.84rem;
  line-height: 1.45;
}

.fh-wiki-mod-panel__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border-radius: 10px;
  background: rgba(59, 158, 255, 0.12);
  border: 1px solid rgba(59, 158, 255, 0.22);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.fh-wiki-mod-panel__count.is-alert {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.fh-wiki-mod-panel__body {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 0 0 18px 18px;
}

.fh-wiki-mod-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.fh-wiki-mod-empty--inline {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  padding: 1.25rem 1rem;
  border: 1px dashed rgba(77, 163, 255, 0.16);
  border-radius: 14px;
  background: rgba(6, 12, 22, 0.45);
}

.fh-wiki-mod-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--fh-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fh-wiki-mod-empty__title {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.fh-wiki-mod-empty__text {
  margin: 0;
  color: #8fa3be;
  font-size: 0.84rem;
  line-height: 1.45;
}

.fh-wiki-contrib-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .fh-wiki-contrib-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .fh-wiki-contrib-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fh-wiki-contrib-grid__cell {
  display: flex;
  min-width: 0;
  min-height: 100%;
}

.fh-wiki-wait-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fh-wiki-wait-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fh-wiki-wait-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.72);
  color: #a8c0e0;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fh-wiki-wait-filter:hover {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.35);
  text-decoration: none;
}

.fh-wiki-wait-filter.is-active {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.45);
  background: rgba(59, 158, 255, 0.12);
}

.fh-wiki-contrib-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 220px;
  padding: 1rem 1.05rem 0.95rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(12, 24, 41, 0.92);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.fh-wiki-contrib-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0;
  background: rgba(59, 158, 255, 0.35);
  pointer-events: none;
}

.fh-wiki-contrib-card--fivem::before { background: #f97316; }
.fh-wiki-contrib-card--gmod::before { background: #38bdf8; }
.fh-wiki-contrib-card--vps::before { background: #a78bfa; }
.fh-wiki-contrib-card--nodejs::before { background: #4ade80; }
.fh-wiki-contrib-card--redm::before { background: #dc2626; }
.fh-wiki-contrib-card--minecraft::before { background: #84cc16; }
.fh-wiki-contrib-card--arma3::before { background: #78716c; }
.fh-wiki-contrib-card--ark::before { background: #14b8a6; }
.fh-wiki-contrib-card--csgo::before { background: #eab308; }
.fh-wiki-contrib-card--rust::before { background: #cd412b; }
.fh-wiki-contrib-card--plesk::before { background: #52bbee; }

.fh-wiki-contrib-card--status-0 {
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.08);
}

.fh-wiki-contrib-card--status-5 {
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.08);
}

.fh-wiki-contrib-card:hover {
  border-color: rgba(59, 158, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.fh-wiki-contrib-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.15rem;
  margin-bottom: 0.75rem;
}

.fh-wiki-contrib-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: #dce8f8;
  font-size: 0.82rem;
  font-weight: 600;
}

.fh-wiki-contrib-card__cat img {
  border-radius: 6px;
  flex-shrink: 0;
}

.fh-wiki-contrib-card__cat span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-wiki-contrib-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.fh-wiki-contrib-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.fh-wiki-contrib-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  color: #8fa3be;
  font-size: 0.78rem;
}

.fh-wiki-contrib-card__meta .fh-wiki-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.fh-wiki-contrib-card__author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-wiki-contrib-card__meta time {
  flex-shrink: 0;
  color: #6a8299;
}

.fh-wiki-contrib-card__foot {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-contrib-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

body.fh-wiki-wait-page .fh-wiki-admin__head {
  margin-bottom: 1rem;
}

body.fh-wiki-wait-page .fh-wiki-admin__title {
  font-size: 1.35rem;
}

.fh-wiki-empty--compact {
  padding: 2rem 1.25rem;
}

/* ?? Admin tableau de bord ?? */
body.fh-wiki-admin-dashboard .fh-wiki-admin__head {
  margin-bottom: 1rem;
}

body.fh-wiki-admin-dashboard .fh-wiki-admin__title {
  font-size: 1.35rem;
}

.fh-wiki-dash-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(59, 158, 255, 0.12), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(34, 197, 94, 0.06), transparent 45%),
    rgba(10, 18, 32, 0.92);
}

@media (min-width: 992px) {
  .fh-wiki-dash-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
  }
}

.fh-wiki-dash-hero__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--fh-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fh-wiki-dash-hero__title {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.fh-wiki-dash-hero__lead {
  margin: 0 0 0.85rem;
  color: #a8c0e0;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 52ch;
}

.fh-wiki-dash-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fh-wiki-dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 12, 22, 0.65);
  color: #8fa3be;
  font-size: 0.78rem;
  font-weight: 600;
}

.fh-wiki-dash-chip i {
  color: var(--fh-accent);
  font-size: 0.72rem;
}

.fh-wiki-dash-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.fh-wiki-dash-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 76px;
  padding: 0.75rem 0.55rem;
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 14px;
  background: rgba(6, 12, 22, 0.75);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.fh-wiki-dash-kpi:hover {
  border-color: rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.fh-wiki-dash-kpi--alert {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.06);
}

.fh-wiki-dash-kpi--success {
  border-color: rgba(34, 197, 94, 0.22);
}

.fh-wiki-dash-kpi--wallet .fh-wiki-dash-kpi__value {
  font-size: 1.05rem;
}

.fh-wiki-dash-kpi__value {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.fh-wiki-dash-kpi__label {
  color: #8fa3be;
  font-size: 0.72rem;
  font-weight: 600;
}

.fh-wiki-dash-alert {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.08);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.fh-wiki-dash-alert:hover {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.12);
  color: inherit;
}

.fh-wiki-dash-alert__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  flex-shrink: 0;
}

.fh-wiki-dash-alert__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.fh-wiki-dash-alert__body strong {
  color: #fff;
  font-size: 0.92rem;
}

.fh-wiki-dash-alert__body span {
  color: #a8c0e0;
  font-size: 0.82rem;
}

.fh-wiki-dash-alert__cta {
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.fh-wiki-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .fh-wiki-dash-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

.fh-wiki-dash-panel {
  border: 1px solid rgba(77, 163, 255, 0.14);
  border-radius: 16px;
  background: rgba(10, 18, 32, 0.88);
  overflow: hidden;
}

.fh-wiki-dash-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0;
}

.fh-wiki-dash-panel + .fh-wiki-dash-panel,
.fh-wiki-dash-stack > .fh-wiki-dash-panel + .fh-wiki-dash-panel {
  margin-top: 0;
}

body.fh-wiki-admin-dashboard .fh-wiki-dash-stack {
  margin-bottom: 0.5rem;
}

.fh-wiki-dash-panel--staff {
  border-color: rgba(251, 191, 36, 0.18);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(251, 191, 36, 0.06), transparent 50%),
    rgba(10, 18, 32, 0.88);
}

.fh-wiki-dash-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

.fh-wiki-dash-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.fh-wiki-dash-panel__hint {
  margin: 0.2rem 0 0;
  color: #8fa3be;
  font-size: 0.8rem;
}

.fh-wiki-dash-panel__link {
  color: var(--fh-accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.fh-wiki-dash-panel__link:hover {
  color: #fff;
}

.fh-wiki-dash-panel__body {
  padding: 0.85rem 1.15rem 1.15rem;
}

.fh-wiki-dash-activity {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fh-wiki-dash-activity__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(77, 163, 255, 0.1);
  border-radius: 12px;
  background: rgba(6, 12, 22, 0.55);
  transition: border-color 0.2s, background 0.2s;
}

.fh-wiki-dash-activity__item:hover {
  border-color: rgba(59, 158, 255, 0.28);
  background: rgba(59, 158, 255, 0.06);
}

.fh-wiki-dash-activity__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(59, 158, 255, 0.08);
  flex-shrink: 0;
}

.fh-wiki-dash-activity__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.fh-wiki-dash-activity__main {
  min-width: 0;
}

.fh-wiki-dash-activity__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.fh-wiki-dash-activity__cat {
  color: #8fa3be;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fh-wiki-dash-activity__title {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.fh-wiki-dash-activity__title a {
  color: #fff;
  text-decoration: none;
}

.fh-wiki-dash-activity__title a:hover {
  color: var(--fh-accent);
}

.fh-wiki-dash-activity__main time {
  color: #6b829e;
  font-size: 0.75rem;
}

.fh-wiki-dash-activity__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--fh-accent);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.fh-wiki-dash-activity__link:hover {
  background: rgba(59, 158, 255, 0.12);
  color: #fff;
}

.fh-wiki-dash-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fh-wiki-dash-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 12px;
  background: rgba(6, 12, 22, 0.55);
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  font: inherit;
}

.fh-wiki-dash-action:hover {
  border-color: rgba(59, 158, 255, 0.3);
  background: rgba(59, 158, 255, 0.08);
  color: inherit;
}

.fh-wiki-dash-action--primary {
  border-color: rgba(59, 158, 255, 0.35);
  background: rgba(59, 158, 255, 0.1);
}

.fh-wiki-dash-action--alert {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.06);
}

.fh-wiki-dash-action__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: rgba(59, 158, 255, 0.1);
  color: var(--fh-accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.fh-wiki-dash-action--alert .fh-wiki-dash-action__icon {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.fh-wiki-dash-action__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.fh-wiki-dash-action__text strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.fh-wiki-dash-action__text span {
  color: #8fa3be;
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 575px) {
  .fh-wiki-dash-alert {
    flex-wrap: wrap;
  }

  .fh-wiki-dash-alert__cta {
    width: 100%;
    padding-left: 3.1rem;
  }

  .fh-wiki-dash-kpi--wallet .fh-wiki-dash-kpi__value {
    font-size: 0.95rem;
  }
}

/* ?? Article UX : progression, lecture, lightbox, back-top ?? */
.fh-wiki-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(59, 158, 255, 0.12);
}
.fh-wiki-read-progress.is-visible { opacity: 1; }
.fh-wiki-read-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3b9eff, #60a5fa);
}

.fh-wiki-back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(77, 163, 255, 0.28);
  border-radius: 999px;
  background: rgba(12, 24, 41, 0.92);
  color: #dbeafe;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.fh-wiki-back-top:hover {
  color: #fff;
  border-color: rgba(59, 158, 255, 0.5);
  background: rgba(59, 158, 255, 0.18);
}

body.fh-wiki-read-mode .fh-wiki-doc-sidebar,
body.fh-wiki-read-mode .fh-wiki-related,
body.fh-wiki-read-mode .fh-wiki-toc-mobile {
  display: none !important;
}
body.fh-wiki-read-mode .fh-wiki-article__layout {
  grid-template-columns: 1fr !important;
}
body.fh-wiki-read-mode .fh-wiki-doc {
  max-width: 820px;
  margin-inline: auto;
}
body.fh-wiki-read-mode .fh-wiki-doc__tool[data-fh-wiki-read-mode],
.fh-wiki-doc__tool.is-active {
  border-color: rgba(59, 158, 255, 0.45);
  background: rgba(59, 158, 255, 0.14);
  color: #fff;
}

a.fh-wiki-doc__tool {
  text-decoration: none;
}

.fh-wiki-prose__zoomable {
  cursor: zoom-in;
}
.fh-wiki-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 8, 18, 0.88);
  backdrop-filter: blur(6px);
}
.fh-wiki-lightbox[hidden] { display: none !important; }
.fh-wiki-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.fh-wiki-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
body.fh-wiki-lightbox-open { overflow: hidden; }

@media (max-width: 991px) {
  .fh-wiki-toc-mobile {
    position: sticky;
    top: 72px;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

.fh-wiki-admin-avis-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 220px;
}
.fh-wiki-admin-avis-search__field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 180px;
  min-width: 0;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.75);
}
.fh-wiki-admin-avis-search__field i { color: var(--fh-accent); opacity: 0.8; }
.fh-wiki-admin-avis-search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  outline: none;
  font: inherit;
  font-size: 0.86rem;
}

.fh-wiki-contrib-card__views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #8fa3be;
  font-size: 0.78rem;
}

/* ?? D?couvrir : tendances / auteurs ?? */
.fh-wiki-card-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}
.fh-wiki-card-badge--new {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.28);
}
.fh-wiki-card-badge--updated {
  background: rgba(77, 163, 255, 0.14);
  color: #7eb8ff;
  border: 1px solid rgba(77, 163, 255, 0.28);
}

.fh-wiki-discover-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fh-wiki-discover-nav__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(77, 163, 255, 0.12);
  background: rgba(8, 16, 28, 0.55);
  color: #d7e6f8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.fh-wiki-discover-nav__item i {
  width: 1.1rem;
  text-align: center;
  color: var(--fh-accent);
  opacity: 0.9;
}
.fh-wiki-discover-nav__item:hover {
  border-color: rgba(77, 163, 255, 0.35);
  background: rgba(77, 163, 255, 0.08);
  color: #fff;
}

.fh-wiki-home-trend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fh-wiki-home-trend__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.12);
  background: rgba(8, 16, 28, 0.45);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.fh-wiki-home-trend__item:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.06);
  transform: translateX(2px);
  color: inherit;
}
.fh-wiki-home-trend__rank {
  flex: 0 0 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  font-size: 0.8rem;
  font-weight: 800;
}
.fh-wiki-home-trend__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.fh-wiki-home-trend__body strong {
  font-size: 0.92rem;
  color: #eef5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fh-wiki-home-trend__body small {
  color: #8fa3be;
  font-size: 0.78rem;
}

.fh-wiki-discover {
  padding-bottom: 3rem;
}
.fh-wiki-discover-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(77, 163, 255, 0.14);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(249, 115, 22, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(77, 163, 255, 0.1), transparent 50%),
    rgba(8, 16, 28, 0.65);
}
.fh-wiki-discover-hero__eyebrow {
  margin: 0 0 0.35rem;
  color: #fb923c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fh-wiki-discover-hero__eyebrow i { margin-right: 0.25rem; }
.fh-wiki-discover-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #f2f7ff;
  letter-spacing: -0.02em;
}
.fh-wiki-discover-hero__lead {
  margin: 0;
  max-width: 36rem;
  color: #9eb2c9;
  font-size: 0.95rem;
  line-height: 1.45;
}
.fh-wiki-discover-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fh-wiki-trend-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fh-wiki-trend-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.12);
  background: rgba(8, 16, 28, 0.5);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.fh-wiki-trend-card:hover {
  border-color: rgba(77, 163, 255, 0.32);
  background: rgba(12, 24, 42, 0.85);
  transform: translateY(-1px);
  color: inherit;
}
.fh-wiki-trend-card__rank {
  flex: 0 0 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.14);
  color: #fb923c;
  font-weight: 800;
  font-size: 0.95rem;
}
.fh-wiki-trend-card:nth-child(1) .fh-wiki-trend-card__rank {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(249, 115, 22, 0.2));
  color: #fbbf24;
}
.fh-wiki-trend-card:nth-child(2) .fh-wiki-trend-card__rank {
  background: rgba(203, 213, 225, 0.12);
  color: #cbd5e1;
}
.fh-wiki-trend-card:nth-child(3) .fh-wiki-trend-card__rank {
  background: rgba(180, 120, 70, 0.18);
  color: #d4a574;
}
.fh-wiki-trend-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.fh-wiki-trend-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8fa3be;
}
.fh-wiki-trend-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #eef5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fh-wiki-trend-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  color: #8fa3be;
  font-size: 0.78rem;
}
.fh-wiki-trend-card__meta i { opacity: 0.75; margin-right: 0.2rem; }
.fh-wiki-trend-card__arrow {
  color: #5b7390;
  transition: color 0.15s ease, transform 0.15s ease;
}
.fh-wiki-trend-card:hover .fh-wiki-trend-card__arrow {
  color: var(--fh-accent);
  transform: translateX(3px);
}

.fh-wiki-discover-aside {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}
.fh-wiki-author-mini {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.55rem;
}
.fh-wiki-author-mini__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(8, 16, 28, 0.45);
}
.fh-wiki-author-mini__rank {
  flex: 0 0 1.5rem;
  font-weight: 800;
  color: #fb923c;
  font-size: 0.85rem;
}
.fh-wiki-author-mini__avatar {
  border-radius: 999px;
  object-fit: cover;
}
.fh-wiki-author-mini__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.fh-wiki-author-mini__body strong {
  font-size: 0.88rem;
  color: #eef5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fh-wiki-author-mini__body small {
  color: #8fa3be;
  font-size: 0.74rem;
}

.fh-wiki-author-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.65rem;
}
.fh-wiki-author-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.12);
  background: rgba(8, 16, 28, 0.5);
}
.fh-wiki-author-card--gold {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(8, 16, 28, 0.55));
}
.fh-wiki-author-card--silver {
  border-color: rgba(203, 213, 225, 0.28);
  background: linear-gradient(135deg, rgba(203, 213, 225,.06), rgba(8, 16, 28, 0.55));
}
.fh-wiki-author-card--bronze {
  border-color: rgba(180, 120, 70, 0.35);
  background: linear-gradient(135deg, rgba(180, 120, 70, 0.08), rgba(8, 16, 28, 0.55));
}
.fh-wiki-author-card__rank {
  flex: 0 0 2rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #8fa3be;
  text-align: center;
}
.fh-wiki-author-card--gold .fh-wiki-author-card__rank { color: #fbbf24; }
.fh-wiki-author-card--silver .fh-wiki-author-card__rank { color: #cbd5e1; }
.fh-wiki-author-card--bronze .fh-wiki-author-card__rank { color: #d4a574; }
.fh-wiki-author-card__avatar {
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(77, 163, 255, 0.2);
}
.fh-wiki-author-card__body { min-width: 0; }
.fh-wiki-author-card__name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #eef5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fh-wiki-author-card__stats {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  color: #8fa3be;
  font-size: 0.8rem;
}
.fh-wiki-author-card__stats i { margin-right: 0.25rem; opacity: 0.8; }

@media (max-width: 575px) {
  .fh-wiki-discover-hero { padding: 1.1rem 1rem; }
  .fh-wiki-trend-card__title { white-space: normal; }
  .fh-wiki-trend-card__meta { gap: 0.25rem 0.55rem; }
}

.fh-wiki-doc__tool.is-active {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
}
.fh-wiki-doc-author__name a {
  color: inherit;
  text-decoration: none;
}
.fh-wiki-doc-author__name a:hover { color: var(--fh-accent); }
a.fh-wiki-doc-author .fh-wiki-doc-author__name { color: #fff; }
.fh-wiki-doc__chip[href] {
  text-decoration: none;
  color: inherit;
}
.fh-wiki-doc__chip[href]:hover { color: var(--fh-accent); }

.fh-wiki-author-card__name a {
  color: inherit;
  text-decoration: none;
}
.fh-wiki-author-card__name a:hover { color: var(--fh-accent); }
.fh-wiki-author-mini__body a {
  color: inherit;
  text-decoration: none;
}
.fh-wiki-author-mini__body a:hover { color: var(--fh-accent); }

.fh-wiki-author-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(77, 163, 255, 0.14);
  background:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(77, 163, 255, 0.12), transparent 55%),
    rgba(8, 16, 28, 0.65);
}
.fh-wiki-author-hero__avatar {
  border-radius: 999px;
  border: 2px solid rgba(77, 163, 255, 0.28);
  object-fit: cover;
}
.fh-wiki-author-hero__copy { flex: 1 1 220px; min-width: 0; }
.fh-wiki-author-hero__stats {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: #9eb2c9;
  font-size: 0.88rem;
}
.fh-wiki-author-hero__stats i { margin-right: 0.25rem; opacity: 0.8; }

.fh-wiki-author-articles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fh-wiki-author-article {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.12);
  background: rgba(8, 16, 28, 0.5);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fh-wiki-author-article:hover {
  border-color: rgba(77, 163, 255, 0.32);
  background: rgba(12, 24, 42, 0.85);
  color: inherit;
}
.fh-wiki-author-article__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8fa3be;
}
.fh-wiki-author-article__title {
  font-size: 1rem;
  color: #eef5ff;
}
.fh-wiki-author-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  color: #8fa3be;
  font-size: 0.78rem;
}

.fh-wiki-search-refine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}
.fh-wiki-search-refine__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.fh-wiki-search-refine__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8fa3be;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fh-wiki-search-refine__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.fh-wiki-search-refine__chip {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.16);
  background: rgba(8, 16, 28, 0.55);
  color: #c5d6ea;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.fh-wiki-search-refine__chip:hover {
  border-color: rgba(77, 163, 255, 0.35);
  color: #fff;
}
.fh-wiki-search-refine__chip.is-active {
  border-color: rgba(77, 163, 255, 0.45);
  background: rgba(77, 163, 255, 0.16);
  color: #fff;
}

.fh-wiki-dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  min-height: 140px;
  margin-bottom: 1.25rem;
  padding: 0.85rem 0.75rem 0.5rem;
  border-radius: 12px;
  background: rgba(4, 10, 20, 0.35);
}
.fh-wiki-dash-bars__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  min-height: 120px;
}
.fh-wiki-dash-bars__value {
  font-size: 0.68rem;
  color: #9eb2c9;
  line-height: 1;
  min-height: 0.85rem;
}
.fh-wiki-dash-bars__track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 88px;
}
.fh-wiki-dash-bars__col {
  display: block;
  width: 100%;
  max-width: 26px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.95), rgba(77, 163, 255, 0.28));
}
.fh-wiki-dash-bars__col--empty {
  height: 2px;
  max-width: 20px;
  border-radius: 2px;
  background: rgba(77, 163, 255, 0.12);
}
.fh-wiki-dash-bars__day {
  font-size: 0.7rem;
  color: #8fa3be;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

a.fh-wiki-author-mini__item {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.fh-wiki-author-mini__item:hover {
  border-color: rgba(77, 163, 255, 0.35);
  background: rgba(77, 163, 255, 0.08);
  color: inherit;
}
a.fh-wiki-author-card {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.fh-wiki-author-card:hover {
  border-color: rgba(77, 163, 255, 0.4);
  transform: translateY(-1px);
  color: inherit;
}
.fh-wiki-dash-trend {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fh-wiki-dash-trend li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(8, 16, 28, 0.4);
}
.fh-wiki-dash-trend__rank {
  flex: 0 0 1.4rem;
  font-weight: 800;
  color: #fb923c;
  font-size: 0.85rem;
}
.fh-wiki-dash-trend a {
  flex: 1;
  min-width: 0;
  color: #e8f0fc;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.88rem;
  font-weight: 600;
}
.fh-wiki-dash-trend a:hover { color: var(--fh-accent); }
.fh-wiki-dash-trend__meta {
  color: #8fa3be;
  font-size: 0.75rem;
  white-space: nowrap;
}
.fh-wiki-dash-panel__empty {
  margin: 0;
  color: #8fa3be;
  font-size: 0.9rem;
}

.fh-wiki-fav-card {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(77, 163, 255, 0.14);
  background: rgba(8, 16, 28, 0.55);
}
.fh-wiki-fav-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.fh-wiki-fav-card__title {
  margin: 0;
  font-size: 1.05rem;
  color: #eef5ff;
}
.fh-wiki-fav-card__title i { color: #fbbf24; margin-right: 0.35rem; }
.fh-wiki-fav-card__link {
  font-size: 0.82rem;
  color: var(--fh-accent);
  text-decoration: none;
  font-weight: 600;
}
.fh-wiki-fav-card__empty {
  margin: 0;
  color: #9eb2c9;
  font-size: 0.9rem;
}
.fh-wiki-fav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fh-wiki-fav-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(4, 10, 20, 0.45);
  text-decoration: none;
  color: inherit;
}
.fh-wiki-fav-list a:hover {
  border-color: rgba(77, 163, 255, 0.3);
  color: inherit;
}
.fh-wiki-fav-list__cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8fa3be;
}
.fh-wiki-fav-list strong {
  flex: 1 1 140px;
  color: #eef5ff;
  font-size: 0.92rem;
}
.fh-wiki-fav-list__meta {
  color: #8fa3be;
  font-size: 0.78rem;
}

/* ?? Signalements ?? */
.fh-wiki-reports-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}
.fh-wiki-reports-head__title {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  color: #eef5ff;
}
.fh-wiki-reports-head__hint {
  margin: 0;
  color: #8fa3be;
  font-size: 0.84rem;
}
.fh-wiki-reports-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.fh-wiki-reports-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.16);
  background: rgba(8, 16, 28, 0.55);
  color: #c5d6ea;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.fh-wiki-reports-tabs__item:hover,
.fh-wiki-reports-tabs__item.is-active {
  border-color: rgba(77, 163, 255, 0.4);
  background: rgba(77, 163, 255, 0.14);
  color: #fff;
}
.fh-wiki-reports-tabs__badge {
  min-width: 1.2rem;
  padding: 0.05rem 0.3rem;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
  font-size: 0.7rem;
  text-align: center;
}
.fh-wiki-reports-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.1);
  background: rgba(8, 16, 28, 0.35);
}
.fh-wiki-reports-filters__search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.16);
  background: rgba(4, 10, 20, 0.55);
}
.fh-wiki-reports-filters__search i { color: var(--fh-accent); opacity: 0.8; font-size: 0.8rem; }
.fh-wiki-reports-filters__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #e8f0fc;
  outline: none;
  font: inherit;
  font-size: 0.84rem;
}
.fh-wiki-reports-filters .form-select {
  width: auto;
  min-width: 120px;
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  font-size: 0.82rem;
  background: rgba(4, 10, 20, 0.65);
  border-color: rgba(77, 163, 255, 0.16);
  color: #dbeafe;
}
.fh-wiki-reports-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fh-wiki-empty--reports {
  padding: 2.5rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(77, 163, 255, 0.2);
  background: rgba(8, 16, 28, 0.4);
}
.fh-wiki-empty--reports .fh-wiki-empty__title {
  margin: 0 0 0.35rem;
  color: #eef5ff;
  font-size: 1rem;
  font-weight: 600;
}
.fh-wiki-empty--reports .fh-wiki-empty__hint {
  margin: 0;
  color: #8fa3be;
  font-size: 0.86rem;
}
.fh-wiki-empty--reports i {
  margin-bottom: 0.75rem;
  opacity: 0.85;
}
.fh-wiki-report-card {
  padding: 0.95rem 1.05rem 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-left-width: 3px;
  border-left-color: rgba(77, 163, 255, 0.22);
  background: rgba(8, 16, 28, 0.55);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fh-wiki-report-card:hover {
  border-color: rgba(77, 163, 255, 0.22);
  background: rgba(10, 20, 34, 0.72);
}
.fh-wiki-report-card--open {
  border-left-color: #fb923c;
}
.fh-wiki-report-card--progress {
  border-left-color: #4da3ff;
}
.fh-wiki-report-card--done {
  border-left-color: rgba(74, 222, 128, 0.55);
}
.fh-wiki-report-card--dismissed {
  border-left-color: rgba(148, 163, 184, 0.45);
  opacity: 0.92;
}
.fh-wiki-report-card--prio-high {
  border-left-color: #f87171;
}
.fh-wiki-report-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.4rem;
}
.fh-wiki-report-card__head time {
  color: #8fa3be;
  font-size: 0.76rem;
}
.fh-wiki-report-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.fh-wiki-report-card__id {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fa3be;
}
.fh-wiki-report-card__reason {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fb923c;
}
.fh-wiki-report-card__prio {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.2);
  color: #9eb2c9;
}
.fh-wiki-report-card__prio--high {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.1);
}
.fh-wiki-report-card__prio--low {
  border-color: rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.fh-wiki-report-card__status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.08);
}
.fh-wiki-report-card__status--open {
  border-color: rgba(251, 146, 60, 0.4);
  color: #fdba74;
  background: rgba(251, 146, 60, 0.12);
}
.fh-wiki-report-card__status--progress {
  border-color: rgba(77, 163, 255, 0.4);
  color: #7eb8ff;
  background: rgba(77, 163, 255, 0.12);
}
.fh-wiki-report-card__status--done {
  border-color: rgba(74, 222, 128, 0.35);
  color: #86efac;
  background: rgba(74, 222, 128, 0.1);
}
.fh-wiki-report-card__status--dismissed {
  border-color: rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.fh-wiki-report-card__cat {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #7eb8ff;
}
.fh-wiki-report-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.35;
}
.fh-wiki-report-card__title a {
  color: #eef5ff;
  text-decoration: none;
  transition: color 0.15s ease;
}
.fh-wiki-report-card__title a:hover { color: var(--fh-accent); }
.fh-wiki-report-card__msg {
  margin: 0 0 0.45rem;
  color: #c5d6ea;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.fh-wiki-report-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.4rem;
  margin: 0 0 0.65rem;
  color: #8fa3be;
  font-size: 0.76rem;
}
.fh-wiki-report-card__meta i { opacity: 0.75; margin-right: 0.2rem; }
.fh-wiki-report-card__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}
.fh-wiki-report-card__note-field {
  display: block;
  flex: 1 1 180px;
  min-width: 140px;
  max-width: 280px;
  margin: 0;
}
.fh-wiki-report-card__note-input {
  width: 100%;
  background: rgba(4, 10, 20, 0.55);
  border-color: rgba(77, 163, 255, 0.18);
  color: #e8f0fc;
}
.fh-wiki-report-card__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-left: auto;
}

/* Modal signalement */
.fh-wiki-report-lead {
  margin-bottom: 0.85rem !important;
  font-size: 0.9rem !important;
}
.fh-wiki-report-reasons { border: 0; margin: 0; padding: 0; }
.fh-wiki-report-reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
@media (min-width: 768px) {
  .fh-wiki-report-reasons__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .fh-wiki-report-reasons__grid .fh-wiki-report-reason {
    grid-column: span 2;
  }
  .fh-wiki-report-reasons__grid .fh-wiki-report-reason:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .fh-wiki-report-reasons__grid .fh-wiki-report-reason:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
.fh-wiki-report-reason { position: relative; display: block; cursor: pointer; min-width: 0; }
.fh-wiki-report-reason input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}
.fh-wiki-report-reason__card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(77, 163, 255, 0.16);
  background: rgba(8, 16, 28, 0.65);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.fh-wiki-report-reason__top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.fh-wiki-report-reason__top i { color: var(--fh-accent); flex: 0 0 auto; }
.fh-wiki-report-reason__top strong {
  font-size: 0.84rem;
  color: #eef5ff;
}
.fh-wiki-report-reason__card small {
  color: #8fa3be;
  font-size: 0.7rem;
  line-height: 1.35;
}
.fh-wiki-report-reason input:checked + .fh-wiki-report-reason__card,
.fh-wiki-report-reason:hover .fh-wiki-report-reason__card {
  border-color: rgba(77, 163, 255, 0.45);
  background: rgba(77, 163, 255, 0.12);
}
.fh-wiki-report-reason input:focus-visible + .fh-wiki-report-reason__card {
  outline: 2px solid rgba(77, 163, 255, 0.75);
  outline-offset: 2px;
  border-color: rgba(77, 163, 255, 0.55);
}
.fh-wiki-report-priority {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.fh-wiki-report-priority__item { position: relative; cursor: pointer; }
.fh-wiki-report-priority__item input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}
.fh-wiki-report-priority__chip {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 163, 255, 0.18);
  background: rgba(8, 16, 28, 0.55);
  color: #c5d6ea;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.fh-wiki-report-priority__item input:checked + .fh-wiki-report-priority__chip {
  border-color: rgba(77, 163, 255, 0.45);
  background: rgba(77, 163, 255, 0.16);
  color: #fff;
}
.fh-wiki-report-priority__item input:focus-visible + .fh-wiki-report-priority__chip {
  outline: 2px solid rgba(77, 163, 255, 0.75);
  outline-offset: 2px;
}
.fh-wiki-report-priority__chip--high {
  border-color: rgba(248, 113, 113, 0.25);
}
.fh-wiki-report-priority__item input:checked + .fh-wiki-report-priority__chip--high {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.15);
  color: #fecaca;
}
.fh-wiki-report-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.fh-wiki-report-counter {
  font-size: 0.75rem;
  color: #8fa3be;
}
.fh-wiki-report-counter.is-low { color: #fca5a5; }
.fh-wiki-report-hint {
  margin: 0.35rem 0 0;
  color: #8fa3be;
  font-size: 0.76rem;
}
#fhReportModal [data-fh-report-submit]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
