/* Problem-specific content styles; the worksheet shell lives in /site-src/worksheet.css. */
[data-problem-id="2"] .problem-setup {
  margin: 0 0 0.16in;
}

[data-problem-id="2"] .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="2"] .necklace-illustration {
  margin: 0.08in 0 0.1in;
}

[data-problem-id="2"] .necklace-illustration img {
  width: 100%;
  height: 1.2in;
  object-fit: cover;
  object-position: center 58%;
  border: 2px solid #c8a754;
  border-radius: 0.11in;
  box-shadow: 0 0.04in 0.12in rgb(24 49 79 / 14%);
}

[data-problem-id="2"] .pattern-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.075in;
  margin: 0.14in 0;
  padding: 0.13in 0.14in;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.1in;
  break-inside: avoid;
}

[data-problem-id="2"] .pattern-jewel {
  display: grid;
  width: 0.56in;
  min-height: 0.65in;
  place-items: center;
  padding: 0.035in;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.07in;
}

[data-problem-id="2"] .pattern-jewel img {
  display: block;
  width: 0.4in;
  height: 0.4in;
  object-fit: contain;
}

[data-problem-id="2"] .pattern-position {
  color: var(--muted-ink);
  font-size: 0.125in;
  font-weight: 850;
}

[data-problem-id="2"] .repeat-label {
  color: var(--jewel-dark);
  font-size: 0.13in;
  font-weight: 900;
  white-space: nowrap;
}

[data-problem-id="2"] .position-mystery {
  padding: 0.1in 0.13in;
  color: var(--ink);
  background: #fff8e8;
  border: 1.5px solid var(--gold);
  border-radius: 0.08in;
  font-size: 0.15in;
  font-weight: 900;
  white-space: nowrap;
}
