/* Gameficate Craft — 🩺 health cards (js/sections/QualityPanel.js) and suggestions in Review & export. */
.quality-panel > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  color: var(--navy);
}
.quality-panel > summary::-webkit-details-marker {
  display: none;
}
.quality-panel > summary::after {
  content: '▾';
  margin-inline-start: auto;
  color: var(--muted);
}
.quality-panel:not([open]) > summary::after {
  content: '▸';
}
.qh-sum {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 900;
}
.qh-sum span {
  padding: 2px 10px;
  border-radius: 999px;
}
.qh-warn {
  background: #fff6de;
  color: var(--amber);
}
.qh-ok {
  background: color-mix(in srgb, var(--green) 14%, #fff);
  color: var(--green);
}
.qh-tip {
  background: color-mix(in srgb, var(--violet) 12%, #fff);
  color: var(--violet);
}
/* The bank at a glance */
.qh-glance {
  display: grid;
  gap: 6px;
  margin: 12px 0 4px;
}
.qh-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.qh-k {
  min-width: 150px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.qh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}
.qh-chip b {
  font-weight: 900;
}
/* Findings */
.qh-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.qh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.qh-item.warn {
  background: #fff6de;
}
.qh-item.tip {
  background: color-mix(in srgb, var(--violet) 7%, #fff);
}
.qh-item .ic {
  font-size: 16px;
}
.qh-msg {
  flex: 1;
  min-width: 0;
}
.qh-item .btn {
  flex: 0 0 auto;
}
/* Suggestions in Review & export */
.issue.tip {
  background: color-mix(in srgb, var(--violet) 7%, #fff);
}
