/* BI activities reuse the agenda and the shared button and color tokens. */
#attivita-cliente {
  scroll-margin-top: 150px;
}

.bi-work-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.bi-work-metrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin: 24px 0;
}

.bi-work-metrics > div {
  padding: 16px;
  border-radius: 14px;
  background: var(--brand-soft, #edf5fc);
  border-top: 3px solid var(--brand, #343d8f);
}

.bi-work-metrics > div:nth-child(2) {
  border-color: #19856b;
}

.bi-work-metrics > div:nth-child(3) {
  border-color: #c48624;
}

.bi-work-metrics > div:nth-child(4) {
  border-color: #ea8278;
}

.bi-work-metrics strong {
  display: block;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.bi-work-metrics span {
  display: block;
  margin-top: 8px;
}

.bi-work-item {
  padding: 24px 0;
  border-top: 1px solid #dce3ee;
}

.bi-work-item p {
  line-height: 1.6;
}

.bi-work-item summary {
  cursor: pointer;
  padding: 10px 0;
  color: var(--brand, #343d8f);
  font-weight: 600;
}

.bi-work-state {
  padding: 6px 12px;
  border-radius: 20px;
  background: #edf5fc;
}

.bi-work-note {
  border-left: 3px solid #dce3ee;
  padding: 12px 18px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}

.bi-work-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  padding: 24px;
  border: 1px solid #dce3ee;
  border-radius: 18px;
  background: white;
}

.bi-work-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-weight: 600;
}

.bi-work-form input:not([type=submit]), .bi-work-form select, .bi-work-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ced8e7;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  color: inherit;
  background: white;
}

.bi-work-form__wide {
  grid-column: 1 / -1;
  line-height: 1.6;
}

.bi-work-error {
  border-left: 4px solid #b74738;
  padding: 16px;
  background: #fff1ee;
}

#assortimento-cliente {
  scroll-margin-top: 150px;
}

#assortimento-cliente h2 {
  color: var(--brand, #343d8f);
}

#assortimento-cliente h3 {
  color: #227560;
}

