.yeti-coach-cv-wrap.yeti-coach-cv-grid {
  margin:18px 0;
  padding:30px;
  border:1px dashed #ccc; /* temporaire */
  border-radius:8px;

  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-around;
}

.yeti-coach-cv-left{
  flex:1 1 auto;
  min-width: 220px;
    max-width: 450px;
}

.yeti-coach-cv-title, .detect-offre h3.yeti-coach-cv-title {
    font-size: 25px;
    margin:0 0 6px 0;
    line-height:1.2;
}

.yeti-coach-cv-text{
  margin:0;
  font-size:14px;
  opacity:.9;
}

.yeti-coach-cv-right{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.yeti-coach-cv-hint{
  font-size:13px;
  opacity:.85;
  text-align:left;
  max-width: 360px;
}

.yeti-coach-cv-grid .yeti-coach-cv-btn, .yeti-coach-cv-right .yeti-coach-cv-btn {
  padding:1em 2em;
  border-radius:4px;
  cursor:pointer;
}

.yeti-coach-cv-btn.is-disabled{
  cursor:not-allowed;
  opacity:.45;
  filter:grayscale(1);
}

.yeti-coach-cv-status{
  font-size:14px;
}

.yeti-coach-intro {
    max-width: 800px;
}

/* accordéon offre */
.coach-cv-offre-details {
  margin: 18px 0 24px;
  border: 0;
}

/* summary = bandeau H2 gris */
.coach-cv-offre-summary {
  list-style: none;            /* Firefox */
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 0px;
  background: rgba(0,0,0,.06); /* gris clair */
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* cache le triangle natif */
.coach-cv-offre-summary::-webkit-details-marker { display: none; }
.coach-cv-offre-summary::marker { content: ""; }

/* chevron custom à droite */
.coach-cv-offre-summary::after {
  content: "▾";
  font-size: 24px;
  opacity: .7;
  transform: translateY(-1px);
  transition: transform .15s ease;
}

/* chevron tourne quand ouvert */
.coach-cv-offre-details[open] > .coach-cv-offre-summary::after {
  transform: rotate(180deg) translateY(1px);
}

/* contenu */

.coach-cv-offre-body p {
  margin: 0 0 12px;
}



.coachcv-actions {
  white-space: nowrap;
  vertical-align: middle;
}

/* bouton supprimer → style lien */
.yeti-coach-cv-list .coachcv-delete {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    font-size: 20px; 
    font-weight: 600;
    color: #c0392b; /* rouge lisible, pas criard */
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: color .2s ease, transform .15s ease, opacity .15s ease;
}
.yeti-coach-cv-list tbody td {
    vertical-align: middle;
    padding: 14px;
    border-bottom: 1px solid rgb(238, 238, 238);
}
.yeti-coach-cv-list tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}
/* hover */
.yeti-coach-cv-list .coachcv-delete:hover {
    color: #922b21; /* rouge plus foncé */
    text-decoration: underline;
    transform: translateX(1px);
}

/* focus clavier (accessibilité) */
.yeti-coach-cv-list .coachcv-delete:focus-visible {
    outline: 2px dashed #c0392b;
    outline-offset: 3px;
}

/* état disabled (si jamais) */
.yeti-coach-cv-list .coachcv-delete[disabled] {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    text-decoration: none;
}
.yeti-coach-cv-list thead th {
    color: rgb(51, 51, 51);
    font-weight: 600;
    text-align: left;
    background: rgb(242, 242, 242);
    padding: 12px 14px;
    border-bottom: 1px solid rgb(224, 224, 224);
}
.coachcv-action.is-pending, .coachcv-action.is-error, .coachcv-action.is-todo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coachcv-action.is-pending .fa-spinner {
  font-size: 14px;
  opacity: 0.8;
}

/* POUR les beta testeurs */
/* c est ajouté directement dans le css personnalisé du bloc avec le bouton */
/* caché par défaut */
.yeti-beta-testeurs { display: none !important; }

/* visible uniquement pour les testeurs */
body.yeti-coachcv-tester .yeti-beta-testeurs {
  display: inline-flex !important; /* ou block selon ton bouton */
}

/* COACH CV PAGE DETAIL */

.yeti-coach-cv-detail h1 {
    font-size: 30px; 
    line-height: 1.1em;
    margin-bottom: 8px;
}
.yeti-coach-cv-detail .coach-cv-meta {
    font-size: 13px; 
    margin-bottom: 4px;  
}
.yeti-coach-cv-detail .coach-cv-emt { 
    font-size: 24px; 
}
.yeti-coach-cv-detail .coach-cv-offre-summary {
     font-size: 22px; 
}
.yeti-coach-cv-detail {
    background: rgba(255, 255, 255, 0.90);
    padding: 20px;
}
.yeti-coach-cv-detail .coach-cv-intro {
    font-size: 13px; margin-bottom: 4px;
}
.yeti-coach-cv-detail h2 {
    font-size: 22px; 
    font-weight: bold; 
    line-height: 1.1em;
    background: #f5f5f5;
    padding: 1em 1em;
    margin: 2em 0 1.2em;
}
.yeti-coach-cv-detail .coach-cv-copy-btn {
    padding: 8px 16px; font-size: 13px; 
}
.coach-cv-content h3 { 
    font-size: 22px; 
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 8px solid #6772E5;
}
.coach-cv-content h3.conseil_prioritaire_titre {
    font-weight: 600;
}
.coach-cv-content h4 { 
    font-size: 18px; 
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 4px solid #f5f5f5;
}
.coach-cv-content h4.conseil_autre_titre {
    margin-top: 24px;
    font-size: 18px; 
}
.coach-cv-content #resume {
    font-style: italic;
}
.coach-cv-content .conseil_autre {
    font-size: 16px;
}

.coach-cv-offre-summary{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  cursor:pointer;
  list-style:none;
}

/* toggle */
.coach-cv-offre-summary::-webkit-details-marker{ display:none; }

.coach-cv-offre-summary-left{
  flex:1;           
}
.coach-cv-offre-summary-right{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:16px;
  opacity:.8;
    margin-top: 4px;
}

.coach-cv-toggle-close{ display:none; }

/* quand ouvert: on inverse les libellés */
.coach-cv-offre-details[open] .coach-cv-toggle-open{ display:none; }
.coach-cv-offre-details[open] .coach-cv-toggle-close{ display:inline; }

/* rotation chevron */
.coach-cv-toggle-icon{
  transition: transform .2s ease;
}
.coach-cv-offre-details[open] .coach-cv-toggle-icon{
  transform: rotate(180deg);
}

.yeti-coach-cv-link.is-hidden {
  font-size: 14px;
}
.yeti-coach-cv-link.is-hidden {
  display: none;
}
.conseil_prioritaire, #coach-cv-lettre, .resume, .coach-cv-offre-body {
  padding-left: 14px;
  border-left: 3px solid #e5e5e5; /* gris clair */
}
.coach-cv-offre-summary {
    margin-bottom: 20px;
}
.coach-cv-offre-body {
    font-size: 16px;
}

.coach-cv-others-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* accordéon "Autres conseils" : pas de fond */
summary.coach-cv-offre-summary.coach-cv-others-summary {
  background: transparent;
}

.coach-cv-others-summary .coach-cv-toggle-close { display: none; }
.coach-cv-others-details[open] .coach-cv-toggle-open { display: none; }
.coach-cv-others-details[open] .coach-cv-toggle-close { display: inline; }

.coach-cv-others-body { margin-top: 12px; }

/* Radar Missions */
/* bouton coach cv: style “normalisé” partout */

.yeti-coach-cv-list td:first-child,
.yeti-coach-cv-list th:first-child {
  width: 130px;
  white-space: nowrap;
  font-size: 13px;
  opacity: 0.8;
}
.yeti-coach-cv-list td:first-child {
  padding-right: 8px;
}
.coachcv-offre-metas span {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.coachcv-emt-name {
  font-size: 13px;
  opacity: 0.75;
  font-style: italic;
}
.yeti-coach-cv-list .coachcv-action.is-done.button {
  transition: background-color .15s ease, transform .15s ease;
}

.yeti-coach-cv-list .coachcv-action.is-done.button:hover {
  transform: translateY(-1px);
}