.tanu-candidate-wrap { max-width: 980px; margin: 0 auto; }
.tanu-page-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:16px; }
.tanu-page-title { font-size: 22px; font-weight: 800; margin: 0; }
.tanu-page-subtitle { color:#666; margin-top:6px; font-size:13px; }

.tanu-grid { display:grid; gap:14px; }
.tanu-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tanu-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 780px){ .tanu-grid-2, .tanu-grid-3 { grid-template-columns: 1fr; } }

.tanu-card { background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:16px; padding:14px; }
.tanu-card-title { font-weight:800; margin:0; font-size:14px; }
.tanu-muted { color:#666; font-size:12px; }

.tanu-pill { display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; border:1px solid rgba(0,0,0,.12); font-size:12px; font-weight:700; }

.tanu-btn { display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:12px; border:1px solid rgba(0,0,0,.15); background:#111; color:#fff; font-weight:800; text-decoration:none; cursor:pointer; }
.tanu-btn--ghost { background:#fff; color:#111; }

.tanu-alert { border-radius:14px; padding:10px 12px; border:1px solid rgba(0,0,0,.08); background:#f7f7f7; }
.tanu-alert--ok { background:#f3fff6; border-color: rgba(0,140,60,.2); }
.tanu-alert--err { background:#fff3f3; border-color: rgba(200,0,0,.2); }

.tanu-list { display:grid; gap:12px; }
.tanu-row { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.tanu-hr { border:none; border-top:1px solid rgba(0,0,0,.08); margin:14px 0; }

/* Progress */
.tanu-test-card__progress { margin-top: 10px; display: grid; gap: 8px; }

.tanu-progress { height: 8px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.tanu-progress > div { height: 8px; background: rgba(0,0,0,.45); }

/* NAV TABS */

/* Centre la nav sur la même largeur que le dashboard */
.tanu-nav {
  max-width: 980px;
  margin: 10px auto 18px;
  padding: 0 16px; /* petit confort sur mobile */
}

.tanu-nav__list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.tanu-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
}

.tanu-nav__link:hover {
  background: rgba(0,0,0,.04);
}

.tanu-nav__link.is-active,
.tanu-nav__link[aria-current="page"] {
  background: #111;
  color: #fff;
  border-color: rgba(0,0,0,.25);
}

/* Wrapper + header */
.tanu-candidate-wrap { max-width: 980px; margin: 0 auto; }
.tanu-page-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin: 8px 0 16px; }
.tanu-page-title { font-size: 22px; font-weight: 900; margin: 0; }
.tanu-page-subtitle { color:#666; margin-top:6px; font-size:13px; }

/* List & row */
.tanu-list { display:grid; gap:12px; }
.tanu-row { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.tanu-test-card__top { gap: 14px; }
.tanu-test-card__score { white-space: nowrap; }

/* Details (accordion) */
.tanu-details { margin-top: 10px; }
.tanu-details__summary {
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 13px;
  color: #111;
  list-style: none;
}
.tanu-details__summary::-webkit-details-marker { display:none; }
.tanu-details__summary:after {
  content: "▾";
  margin-left: 8px;
  opacity: .6;
}
.tanu-details[open] .tanu-details__summary:after { content: "▴"; }

.tanu-details__content { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); }
.tanu-details__title { font-weight: 900; font-size: 13px; margin-bottom: 8px; }

/* Key/value list */
.tanu-kv-list { display:grid; gap:8px; }
.tanu-kv { display:flex; justify-content:space-between; gap:12px; }
.tanu-kv__k { color:#333; font-size: 13px; }
.tanu-kv__v { color:#111; font-weight: 800; font-size: 13px; }

/* Cards completed */
.tanu-completed-top { align-items: flex-start; justify-content: space-between; gap: 12px; }
.tanu-score-chip {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tanu-meter { height: 10px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; margin-top: 10px; }
.tanu-meter__bar { height: 10px; background: rgba(0,0,0,.45); }

.tanu-meter--sm { height: 6px; margin-top: 6px; }
.tanu-meter--sm .tanu-meter__bar { height: 6px; }

.tanu-categories { margin-top: 12px; }
.tanu-categories-list { display: grid; gap: 10px; }

.tanu-cat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tanu-cat-name { font-weight: 650; }
.tanu-cat-score { font-weight: 800; }


.tanu-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tanu-skill-card {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.tanu-skill-title {
  font-weight: 800;
  font-size: 15px;
}

.tanu-skill-badge {
  margin-top: 8px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.tanu-skill-score {
  margin-top: 4px;
  font-size: 13px;
  color: #333;
}

/* Couleurs badges */
.tanu-skill-bronze  { border-color: #cd7f32; }
.tanu-skill-argent  { border-color: #bfc3c7; }
.tanu-skill-or      { border-color: #d4af37; }
.tanu-skill-platine { border-color: #4da3ff; }

/* ===== Jauges ===== */

.tanu-meter {
  width: 100%;
  height: 10px;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.tanu-meter > div {
  height: 100%;
  background: #333; /* fallback */
  border-radius: 999px;
  transition: width .4s ease;
}

.tanu-meter-sm {
  height: 6px;
  margin-top: 6px;
}

.tanu-meter-sm > div {
  height: 100%;
}
/* ===== Couleurs par badge ===== */

.tanu-skill-bronze  .tanu-meter > div { background:#cd7f32; }
.tanu-skill-argent  .tanu-meter > div { background:#bfc3c7; }
.tanu-skill-or      .tanu-meter > div { background:#d4af37; }
.tanu-skill-platine .tanu-meter > div { background:#4da3ff; }

/* Badge inactif */
.tanu-skill-inactif,
.tanu-skill-card.is-inactive {
  opacity: .55;
  filter: grayscale(1);
}

.tanu-skill-inactif .tanu-meter > div,
.tanu-skill-card.is-inactive .tanu-meter > div {
  background: rgba(0,0,0,.18);
}

/* Filtres compétences */
.tanu-skill-filters {
  display: flex;
  gap: 10px;
  margin: 14px 0 18px;
}

.tanu-skill-filters a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
  color: #333;
}

.tanu-skill-filters a.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.tanu-skill-link {
  text-decoration: none;
  color: inherit;
}

.tanu-skill-link .tanu-skill-card {
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}

.tanu-skill-link:hover .tanu-skill-card {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}


#site-header .dashicons,
.elementor-nav-menu .dashicons{
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  margin-right: 6px;
}

/* Emoji: forcer une police color emoji (évite les emojis qui “disparaissent”) */
.tanu-emoji {
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-weight: 400;
  text-transform: none;
  line-height: 1;
  vertical-align: -1px;
}
/* Forcer une police emoji couleur pour les labels de badge */
.tanu-skill-badge{
  font-family: inherit, "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  text-transform: none; /* optionnel : évite d'appliquer uppercase au label */
}


