/* Problem-specific content styles; the worksheet shell lives in /site-src/worksheet.css. */
[data-problem-id="45"] .workshop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(2.55in, 0.92fr);
  gap: 0.18in;
  align-items: center;
}

[data-problem-id="45"] .problem-setup,
[data-problem-id="45"] .workshop-hero {
  margin: 0;
}

[data-problem-id="45"] .build-facts {
  margin: 0.08in 0 0;
  padding-left: 0.22in;
}

[data-problem-id="45"] .build-facts li + li {
  margin-top: 0.045in;
}

[data-problem-id="45"] .workshop-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid #65513a;
  border-radius: 0.11in;
  box-shadow: 0 0.05in 0.13in rgb(55 38 20 / 18%);
}

[data-problem-id="45"] .workshop-hero figcaption {
  margin-top: 0.035in;
  font-size: 0.125in;
  text-align: right;
}

[data-problem-id="45"] .problem-question {
  margin-top: 0.13in;
}

[data-problem-id="45"] .workshop-parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.08in 0.12in;
}

[data-problem-id="45"] .workshop-parts .problem-part {
  margin: 0;
  padding: 0.09in 0.12in 0.1in;
  border: 1.5px solid #af9a79;
  border-radius: 0.09in;
  background: linear-gradient(145deg, #fffef9, #f5efe2);
}

[data-problem-id="45"] .nested-finish {
  border-color: #407762 !important;
  background: linear-gradient(145deg, #fff, #eaf4ef) !important;
}

[data-problem-id="45"] .near-miss {
  grid-column: 1 / -1;
  border-color: #76508e !important;
  background: linear-gradient(145deg, #fff, #f3edf8) !important;
}

[data-problem-id="45"] .near-miss .problem-part-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.55fr);
  gap: 0.08in 0.14in;
  align-items: center;
}

[data-problem-id="45"] .near-miss .equation-response {
  grid-column: 3;
  justify-self: stretch;
}

[data-problem-id="45"] .near-miss-equation {
  min-width: 2in;
  padding: 0.065in 0.1in;
  border: 1.5px solid #76508e;
  border-radius: 0.08in;
  background: #fff;
  text-align: center;
}

[data-problem-id="45"] .equation-response {
  width: min(100%, 2.75in);
  min-height: 0.32in;
  margin-top: 0.045in;
  border-bottom: 2px solid #2f3652;
}

@media (max-width: 720px) {
  [data-problem-id="45"] .workshop-intro,
  [data-problem-id="45"] .workshop-parts,
  [data-problem-id="45"] .near-miss .problem-part-copy {
    grid-template-columns: 1fr;
  }

  [data-problem-id="45"] .near-miss .equation-response {
    grid-column: 1;
  }
}

@media print {
  [data-problem-id="45"] .problem-setup {
    padding: 0.1in 0.13in 0.11in;
  }

  [data-problem-id="45"] .workshop-hero img {
    box-shadow: none;
  }

  [data-problem-id="45"] .problem-question {
    margin-top: 0.085in;
    padding: 0.1in 0.13in 0.11in;
  }

  [data-problem-id="45"] .workshop-parts {
    gap: 0.05in 0.1in;
  }

  [data-problem-id="45"] .workshop-parts .problem-part {
    padding: 0.065in 0.095in 0.075in;
  }

  [data-problem-id="45"] .problem-content .problem-part-copy p,
  [data-problem-id="45"] .problem-content .build-facts {
    font-size: 0.172in;
    line-height: 1.26;
  }

  [data-problem-id="45"] .equation-response {
    min-height: 0.25in;
  }
}

@media print {
  [data-problem-id="45"] .problem-content .workshop-parts {
    column-gap: 0.15in;
  }

  [data-problem-id="45"] .problem-content .near-miss .problem-part-copy {
    grid-template-columns: 0.95in 2.25in minmax(0, 1fr);
    column-gap: 0.09in;
  }
}

@media print {
  [data-problem-id="45"] .problem-content .workshop-parts {
    counter-reset: workshop-step;
    padding-left: 0;
  }

  [data-problem-id="45"] .problem-content .workshop-parts .problem-part {
    position: relative;
    padding-left: 0.27in;
    list-style: none;
  }

  [data-problem-id="45"] .problem-content .workshop-parts .problem-part::before {
    position: absolute;
    top: 0.04in;
    left: 0.055in;
    color: #057f9f;
    content: counter(workshop-step) ".";
    counter-increment: workshop-step;
    font-size: 0.2in;
    font-weight: 900;
  }
}

@media print {
  [data-problem-id="45"] #problem-title {
    font-size: 0.43in;
    line-height: 0.98;
  }

  [data-problem-id="45"] .problem-content .workshop-intro {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(2.55in, 0.92fr) !important;
    gap: 0.12in;
    align-items: center;
  }

  [data-problem-id="45"] .problem-content .problem-setup {
    padding: 0.065in 0.1in 0.075in;
  }

  [data-problem-id="45"] .problem-content .problem-setup > p {
    margin-block: 0.025in;
    font-size: 0.168in;
    line-height: 1.2;
  }

  [data-problem-id="45"] .problem-content .build-facts {
    margin-top: 0.035in;
    font-size: 0.16in;
    line-height: 1.18;
  }

  [data-problem-id="45"] .problem-content .build-facts li + li {
    margin-top: 0.018in;
  }

  [data-problem-id="45"] .workshop-hero img {
    max-height: 1.55in;
  }

  [data-problem-id="45"] .workshop-hero figcaption {
    display: none;
  }

  [data-problem-id="45"] .problem-content .problem-question {
    margin-top: 0.045in;
    padding: 0.065in 0.1in 0.075in;
  }

  [data-problem-id="45"] .problem-question-header {
    margin-bottom: 0.025in;
  }

  [data-problem-id="45"] .problem-content .workshop-parts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.035in 0.075in;
  }

  [data-problem-id="45"] .problem-content .workshop-parts .problem-part {
    padding: 0.04in 0.07in 0.05in;
  }

  [data-problem-id="45"] .problem-content .problem-part-copy p {
    font-size: 0.162in;
    line-height: 1.16;
  }

  [data-problem-id="45"] .problem-content .near-miss {
    grid-column: 1 / -1;
  }

  [data-problem-id="45"] .problem-content .near-miss .problem-part-copy {
    grid-template-columns: minmax(0, 0.72fr) minmax(1.75in, 0.88fr) minmax(0, 1.4fr);
    gap: 0.05in 0.08in;
  }

  [data-problem-id="45"] .near-miss-equation {
    min-width: 0;
    padding: 0.035in 0.06in;
  }

  [data-problem-id="45"] .equation-response {
    min-height: 0.18in;
    margin-top: 0.025in;
  }
}

@media print {
  [data-problem-id="45"] .problem-content .workshop-parts {
    column-gap: 0.15in;
  }

  [data-problem-id="45"] .problem-content .near-miss .problem-part-copy {
    grid-template-columns: 0.95in 2.25in minmax(0, 1fr);
    column-gap: 0.09in;
  }
}

@media print {
  [data-problem-id="45"] .problem-content .workshop-parts {
    counter-reset: workshop-step;
    padding-left: 0;
  }

  [data-problem-id="45"] .problem-content .workshop-parts .problem-part {
    position: relative;
    padding-left: 0.27in;
    list-style: none;
  }

  [data-problem-id="45"] .problem-content .workshop-parts .problem-part::before {
    position: absolute;
    top: 0.04in;
    left: 0.055in;
    color: #057f9f;
    content: counter(workshop-step) ".";
    counter-increment: workshop-step;
    font-size: 0.2in;
    font-weight: 900;
  }
}
