/* ====================================================================
   Vue Manager — banner d'alerte, checkboxes de sélection, calc-detail
   ==================================================================== */

.banner {
  background: var(--role-manager);
  color: var(--paper);
  padding: 16px 22px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.banner-text {
  font-size: 13px;
}
.banner-text strong {
  font-family: "Fraunces", serif;
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.check-cell {
  width: 32px;
}
.checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.15s;
}
.checkbox:hover {
  border-color: var(--ink);
}
.checkbox.checked {
  background: var(--ink);
  border-color: var(--ink);
  position: relative;
}
.checkbox.checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Bloc "décomposition du calcul" — partagé entre manager et fiche commercial-detail */
.calc-detail {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-2);
}
.calc-detail .label {
  color: var(--ink-3);
}
.calc-detail .value {
  color: var(--ink);
  font-weight: 500;
  transition: color 0.3s;
}
.calc-detail .equals {
  color: var(--accent);
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  display: block;
  font-size: 13px;
}

/* ====================================================================
   Responsive — vue manager
   ==================================================================== */

@media (max-width: 640px) {
  .banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
  }
  .banner-text strong {
    font-size: 15px;
  }
  .calc-detail {
    padding: 16px;
    font-size: 11px;
    line-height: 1.8;
  }
}
