.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;
  }
}
.studio-frame {
  display: block;
}
.studio-frame > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.7rem;
}
.studio-frame > div:first-child p {
  max-width: 33ch;
}
.studio .tool {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1.15rem 3rem;
  align-items: start;
}
.studio .tool > fieldset,
.studio .tool > .result {
  grid-column: 1;
}
.studio .tool > .result {
  margin-top: 0;
}
.field-card {
  grid-row: 1/3;
  grid-column: 2;
  background: #f6f1db;
  border: 1px solid var(--ink);
  padding: 1.5rem;
  color: #293d32;
}
.tool .field-card .compare-control {
  width: 100%;
  font-weight: 700;
  border: 0;
  border-block: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.field-card h3 {
  margin-bottom: 0.9rem;
}
.kit-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--rule);
  min-height: 2.65rem;
}
.field-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.comparison {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 0.91rem;
  text-align: left;
}
.comparison caption {
  text-align: left;
  font-weight: 700;
}
.comparison td,
.comparison th {
  padding: 0.4rem 0.25rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.field-spread {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
}
.field-spread figure img {
  height: clamp(23rem, 37vw, 35rem);
  object-position: 45% 60%;
}
.field-spread figcaption {
  padding: 0.5rem 0;
}
.field-spread > div {
  margin-left: -10%;
  background: var(--paper);
  padding: 2rem 0 2rem 2.3rem;
  position: relative;
}
.field-spread h2 {
  max-width: 12ch;
}
.field-spread p {
  margin: 0.8rem 0;
}
.field-spread details {
  border-block-start: 1px solid var(--rule);
  padding: 0.6rem 0;
}
.field-spread summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 1.75rem;
}
@media (max-width: 720px) {
  .studio-frame > div:first-child,
  .studio .tool,
  .field-spread {
    display: block;
  }
  .studio .tool > fieldset {
    margin: 1rem 0;
  }
  .field-card {
    margin-top: 1.3rem;
    padding: 1rem;
  }
  .field-spread figure img {
    height: 16rem;
  }
  .field-spread > div {
    padding: 1rem 0;
    margin: 0;
  }
  .comparison th,
  .comparison td {
    font-size: 0.84rem;
  }
}

.studio .tool > .workbench-controls {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: start;
}
.studio .tool > .field-card {
  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;
}
