.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;
  }
}
.finish-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1.4rem;
}
.finish-intro p {
  max-width: 32ch;
}
.material-drawer {
  display: grid;
  grid-template-columns: minmax(12rem, 0.5fr) 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 1.4rem;
}
.material-drawer figure img {
  height: clamp(15rem, 24vw, 24rem);
}
.material-drawer figcaption {
  padding: 0.5rem 0;
}
.material-ledger article {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}
.material-ledger article p {
  font-size: 0.98rem;
  margin: 0.3rem 0;
}
.material-ledger article b {
  font-weight: 500;
  font-style: italic;
}
.surface {
  width: 3.4rem;
  height: 3.4rem;
  background: #a1a487;
  border: 1px solid #6c735c;
}

.studio-frame {
  display: block;
}
.studio-frame > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.studio-frame > div:first-child p {
  max-width: 35ch;
}
.studio #tool {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.8rem 3rem;
  align-items: start;
}
.studio #tool > :not(.finish-schedule) {
  grid-column: 1;
}
.studio .finish-schedule {
  grid-column: 2;
  grid-row: 1/5;
  padding: clamp(1.1rem, 2.5vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--ink);
}
.finish-schedule .assign-finish {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.assign-finish label:has(select) {
  margin: 0;
}
.finish-register {
  margin: 1.2rem 0 0.5rem;
}
.finish-register div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding: 0.6rem 0;
}
.finish-register dt {
  font-weight: bold;
}
.paint-panel {
  min-height: 15rem;
  border-bottom-width: 1.75rem;
}
@media (max-width: 760px) {
  .finish-intro,
  .studio-frame > div:first-child {
    display: block;
  }
  .finish-intro p {
    margin-top: 0.8rem;
  }
  .material-drawer {
    grid-template-columns: 1fr;
  }
  .material-drawer figure img {
    height: 10rem;
    object-position: center 55%;
  }
  .material-ledger article {
    grid-template-columns: 2.25rem 1fr;
    gap: 0.75rem;
  }
  .surface {
    width: 2.25rem;
    height: 3rem;
  }
  .material-ledger article b {
    grid-column: 2;
  }
  .studio #tool {
    display: block;
  }
  .studio .finish-schedule {
    margin-top: 1.6rem;
  }
}

.studio .tool > .workbench-controls {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: start;
}
.studio .tool > .finish-schedule {
  grid-row: 1;
}
.workbench-controls > fieldset + fieldset {
  margin-top: 1.15rem;
}
.workbench-controls > fieldset + figure {
  margin-top: 1rem;
}
.workbench-controls > fieldset + article {
  margin-top: 1.1rem;
}
