/* RentTrack Pro — Ritmo inteligente de objetivos v15.15A */

.objective-pace-insight {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding: 11px 12px;
  border: 1px solid rgba(18, 191, 166, 0.2);
  border-left: 3px solid var(--rt-turquoise, #12BFA6);
  border-radius: 12px;
  background: rgba(231, 250, 246, 0.66);
}

.objective-pace-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.objective-pace-heading > div {
  min-width: 0;
}

.objective-pace-heading strong,
.objective-pace-heading small {
  display: block;
}

.objective-pace-heading strong {
  color: var(--rt-ink, #071A26);
  font-size: 0.8rem;
  font-weight: 680;
  line-height: 1.25;
}

.objective-pace-heading small {
  margin-top: 3px;
  color: var(--rt-slate, #405967);
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1.4;
}

.objective-pace-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--rt-turquoise, #12BFA6);
  color: var(--rt-ink, #071A26);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.objective-pace-details {
  display: grid;
  gap: 3px;
  padding-left: 34px;
}

.objective-pace-details span {
  color: var(--rt-muted, #6F828B);
  font-size: 0.68rem;
  line-height: 1.42;
}

.objective-pace-details strong {
  color: var(--rt-ink-secondary, #163040);
  font-weight: 650;
}

.objective-pace-insight.pace-ahead,
.objective-pace-insight.pace-achieved {
  border-color: rgba(18, 191, 166, 0.22);
  border-left-color: var(--rt-turquoise-deep, #078D7E);
  background: var(--rt-turquoise-mist, #E7FAF6);
}

.objective-pace-insight.pace-ahead
  .objective-pace-icon,
.objective-pace-insight.pace-achieved
  .objective-pace-icon {
  background: var(--rt-turquoise-deep, #078D7E);
  color: #FFFFFF;
}

.objective-pace-insight.pace-behind {
  border-color: rgba(233, 155, 36, 0.27);
  border-left-color: var(--rt-pending, #E99B24);
  background: var(--rt-pending-soft, #FFF5E4);
}

.objective-pace-insight.pace-behind
  .objective-pace-icon {
  background: var(--rt-pending, #E99B24);
  color: #FFFFFF;
}

.objective-pace-insight.is-compact {
  padding: 10px 11px;
}

.objective-pace-insight.is-compact
  .objective-pace-details
  span:nth-child(n + 3) {
  display: none;
}

@media (max-width: 430px) {
  .objective-pace-details {
    padding-left: 0;
  }

  .objective-pace-heading strong {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .objective-pace-insight {
    animation: none !important;
    transition: none !important;
  }
}
