[data-problem-id="55"] {
  --chest-ink: #17364a;
  --chest-teal: #087f91;
  --chest-deep: #075f6c;
  --chest-gold: #d99a2b;
  --chest-sand: #fff5dc;
  --chest-mist: #eaf6f7;
  --chest-line: #8fb3ba;
}

[data-problem-id="55"] .chestful-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: stretch;
}

[data-problem-id="55"] .chestful-setup {
  display: grid;
  align-content: center;
  margin: 0;
  border-left: 0.36rem solid var(--chest-gold);
  background: linear-gradient(145deg, #fff9e9, #edf7f8 82%);
}

[data-problem-id="55"] .chestful-setup p {
  margin: 0.55rem 0 0;
}

[data-problem-id="55"] .chestful-hero {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid #526b75;
  border-radius: 0.75rem;
  background: #36464e;
  box-shadow: 0 0.45rem 1rem rgba(21, 47, 58, 0.14);
}

[data-problem-id="55"] .chestful-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  object-position: center;
}

[data-problem-id="55"] .chestful-hero figcaption {
  padding: 0.42rem 0.65rem;
  color: #f9fbfc;
  background: #263a44;
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
}

[data-problem-id="55"] .chest-board {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid #9fc8cf;
  border-radius: 0.8rem;
  background: linear-gradient(120deg, #f5fbfb, #e4f3f5);
}

[data-problem-id="55"] .chest-board-copy p {
  margin: 0.5rem 0 0;
}

[data-problem-id="55"] .chest-total-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: end;
  margin-top: 0.75rem;
  color: var(--chest-ink);
  font-size: 0.85rem;
}

[data-problem-id="55"] .answer-blank {
  display: inline-block;
  width: 3rem;
  height: 1.6rem;
  border-bottom: 2px solid #466872;
}

[data-problem-id="55"] .answer-blank--wide {
  width: 4.3rem;
}

[data-problem-id="55"] .chest-ui {
  margin: 0;
  padding: 0.65rem 0.75rem 0.8rem;
  border: 0.32rem solid #66502c;
  border-radius: 0.35rem;
  background: #c8b486;
  box-shadow: inset 0 0 0 0.14rem #e2d5ae, 0 0.28rem 0.5rem rgba(35, 45, 50, 0.14);
}

[data-problem-id="55"] .chest-ui figcaption {
  margin-bottom: 0.45rem;
  color: #3b301c;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

[data-problem-id="55"] .slot-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.18rem;
}

[data-problem-id="55"] .slot-grid span {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: end end;
  padding: 0.08rem;
  border: 2px solid #5f5f58;
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(255,255,255,0.2) 37% 42%, transparent 43%),
    repeating-linear-gradient(45deg, #777b7d 0 0.22rem, #919698 0.23rem 0.36rem);
  box-shadow: inset 0.08rem 0.08rem 0 #434641, inset -0.08rem -0.08rem 0 #d3d6d0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 1px 1px #111;
}

[data-problem-id="55"] .slot-grid__example {
  outline: 0.16rem solid var(--chest-gold);
  outline-offset: -0.16rem;
}

[data-problem-id="55"] .cube-connection {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-top: 3px solid var(--chest-line);
  border-radius: 0;
  background: transparent;
}

[data-problem-id="55"] .cube-connection-copy p {
  margin: 0.5rem 0 0;
}

[data-problem-id="55"] .cube-models {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
}

[data-problem-id="55"] .cube-models figure {
  min-width: 0;
  margin: 0;
}

[data-problem-id="55"] .cube-models svg {
  display: block;
  width: 100%;
  height: auto;
}

[data-problem-id="55"] .cube-models figcaption {
  color: #46616b;
  font-size: 0.7rem;
  line-height: 1.25;
  text-align: center;
}

[data-problem-id="55"] .cube-times {
  color: var(--chest-gold);
  font-size: 1.2rem;
  font-weight: 900;
}

[data-problem-id="55"] .cube-top {
  fill: #d8ecef;
}

[data-problem-id="55"] .cube-front {
  fill: #9fc8cf;
}

[data-problem-id="55"] .cube-side {
  fill: #76aeb8;
}

[data-problem-id="55"] .cube-edge {
  fill: none;
  stroke: var(--chest-deep);
  stroke-linejoin: round;
  stroke-width: 4;
}

[data-problem-id="55"] .cube-inner-lines {
  fill: none;
  stroke: #5c8992;
  stroke-width: 1.8;
}

[data-problem-id="55"] .cube-thirds {
  fill: none;
  stroke: var(--chest-gold);
  stroke-width: 3.2;
}

[data-problem-id="55"] .chestful-turn-cue {
  margin: 1rem 0 0;
  padding: 0.72rem 0.9rem;
  border-top: 3px solid var(--chest-gold);
  border-bottom: 1px solid #d7b974;
  color: #5d4311;
  background: var(--chest-sand);
  font-weight: 850;
  text-align: center;
}

[data-problem-id="55"] .chestful-page-two {
  margin-top: 1rem;
}

[data-problem-id="55"] .chestful-reference {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

[data-problem-id="55"] .chestful-reference > div {
  padding: 0.62rem 0.72rem;
  border: 2px solid #92bfc7;
  border-radius: 0.65rem;
  background: #f5fbfb;
  text-align: center;
}

[data-problem-id="55"] .chestful-reference > div:nth-child(2) {
  border-color: #d7ad54;
  background: #fff8e8;
}

[data-problem-id="55"] .chestful-reference span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--chest-teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-problem-id="55"] .chestful-reference strong {
  color: var(--chest-ink);
}

[data-problem-id="55"] .reference-blank {
  display: inline-block;
  width: 4rem;
  height: 1.2rem;
  border-bottom: 2px solid #456772;
  vertical-align: bottom;
}

[data-problem-id="55"] .chestful-question {
  margin-top: 0;
}

[data-problem-id="55"] .chestful-question .problem-part {
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

[data-problem-id="55"] .chestful-question .problem-part p {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

[data-problem-id="55"] .route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
}

[data-problem-id="55"] .route-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid #84a9b1;
  border-radius: 0.55rem;
  background: #fff;
}

[data-problem-id="55"] .route-card span {
  color: var(--chest-teal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-problem-id="55"] .inline-blank {
  display: inline-block;
  width: 4.2rem;
  height: 1.35rem;
  border-bottom: 2px solid #456772;
  vertical-align: bottom;
}

[data-problem-id="55"] .claim-choice {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

[data-problem-id="55"] .claim-choice b {
  padding: 0.18rem 0.55rem;
  border: 1.5px solid #567982;
  border-radius: 999px;
  background: #fff;
}

[data-problem-id="55"] .explain-prompt {
  margin-top: 0.25rem !important;
}

[data-problem-id="55"] .writing-lines {
  border-radius: 0.25rem;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 1.24rem, #9fb2b7 1.28rem, transparent 1.32rem);
}

[data-problem-id="55"] .writing-lines--two {
  height: 3rem;
}

[data-problem-id="55"] .vault-part {
  display: list-item;
}

[data-problem-id="55"] .vault-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.45rem 0.8rem;
  align-items: center;
}

[data-problem-id="55"] .vault-model {
  margin: 0;
}

[data-problem-id="55"] .vault-model svg {
  display: block;
  width: 100%;
  height: auto;
}

[data-problem-id="55"] .vault-model figcaption {
  margin-top: -0.15rem;
  color: #526a72;
  font-size: 0.68rem;
  font-weight: 750;
  text-align: center;
}

[data-problem-id="55"] .vault-drop-guide {
  fill: none;
  stroke: var(--chest-gold);
  stroke-dasharray: 6 6;
  stroke-linecap: round;
  stroke-width: 2.4;
}

[data-problem-id="55"] .vault-shell-left {
  fill: url(#vault-cobble-left);
  opacity: 0.58;
  shape-rendering: crispEdges;
}

[data-problem-id="55"] .vault-shell-right {
  fill: url(#vault-cobble-right);
  opacity: 0.58;
  shape-rendering: crispEdges;
}

[data-problem-id="55"] .vault-cavity-wall-left {
  fill: #547d85;
}

[data-problem-id="55"] .vault-cavity-wall-right {
  fill: #3e626b;
}

[data-problem-id="55"] .vault-cavity-wall-front-left {
  fill: #6c959b;
  opacity: 0.72;
}

[data-problem-id="55"] .vault-cavity-wall-front-right {
  fill: #557d85;
  opacity: 0.72;
}

[data-problem-id="55"] .vault-cavity-floor {
  fill: #173943;
}

[data-problem-id="55"] .vault-cavity-grid {
  fill: none;
  opacity: 0.52;
  stroke: #9bc2c5;
  stroke-width: 1.5;
}

[data-problem-id="55"] .vault-rim {
  fill: url(#vault-cobble-top);
  shape-rendering: crispEdges;
  stroke: var(--chest-deep);
  stroke-linejoin: round;
  stroke-width: 3.2;
}

[data-problem-id="55"] .vault-outer-edge,
[data-problem-id="55"] .vault-lid-edge {
  fill: none;
  stroke: var(--chest-deep);
  stroke-linejoin: round;
  stroke-width: 4;
}

[data-problem-id="55"] .vault-inner-edge {
  fill: none;
  stroke: var(--chest-gold);
  stroke-linejoin: round;
  stroke-width: 2.8;
}

[data-problem-id="55"] .vault-floor-edge {
  fill: none;
  stroke: #b9d2d3;
  stroke-linejoin: round;
  stroke-width: 2;
}

[data-problem-id="55"] .vault-lid-left {
  fill: #777b79;
}

[data-problem-id="55"] .vault-lid-right {
  fill: #919593;
}

[data-problem-id="55"] .vault-lid-top {
  fill: url(#vault-cobble-top);
  shape-rendering: crispEdges;
}

[data-problem-id="55"] .vault-model text {
  fill: var(--chest-ink);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

[data-problem-id="55"] .vault-lid-kicker,
[data-problem-id="55"] .vault-label-kicker,
[data-problem-id="55"] .vault-thickness-label {
  font-size: 15px;
  letter-spacing: 0.06em;
}

[data-problem-id="55"] .vault-lid-value,
[data-problem-id="55"] .vault-label-value {
  font-size: 19px;
  font-weight: 900;
}

[data-problem-id="55"] .vault-lid text {
  paint-order: stroke;
  stroke: #eef4f2;
  stroke-linejoin: round;
  stroke-width: 3px;
}

[data-problem-id="55"] .vault-cavity-label text {
  fill: #fff;
  paint-order: stroke;
  stroke: #173943;
  stroke-linejoin: round;
  stroke-width: 3px;
}

[data-problem-id="55"] .vault-thickness-leader {
  fill: none;
  stroke: var(--chest-gold);
  stroke-linecap: round;
  stroke-width: 2.5;
}

[data-problem-id="55"] .vault-thickness-dot {
  fill: var(--chest-gold);
}

[data-problem-id="55"] .vault-depth-bracket {
  fill: none;
  stroke: var(--chest-gold);
  stroke-linecap: square;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

[data-problem-id="55"] .vault-depth-label {
  fill: var(--chest-ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  paint-order: stroke;
  stroke: #eef5f5;
  stroke-linejoin: round;
  stroke-width: 3px;
}

[data-problem-id="55"] .vault-table {
  grid-column: 1 / -1;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--chest-ink);
  font-size: 0.76rem;
}

[data-problem-id="55"] .vault-table th,
[data-problem-id="55"] .vault-table td {
  height: 2.4rem;
  border: 1.5px solid #7899a1;
  padding: 0.3rem;
  text-align: center;
}

[data-problem-id="55"] .vault-table thead th {
  height: auto;
  color: #fff;
  background: #3e6873;
  font-size: 0.7rem;
  line-height: 1.15;
}

[data-problem-id="55"] .vault-table tbody td {
  background: linear-gradient(to bottom, #fff 0 72%, #d8e2e4 73% 75%, #fff 76%);
}

[data-problem-id="55"] .leftover-response {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.85rem;
  align-items: end;
}

[data-problem-id="55"] .leftover-response label {
  display: flex;
  gap: 0.55rem;
  align-items: end;
  justify-content: space-between;
  font-weight: 800;
}

[data-problem-id="55"] .response-box {
  display: inline-block;
  flex: 0 0 3.8rem;
  height: 1.8rem;
  border: 2px solid #456772;
  border-radius: 0.25rem;
  background: #fff;
}

[data-problem-id="55"] .leftover-calculation {
  grid-column: 1 / -1;
  min-height: 2.2rem;
  padding: 0.25rem 0.35rem;
  border-bottom: 1.5px solid #91a5aa;
  color: #526a72;
  font-size: 0.76rem;
  font-weight: 750;
}

@media (max-width: 760px) {
  [data-problem-id="55"] .chestful-intro,
  [data-problem-id="55"] .chest-board,
  [data-problem-id="55"] .cube-connection,
  [data-problem-id="55"] .chestful-reference,
  [data-problem-id="55"] .route-grid,
  [data-problem-id="55"] .vault-layout,
  [data-problem-id="55"] .leftover-response {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-problem-id="55"] .chestful-intro,
  [data-problem-id="55"] .chest-board,
  [data-problem-id="55"] .cube-connection,
  [data-problem-id="55"] .chestful-reference,
  [data-problem-id="55"] .route-grid,
  [data-problem-id="55"] .vault-layout,
  [data-problem-id="55"] .leftover-response,
  [data-problem-id="55"] .chestful-intro > *,
  [data-problem-id="55"] .chest-board > *,
  [data-problem-id="55"] .cube-connection > *,
  [data-problem-id="55"] .vault-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  [data-problem-id="55"] .chestful-hero img {
    min-height: 12rem;
  }

  [data-problem-id="55"] .cube-models {
    max-width: 28rem;
    margin-inline: auto;
  }

  [data-problem-id="55"] .claim-choice,
  [data-problem-id="55"] .vault-table,
  [data-problem-id="55"] .leftover-calculation {
    grid-column: 1;
  }

  [data-problem-id="55"] .slot-grid span {
    font-size: clamp(0.48rem, 2.2vw, 0.62rem);
  }
}

@media print {
  [data-problem-id="55"] .chestful-intro {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 0.11in;
  }

  [data-problem-id="55"] .chestful-setup {
    padding: 0.11in 0.13in;
  }

  [data-problem-id="55"] .problem-content .chestful-setup p {
    margin-top: 0.045in;
    font-size: 0.155in;
    line-height: 1.32;
  }

  [data-problem-id="55"] .chestful-hero img {
    min-height: 2.35in;
    height: 2.35in;
  }

  [data-problem-id="55"] .chestful-hero figcaption {
    padding: 0.04in 0.06in;
    font-size: 0.125in;
  }

  [data-problem-id="55"] .chest-board {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 0.1in;
    margin-top: 0.1in;
    padding: 0.11in 0.12in;
  }

  [data-problem-id="55"] .problem-content .chest-board-copy p {
    margin-top: 0.035in;
    font-size: 0.145in;
    line-height: 1.28;
  }

  [data-problem-id="55"] .chest-total-equation {
    gap: 0.035in;
    margin-top: 0.055in;
    font-size: 0.13in;
  }

  [data-problem-id="55"] .answer-blank {
    height: 0.24in;
  }

  [data-problem-id="55"] .answer-blank--wide {
    width: 0.6in;
  }

  [data-problem-id="55"] .chest-ui {
    padding: 0.055in 0.065in 0.07in;
    border-width: 0.04in;
  }

  [data-problem-id="55"] .chest-ui figcaption {
    margin-bottom: 0.035in;
    font-size: 0.125in;
  }

  [data-problem-id="55"] .slot-grid {
    gap: 0.02in;
  }

  [data-problem-id="55"] .slot-grid span {
    border-width: 1.5px;
    padding: 0.01in;
    font-size: 0.125in;
  }

  [data-problem-id="55"] .cube-connection {
    grid-template-columns: 0.84fr 1.16fr;
    gap: 0.1in;
    margin-top: 0.12in;
    padding: 0.11in 0.02in 0;
  }

  [data-problem-id="55"] .problem-content .cube-connection-copy p {
    margin-top: 0.035in;
    font-size: 0.14in;
    line-height: 1.28;
  }

  [data-problem-id="55"] .cube-models {
    gap: 0.025in;
  }

  [data-problem-id="55"] .cube-models figcaption {
    font-size: 0.125in;
    line-height: 1.18;
  }

  [data-problem-id="55"] .cube-times {
    font-size: 0.18in;
  }

  [data-problem-id="55"] .chestful-turn-cue {
    margin-top: 0.09in;
    padding: 0.065in 0.09in;
    font-size: 0.14in;
  }

  [data-problem-id="55"] .chestful-page-two {
    min-height: 9.05in;
    box-sizing: border-box;
    margin-top: 0;
    padding: 0.07in 0.1in;
    break-before: page;
    page-break-before: always;
  }

  [data-problem-id="55"] .chestful-reference {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.045in;
    margin-bottom: 0.055in;
  }

  [data-problem-id="55"] .chestful-reference > div {
    min-height: 0.7in;
    padding: 0.06in 0.07in;
    font-size: 0.135in;
    line-height: 1.18;
  }

  [data-problem-id="55"] .chestful-reference span {
    margin-bottom: 0.015in;
    font-size: 0.125in;
  }

  [data-problem-id="55"] .chestful-question {
    padding: 0.12in 0.13in;
  }

  [data-problem-id="55"] .chestful-question .problem-question-header {
    margin-bottom: 0.02in;
  }

  [data-problem-id="55"] .chestful-question .problem-paper-note {
    font-size: 0.125in;
  }

  [data-problem-id="55"] .chestful-question .problem-part {
    padding-top: 0.1in;
    padding-bottom: 0.1in;
  }

  [data-problem-id="55"] .problem-content .chestful-question .problem-part p {
    margin-bottom: 0.03in;
    font-size: 0.142in;
    line-height: 1.28;
  }

  [data-problem-id="55"] .route-grid {
    grid-template-columns: 1fr;
    gap: 0.04in;
  }

  [data-problem-id="55"] .route-card {
    gap: 0.015in;
    padding: 0.06in 0.08in;
  }

  [data-problem-id="55"] .route-card span {
    font-size: 0.125in;
  }

  [data-problem-id="55"] .route-card strong {
    font-size: 0.15in;
  }

  [data-problem-id="55"] .inline-blank {
    width: 0.56in;
    height: 0.2in;
  }

  [data-problem-id="55"] .claim-choice {
    gap: 0.035in;
    padding: 0.02in;
    font-size: 0.13in;
  }

  [data-problem-id="55"] .claim-choice b {
    padding: 0.015in 0.05in;
  }

  [data-problem-id="55"] .writing-lines--two {
    height: 1.02in;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 0.27in, #96abb1 0.275in, transparent 0.285in);
  }

  [data-problem-id="55"] .vault-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.035in 0.07in;
  }

  [data-problem-id="55"] .vault-model {
    max-height: 2.26in;
  }

  [data-problem-id="55"] .vault-model svg {
    max-height: 1.92in;
  }

  [data-problem-id="55"] .vault-model figcaption {
    margin-top: 0.01in;
    font-size: 0.125in;
    line-height: 1.18;
  }

  [data-problem-id="55"] .vault-table {
    font-size: 0.125in;
  }

  [data-problem-id="55"] .vault-table th,
  [data-problem-id="55"] .vault-table td {
    height: 0.62in;
    padding: 0.03in 0.035in;
  }

  [data-problem-id="55"] .vault-table thead th {
    font-size: 0.125in;
  }

  [data-problem-id="55"] .leftover-response {
    grid-template-columns: 1fr 1fr;
    gap: 0.035in 0.08in;
    font-size: 0.13in;
  }

  [data-problem-id="55"] .response-box {
    flex-basis: 0.52in;
    height: 0.35in;
  }

[data-problem-id="55"] .leftover-calculation {
  grid-column: 1 / -1;
  min-height: 0.5in;
  padding: 0.02in 0.04in;
  font-size: 0.125in;
}

  [data-problem-id="55"] .chestful-intro,
  [data-problem-id="55"] .chest-board,
  [data-problem-id="55"] .cube-connection,
  [data-problem-id="55"] .route-grid,
  [data-problem-id="55"] .vault-layout,
  [data-problem-id="55"] .vault-table,
  [data-problem-id="55"] .problem-part {
    break-inside: avoid;
  }
}
