/* Problem-specific content styles; the worksheet shell lives in /site-src/worksheet.css. */
[data-problem-id="4"] .problem-setup {
  margin: 0 0 0.16in;
}

[data-problem-id="4"] .problem-question {
  margin: 0.17in 0 0.13in;
  padding: 0.13in 0.16in;
  background: #eef9fb;
  border-left: 0.055in solid var(--gold);
  border-radius: 0.08in;
  break-inside: avoid;
}

[data-problem-id="4"] .problem-content .problem-question .problem-parts {
  margin: 0.02in 0 0;
  padding-left: 0.28in;
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
}

[data-problem-id="4"] .problem-part {
  padding: 0.1in 0 0.11in 0.02in;
  break-inside: avoid;
}

[data-problem-id="4"] .problem-part + .problem-part {
  margin-top: 0.04in;
  border-top: 1px solid var(--line);
}

[data-problem-id="4"] .problem-part-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

[data-problem-id="4"] .workshop-illustration {
  margin: 0.1in 0 0.12in;
}

[data-problem-id="4"] .workshop-illustration img {
  width: 100%;
  height: 0.95in;
  object-fit: cover;
  object-position: center 48%;
  border: 2px solid #8f6938;
  border-radius: 0.11in;
  box-shadow: 0 0.04in 0.12in rgb(24 49 79 / 16%);
}

[data-problem-id="4"] .chest-plan {
  display: grid;
  margin: 0.08in 0;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.12in;
}

[data-problem-id="4"] .chest-units {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.055in;
}

[data-problem-id="4"] .chest-units span {
  display: grid;
  min-height: 0.4in;
  place-items: center;
  color: #fff8d6;
  background: linear-gradient(#9b5b2d, #6e3d21);
  border: 2px solid #4d2b19;
  border-radius: 0.045in;
  font-weight: 900;
}

[data-problem-id="4"] .chest-plan p { margin: 0; white-space: nowrap; }
