.hot-tool .clock-calculator {
  max-width: 42rem;
  margin: 1.5rem auto 2rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid #d8dee8;
  border-radius: 1rem;
  background: #f8fafc;
  color: #172033;
  box-shadow: 0 0.5rem 1.5rem rgb(15 23 42 / 7%);
}
.hot-tool .clock-calculator__lead {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 650;
}
.hot-tool .clock-calculator__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.hot-tool .clock-calculator label,
.hot-tool .clock-calculator legend {
  font-weight: 600;
}
.hot-tool .clock-calculator input {
  box-sizing: border-box;
  min-height: 2.8rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #aab5c5;
  border-radius: 0.5rem;
  background: #fff;
  color: inherit;
  font: inherit;
}
.hot-tool .clock-calculator input:focus,
.hot-tool .clock-calculator button:focus-visible {
  outline: 3px solid #78a9ff;
  outline-offset: 2px;
}
.hot-tool .clock-calculator small {
  color: #475569;
}
.hot-tool .clock-calculator__duration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.7rem 0 0;
  padding: 0;
  border: 0;
}
.hot-tool .clock-calculator__duration legend {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}
.hot-tool .clock-calculator__presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.hot-tool .clock-calculator button {
  min-height: 2.6rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #64748b;
  border-radius: 0.55rem;
  background: #fff;
  color: #172033;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hot-tool .clock-calculator button:hover {
  background: #eaf1fb;
}
.hot-tool .clock-calculator .clock-calculator__submit {
  width: 100%;
  border-color: #174ea6;
  background: #174ea6;
  color: #fff;
}
.hot-tool .clock-calculator .clock-calculator__submit:hover {
  background: #123e86;
}
.hot-tool .clock-calculator__result:empty {
  display: none;
}
.hot-tool .clock-calculator__result {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #b9c9e2;
  border-radius: 0.7rem;
  background: #fff;
}
.hot-tool .clock-calculator__answer-label {
  margin: 0 0 0.25rem;
  color: #475569;
}
.hot-tool .clock-calculator__answer {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  font-weight: 750;
}
.hot-tool .clock-calculator__error {
  margin: 0;
  color: #a12222;
  font-weight: 600;
}
.hot-tool .clock-calculator__disclaimer {
  margin-bottom: 0;
  color: #475569;
  font-size: 0.9rem;
}
.hot-tool .clock-calculator__copy-buffer {
  position: fixed;
  left: -9999px;
}
@media (min-width: 520px) {
  .hot-tool .clock-calculator__duration {
    grid-template-columns: auto minmax(5rem, 1fr) auto minmax(5rem, 1fr);
  }
  .hot-tool .clock-calculator__duration legend {
    grid-column: 1 / -1;
  }
}
