.trade-notes {
  padding-block: clamp(3rem, 5.3vw, 6rem);
}
.trade-notes h2 {
  max-width: 17ch;
}
.trade-notes p {
  line-height: 1.58;
}
.trade-notes figure {
  min-width: 0;
}
.trade-notes figcaption {
  font-size: 0.875rem;
  line-height: 1.4;
}
.tool h4 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 0.9rem;
}
.tool textarea,
.tool input:not([type="checkbox"]):not([type="range"]),
.tool select {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border: 1px solid currentColor;
  color: var(--ink);
  background: var(--paper);
  border-radius: 2px;
  max-width: 100%;
}
.tool textarea {
  display: block;
  width: 100%;
  resize: vertical;
}
.tool input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  accent-color: var(--accent);
}
.tool label:has(select),
.tool label:has(textarea),
.tool label:has(input[type="text"]),
.tool label:has(input:not([type])) {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0;
  width: fit-content;
  max-width: 100%;
  font-weight: 600;
}
.tool label:has(textarea) {
  width: 100%;
}
.tool label > span {
  font-weight: 400;
}
.tool section > h3 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.tool section > h3 + p {
  margin: 0.55rem 0 1rem;
}
.tool .takeaway {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
}
.tool .takeaway:hover {
  text-decoration-thickness: 0.2em;
}
.tool textarea:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.tool button:disabled {
  opacity: 0.62;
}
@media (max-width: 720px) {
  .trade-notes {
    padding-block: 2.7rem;
  }
  .tool input:not([type="checkbox"]),
  .tool select,
  .tool textarea {
    font-size: 1rem;
  }
}
.trade-notes {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
}
.market-blackboard {
  background: #254732;
  color: #fff7ce;
  padding: clamp(1.4rem, 3.5vw, 3.3rem);
  border: 0.42rem solid #b59564;
  box-shadow: inset 0 0 0 1px #203b2c;
}
.market-blackboard h2 {
  font-size: clamp(2.3rem, 4.7vw, 4.65rem);
}
.market-blackboard > p {
  margin: 0.8rem 0 1.15rem;
}
.market-blackboard dl > div {
  padding: 0.6rem 0;
  border-top: 1px dashed #acbd98;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.market-blackboard dt {
  font-weight: 700;
}
.market-blackboard dd b {
  margin-left: 0.6rem;
  white-space: nowrap;
}
.berry-crate {
  align-self: end;
  padding: 1rem 0.7rem 0.7rem;
  background: #bd8c60;
  transform: rotate(1.6deg);
  box-shadow: inset 0 -0.4rem #a17753;
}
.berry-crate img {
  height: clamp(10rem, 19vw, 17rem);
}
.berry-crate figcaption {
  padding: 0.6rem 0 0.3rem;
  text-align: center;
  font-weight: 700;
  color: #35220d;
}
.studio-frame {
  display: block;
}
.studio-frame > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.6rem;
}
.studio-frame > div:first-child p {
  max-width: 33ch;
}
.studio .tool {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  column-gap: clamp(1.2rem, 4vw, 4rem);
  align-items: start;
}
.recipe-slip {
  grid-column: 1;
  grid-row: 1/9;
  background: #fff5ce;
  border-block: 0.3rem double var(--ink);
  padding: 1.15rem 1.4rem;
}
.recipe-slip select {
  width: 100%;
}
.recipe-slip .recipe-status {
  margin: 0.6rem 0 0;
}
.recipe-status:empty {
  margin: 0;
}
.studio .tool > .market-row,
.studio .tool > .receipt,
.studio .tool > .primary,
.studio .tool > div[aria-live] {
  grid-column: 2;
}
.studio .tool > .primary {
  justify-self: start;
}
.unpacking {
  padding: 0.85rem 0;
  border-top: 1px dashed var(--ink);
  margin-top: 1rem;
}
.unpacking ul {
  padding-left: 1.2rem;
}
.unpacking li {
  margin-top: 0.4rem;
}
@media (max-width: 720px) {
  .trade-notes,
  .studio-frame > div:first-child,
  .studio .tool {
    display: block;
  }
  .berry-crate {
    margin: 1.4rem 0 0;
  }
  .berry-crate img {
    height: 10rem;
  }
  .recipe-slip {
    margin-bottom: 1rem;
  }
  .market-blackboard dl > div {
    align-items: start;
    gap: 0.4rem;
  }
  .market-blackboard dd b {
    display: block;
    margin: 0;
  }
}
