/* Problem-specific content styles; the worksheet shell lives in /site-src/worksheet.css. */
[data-problem-id="3"] .problem-setup {
  margin: 0 0 0.16in;
}

[data-problem-id="3"] .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="3"] .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="3"] .problem-part {
  padding: 0.1in 0 0.11in 0.02in;
  break-inside: avoid;
}

[data-problem-id="3"] .problem-part + .problem-part {
  margin-top: 0.04in;
  border-top: 1px solid var(--line);
}

[data-problem-id="3"] .problem-part-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.45in;
  align-items: center;
  gap: 0.14in;
}

[data-problem-id="3"] .layer-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.24in;
  padding: 0.12in 0.18in;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.1in;
}

[data-problem-id="3"] .minecraft-dig-illustration {
  width: 100%;
  height: 0.64in;
  margin-bottom: 0.09in;
  object-fit: cover;
  border: 2px solid #506170;
  border-radius: 0.09in;
  box-shadow: 0 0.035in 0.1in rgb(24 49 79 / 18%);
}

[data-problem-id="3"] .layer-model-part {
  display: grid;
  justify-items: center;
  gap: 0.05in;
  color: var(--ink);
  font-size: 0.14in;
}

[data-problem-id="3"] .layer-grid {
  width: 1.18in;
  aspect-ratio: 1;
  background:
  repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgb(10 124 148 / 55%) calc(20% - 1px) 20%),
  repeating-linear-gradient(0deg, transparent 0 calc(20% - 1px), rgb(10 124 148 / 55%) calc(20% - 1px) 20%),
  #d8f1f5;
  border: 2px solid var(--jewel-dark);
  border-radius: 0.04in;
}

[data-problem-id="3"] .layer-stack {
  position: relative;
  width: 1.34in;
  height: 1.02in;
}

[data-problem-id="3"] .layer-stack span {
  position: absolute;
  width: 1.02in;
  height: 0.52in;
  background: #d8f1f5;
  border: 2px solid var(--jewel-dark);
  border-radius: 0.04in;
}

[data-problem-id="3"] .layer-stack span:nth-child(1) {
  left: 0; bottom: 0;
}

[data-problem-id="3"] .layer-stack span:nth-child(2) {
  left: 0.07in; bottom: 0.1in;
}

[data-problem-id="3"] .layer-stack span:nth-child(3) {
  left: 0.14in; bottom: 0.2in;
}

[data-problem-id="3"] .layer-stack span:nth-child(4) {
  left: 0.21in; bottom: 0.3in;
}

[data-problem-id="3"] .layer-stack span:nth-child(5) {
  left: 0.28in; bottom: 0.4in;
}

[data-problem-id="3"] .layer-times {
  color: var(--gold-dark);
  font-size: 0.3in;
  font-weight: 900;
}
