/* Panneau d’aide contextuelle (COT + LIX). Isolé de cot.css pour le dashboard LIX. */
.cot-help-btn {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #334155;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  padding: 0;
}

.cot-help-btn:hover,
.cot-help-btn:focus-visible {
  color: #D4AF37;
  border-color: #D4AF37;
  outline: none;
}

.onelix-app-header__group .cot-help-btn,
.onelix-app-header__actions .cot-help-btn,
.onelix-data-banner .cot-help-btn {
  flex: 0 0 18px;
  align-self: center;
  margin: 0 4px 0 0;
}

.onelix-data-banner .cot-help-btn {
  margin-left: 6px;
  border-color: rgba(15, 31, 61, 0.35);
  color: #0F1F3D;
}
.onelix-data-banner .cot-help-btn:hover,
.onelix-data-banner .cot-help-btn:focus-visible {
  color: #0F1F3D;
  border-color: #0F1F3D;
}
.onelix-data-banner__desktop {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cot-help-panel[hidden] { display: none !important; }

.cot-help-panel {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: 16px;
  width: min(400px, calc(100vw - 24px));
  max-height: min(70vh, 480px);
  overflow: auto;
  padding: 12px 14px 10px;
  background: #0a1628;
  border: 1px solid #D4AF37;
  border-radius: 8px;
  color: #CBD5E1;
}

.cot-help-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.cot-help-panel h2 {
  margin: 0;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.cot-help-close {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.cot-help-close:hover,
.cot-help-close:focus-visible { color: #D4AF37; }

.cot-help-kicker {
  margin: 10px 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #D4AF37;
}

.cot-help-plain,
.cot-help-def {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.45;
}

.cot-help-def { color: #94a3b8; font-size: 12px; }

.cot-help-src {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #93c5fd;
}

.cot-help-src:hover { color: #D4AF37; }

.cot-help-more {
  margin: 10px 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

.cot-help-more a {
  color: #D4AF37;
  font-weight: 600;
  text-decoration: none;
}

.cot-help-more a:hover,
.cot-help-more a:focus-visible {
  text-decoration: underline;
}

.cot-help-disc {
  margin: 8px 0 0;
  font-size: 10px;
  color: #64748B;
}
