/* KnowThePepper hot sauce SHU calculator (templates/tools/shu-calculator.php). Loaded after tools.css (frame).
   Page-only blocks (visual pass, design-v3 wave 3): .shu-batch (worked-example weight bar), .shu-tips (icon tiles).
   Frame candidates: .shu-batch (one stacked bar of shares with a legend), .shu-tip__art (round smoke icon tile for a tip list). */

/* ── Worked example: where the grams of the batch go ───────────────────── */
.shu-batch { margin-bottom: var(--ktp-space-4); }
.shu-batch__bar {
  display: flex;
  gap: 3px;
  height: 20px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ktp-white);
}
.shu-batch__seg {
  flex: var(--w, 1) 1 0;
  min-width: 6px;
  background: var(--tier, var(--ktp-clay));
}
.shu-batch__seg:not([data-tier]) { background: var(--tool-input-line); opacity: .55; }
.shu-batch__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ktp-space-2) var(--ktp-space-5);
  margin: var(--ktp-space-3) 0 0;
  padding: 0;
  list-style: none;
}
.shu-batch__legend li {
  display: inline-flex;
  align-items: baseline;
  gap: var(--ktp-space-2);
  color: var(--ktp-ink);
  font-size: 15px;
  line-height: 1.4;
}
.shu-batch__dot {
  flex: none;
  align-self: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tier, var(--tool-input-line));
}
.shu-batch__name { font-weight: 700; }
.shu-batch__grams { color: var(--ktp-muted); font-variant-numeric: tabular-nums; }

/* ── Tips for adjusting heat: icon tile + text ─────────────────────────── */
.shu-tips > li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: var(--ktp-space-4);
}
.shu-tip__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ktp-smoke);
  color: var(--ktp-ink);
}
@media (max-width: 560px) {
  .shu-tips > li { grid-template-columns: 44px minmax(0, 1fr); gap: var(--ktp-space-3); }
  .shu-tip__art { width: 44px; height: 44px; }}
