/* MS Connect laboratório — treinamento automático por indicador */
.v102020-auto-training {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(110, 24, 145, .13);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 0, 125, .10), transparent 30%),
    linear-gradient(145deg, #fff 0%, #fdf9ff 58%, #faf4ff 100%);
  box-shadow: 0 14px 34px rgba(64, 18, 91, .08);
}
.v102020-auto-training::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #7214a5, #e5007d);
}
.v102020-auto-training.is-good::before {
  background: linear-gradient(180deg, #0a9a69, #31c98d);
}
.v102020-training-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #f2e5fa, #fff0f7);
  box-shadow: inset 0 0 0 1px rgba(103, 23, 137, .10);
  font-size: 25px;
}
.v102020-auto-training.is-good .v102020-training-icon {
  background: linear-gradient(145deg, #e8fbf4, #f7fffb);
  color: #087754;
}
.v102020-training-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: #8a299e;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
}
.v102020-auto-training h2 {
  margin: 0;
  color: #3e075f;
  font-size: 20px;
  letter-spacing: -.025em;
}
.v102020-auto-training p {
  margin: 6px 0 0;
  color: #716779;
  font-size: 12px;
  line-height: 1.48;
}
.v102020-training-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.v102020-training-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4ebf9;
  color: #642879;
  font-size: 10px;
}
.v102020-training-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.v102020-auto-training.manager {
  display: block;
}
.v102020-auto-training.manager .section-head {
  margin-bottom: 12px;
}
.v102020-training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.v102020-training-person {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(93, 32, 116, .10);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.v102020-training-person b {
  display: block;
  color: #3e2b49;
  font-size: 12px;
}
.v102020-training-person span {
  display: block;
  margin-top: 3px;
  color: #766c7e;
  font-size: 10px;
  line-height: 1.35;
}
.v102020-training-person .btn {
  padding: 8px 10px;
  font-size: 10px;
}

/* v10.20.21 — aba própria Treinamentos */
.v102021-training-screen {
  display: grid;
  gap: 16px;
}
.v102021-training-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  border: 1px solid rgba(102, 24, 135, .13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(229, 0, 125, .13), transparent 30%),
    radial-gradient(circle at 4% 100%, rgba(112, 11, 200, .07), transparent 36%),
    linear-gradient(145deg, #fff 0%, #fdf9ff 54%, #fbf4ff 100%);
  box-shadow: 0 18px 44px rgba(64, 18, 91, .09);
}
.v102021-training-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #6f14a7, #e5007d);
}
.v102021-training-hero > div:first-child > span {
  display: inline-block;
  margin-bottom: 7px;
  color: #8b299e;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .11em;
}
.v102021-training-hero h2 {
  margin: 0;
  color: #3b075a;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.035em;
}
.v102021-training-hero p {
  max-width: 820px;
  margin: 8px 0 0;
  color: #74697c;
  font-size: 13px;
  line-height: 1.55;
}
.v102021-training-hero-badge {
  min-width: 145px;
  display: grid;
  place-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(115, 30, 145, .10);
  border-radius: 20px;
  background: rgba(255,255,255,.80);
  box-shadow: 0 10px 24px rgba(63, 18, 86, .07);
  text-align: center;
}
.v102021-training-hero-badge b {
  display: block;
  color: #6f0fa5;
  font-size: 30px;
  line-height: 1;
}
.v102021-training-hero-badge small {
  display: block;
  margin-top: 7px;
  color: #786b80;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}
.v102021-training-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.v102021-training-kpis > div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 15px 17px;
  border: 1px solid rgba(91, 27, 118, .10);
  border-radius: 19px;
  background: linear-gradient(155deg, #fff, #fcf8fe);
  box-shadow: 0 10px 25px rgba(56, 18, 78, .055);
}
.v102021-training-kpis > div > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #f3e9f9;
  color: #71149c;
  font-size: 20px;
  font-weight: 900;
}
.v102021-training-kpis small {
  display: block;
  color: #75697e;
  font-size: 10px;
  font-weight: 750;
}
.v102021-training-kpis b {
  display: block;
  margin-top: 4px;
  color: #321640;
  font-size: 24px;
  line-height: 1;
}
.v102021-training-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 14px;
  align-items: start;
}
.v102021-training-main-card,
.v102021-training-history-card,
.v102021-training-my-history {
  border: 1px solid rgba(94, 29, 120, .10);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(57, 17, 79, .06);
}
.v102021-training-main-card .section-head,
.v102021-training-history-card .section-head,
.v102021-training-my-history .section-head {
  margin-bottom: 14px;
}
.v102021-training-main-card h2,
.v102021-training-history-card h2,
.v102021-training-my-history h2 {
  margin: 0;
  color: #3c0a59;
  font-size: 19px;
}
.v102021-training-team-list {
  display: grid;
  gap: 10px;
}
.v102021-training-team-card {
  padding: 15px;
  border: 1px solid rgba(91, 30, 117, .10);
  border-radius: 17px;
  background: linear-gradient(155deg, #fff, #fcf9fe);
  box-shadow: 0 8px 20px rgba(57, 18, 80, .045);
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.v102021-training-team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 31, 153, .22);
  box-shadow: 0 13px 28px rgba(57, 18, 80, .075);
}
.v102021-training-person-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.v102021-training-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.v102021-training-avatar .mini-avatar,
.v102021-training-avatar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.v102021-training-person-head b {
  display: block;
  color: #36213f;
  font-size: 13px;
}
.v102021-training-person-head small {
  display: block;
  margin-top: 3px;
  color: #7a6e81;
  font-size: 10px;
}
.v102021-training-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff0f5;
  color: #c10a63;
  font-size: 10px;
  font-weight: 900;
}
.v102021-training-progress-row {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin: 13px 0 8px;
  color: #776b7f;
  font-size: 10px;
}
.v102021-training-progress-row b {
  color: #4e1767;
}
.v102021-training-team-card .progress,
.v102021-training-seller-card .progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7f3;
}
.v102021-training-team-card .progress > span,
.v102021-training-seller-card .progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d10bd, #e5007d);
}
.v102021-training-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.v102021-training-card-actions .btn {
  padding: 9px 12px;
  font-size: 10px;
}
.v102021-training-history-card {
  position: sticky;
  top: 12px;
}
.v102021-training-history {
  display: grid;
  gap: 8px;
}
.v102021-training-history > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(82, 37, 102, .08);
  border-radius: 13px;
  background: #fcfafc;
}
.v102021-training-history > div > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e7f8f0;
  color: #0a8b62;
  font-size: 12px;
  font-weight: 900;
}
.v102021-training-history b {
  display: block;
  color: #3d2945;
  font-size: 11px;
}
.v102021-training-history small {
  display: block;
  margin-top: 2px;
  color: #7c7181;
  font-size: 9px;
}
.v102021-training-history-empty {
  padding: 16px;
  border: 1px dashed #ddd1e5;
  border-radius: 15px;
  color: #837788;
  background: #fdfbfd;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.v102021-training-empty {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 28px;
  border: 1px dashed #d9cbe1;
  border-radius: 18px;
  background: linear-gradient(155deg, #fbfffd, #fcf9fe);
  text-align: center;
}
.v102021-training-empty > span {
  font-size: 34px;
}
.v102021-training-empty h3 {
  margin: 9px 0 5px;
  color: #3e1657;
}
.v102021-training-empty p {
  max-width: 500px;
  margin: 0;
  color: #786e7e;
  font-size: 11px;
  line-height: 1.5;
}
.v102021-training-seller-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.v102021-training-seller-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 28, 120, .11);
  border-radius: 21px;
  background: linear-gradient(150deg, #fff, #fcf8fe);
  box-shadow: 0 12px 30px rgba(56, 17, 79, .06);
}
.v102021-training-seller-card.priority {
  border-color: rgba(207, 0, 111, .22);
  background:
    radial-gradient(circle at 100% 0%, rgba(229,0,125,.08), transparent 34%),
    linear-gradient(150deg, #fff, #fcf8fe);
}
.v102021-training-seller-card.priority::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #7612af, #e5007d);
}
.v102021-training-seller-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.v102021-training-seller-top h2 {
  margin: 0;
  color: #3c0c58;
  font-size: 21px;
}
.v102021-training-seller-card > p {
  margin: 11px 0 0;
  color: #74697b;
  font-size: 11px;
  line-height: 1.5;
}
.v102021-training-my-history {
  margin-top: 2px;
}

@media (max-width: 1000px) {
  .v102021-training-layout {
    grid-template-columns: 1fr;
  }
  .v102021-training-history-card {
    position: static;
  }
  .v102021-training-seller-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .v102020-auto-training {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .v102020-training-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .v102020-training-grid {
    grid-template-columns: 1fr;
  }
  .v102021-training-kpis {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .v102021-training-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .v102021-training-hero-badge {
    width: 100%;
  }
  .v102021-training-person-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .v102021-training-person-head .v102021-training-gap {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 560px) {
  .v102020-auto-training {
    grid-template-columns: 1fr;
  }
  .v102020-training-icon {
    width: 46px;
    height: 46px;
  }
  .v102020-training-actions {
    grid-column: auto;
  }
}
