#metricas-profile-modal #metricas-profile-checklist-helper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 36px;
  padding: 0 12px !important;
  margin: 0 0 10px 0 !important;
  border: 1.5px solid var(--mcf-gold) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 3px 10px rgba(15,23,42,0.04) !important;
  color: #1f365d !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

#metricas-profile-modal #metricas-profile-checklist-helper span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#metricas-profile-modal .perf-profile-checklist-container {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  padding: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.94), 0 4px 14px rgba(15,23,42,0.04);
}

#metricas-profile-modal .perf-profile-group-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#metricas-profile-modal .perf-profile-group-card {
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 3px 12px rgba(15,23,42,0.035);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#metricas-profile-modal .perf-profile-group-card:hover {
  border-color: rgba(201,162,39,0.28);
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

#metricas-profile-modal .perf-profile-group-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 6px 16px 6px 24px;
  cursor: pointer;
  list-style: none;
}

#metricas-profile-modal .perf-profile-group-summary::-webkit-details-marker {
  display: none;
}

#metricas-profile-modal .perf-profile-group-summary::after {
  content: "▸";
  margin-left: auto;
  color: #b0bec5;
  font-size: 0.68rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

#metricas-profile-modal .perf-profile-group-card[open] .perf-profile-group-summary::after {
  transform: rotate(90deg);
  color: #c9a227;
}

#metricas-profile-modal .perf-profile-group-card[open] {
  border-color: rgba(201,162,39,0.52);
  box-shadow: 0 8px 22px rgba(15,23,42,0.08), 0 0 0 1px rgba(201,162,39,0.08);
}

#metricas-profile-modal .perf-profile-group-card[open] .perf-profile-group-summary {
  background: linear-gradient(180deg, rgba(201,162,39,0.075) 0%, rgba(201,162,39,0.02) 100%);
  border-bottom: 1px solid rgba(201,162,39,0.12);
}

#metricas-profile-modal .perf-profile-group-body {
  padding: 10px 14px 12px;
}

#metricas-profile-modal .perf-profile-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
}

#metricas-profile-modal .perf-profile-group-title {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa3c0;
  line-height: 1;
  white-space: nowrap;
}

#metricas-profile-modal .perf-profile-group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(201,162,39,0.10);
  color: #6b7a95;
  font-size: 0.60rem;
  font-weight: 800;
  flex: 0 0 auto;
}

#metricas-profile-modal .perf-profile-group-count.is-active {
  background: rgba(201,162,39,0.16);
  color: #7a5b00;
}

#metricas-profile-modal .perf-profile-group-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

#metricas-profile-modal .perf-profile-group-checklist label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 34px;
  padding: 6px 8px !important;
  border-radius: 10px;
  font-size: 0.74rem !important;
  font-weight: 600;
  color: #1f365d !important;
  line-height: 1.25;
  background: rgba(255,255,255,0.7);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

#metricas-profile-modal .perf-profile-group-checklist label:hover {
  background: rgba(0,53,128,0.04);
  box-shadow: inset 0 0 0 1px rgba(201,162,39,0.12);
}

#metricas-profile-modal .perf-profile-group-checklist input[type="checkbox"],
#metricas-profile-modal .perf-profile-group-checklist input[type="radio"] {
  accent-color: #003580;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 620px) {
  #metricas-profile-modal .perf-profile-group-checklist {
    grid-template-columns: 1fr;
  }
}
