.work-tool {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) 0;
  color: #12203a;
}
.work-tool h1 {
  font-size: clamp(30px, 4vw, 52px);
  margin: 0 0 14px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.work-tool > p,
.tool-summary > p {
  color: #53627b;
  line-height: 1.75;
  margin: 0;
}
.tool-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.tool-layout > form,
.tool-summary {
  background: #fff;
  border: 1px solid #dce4ee;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 14px;
}
.tool-layout h2 {
  font-size: 19px;
  margin: 0 0 22px;
}
.tool-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tool-fields label {
  font-size: 14px;
  font-weight: 600;
  color: #3e4d65;
}
.tool-fields input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid #abb9ce;
  border-radius: 6px;
  font: inherit;
  font-size: 16px;
  color: #15233b;
  background: #fff;
}
.tool-layout button {
  font: inherit;
  margin-top: 22px;
  border: 0;
  background: #edf2ff;
  color: #234bb3;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.tool-fields input:focus-visible,
.tool-layout button:focus-visible {
  outline: 3px solid #3563df;
  outline-offset: 2px;
}
.tool-summary {
  background: #f1f5ff;
}
.tool-summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  margin: 0 0 22px;
}
.tool-summary dt {
  color: #495a73;
}
.tool-summary dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
}
.tool-summary dd:first-of-type {
  font-size: clamp(22px, 2.5vw, 36px);
  color: #194bcc;
}
.tool-summary > p {
  font-size: 13px;
}
@media (max-width: 720px) {
  .tool-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tool-fields {
    gap: 15px;
  }
}
@media (max-width: 420px) {
  .tool-fields {
    grid-template-columns: 1fr;
  }
  .work-tool {
    width: calc(100% - 32px);
  }
}
