/* Protein Calculator - keep minimal; rely on cg-ui + cg-bootstrap-ui.css */

/* Make activity select wide enough so placeholder text doesn't clip */
.cg-wrapper #pc-activity{
  width: 100%;
  min-width: 100%;
}

/* Sex checkboxes layout (minimal) */
.cg-wrapper .pc-sex-group{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cg-wrapper .pc-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.cg-wrapper .pc-check input{
  width: 16px;
  height: 16px;
}

/* Colored bars for outputs (like calorie deficit calculator) */
.cg-wrapper .pc-output{
  position: relative;
  padding-left: 14px;
}
.cg-wrapper .pc-output::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 999px;
  background: #e5e7eb; /* fallback */
}
.cg-wrapper .pc-output--min::before{ background: #ef4444; }   /* red */
.cg-wrapper .pc-output--rec::before{ background: #3b82f6; }   /* blue */
.cg-wrapper .pc-output--high::before{ background: #22c55e; }  /* green */

.cg-wrapper .pc-unit-note{
  margin-top: 6px;
}

.cg-wrapper #pc-guidance .pc-guidance-title{
  font-weight: 600;
  margin-bottom: 10px;
}

.cg-wrapper #pc-guidance .pc-guidance-line{
  margin-top: 8px;
}

.cg-wrapper #pc-guidance .pc-inline-value{
  font-variant-numeric: tabular-nums;
}
