:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d2630;
  background: #f4f7fa;
}

body {
  margin: 0;
}

main {
  width: min(880px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 28px 0;
}

.tool {
  background: #ffffff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  padding: 16px;
  margin-top: 14px;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdc8d4;
  border-radius: 6px;
  padding: 10px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  min-height: 40px;
  border: 1px solid #235f83;
  border-radius: 6px;
  background: #235f83;
  color: white;
  padding: 0 14px;
  margin-top: 10px;
  font: inherit;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

output {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}
