.hot-tool .controls,
.hot-tool .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  margin: 1rem 0;
}

.hot-tool .controls label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
}

.hot-tool input,
.hot-tool select,
.hot-tool button {
  box-sizing: border-box;
  min-width: 0;
  min-height: 42px;
  max-width: 100%;
  border: 1px solid #aab8c8;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
}

.hot-tool button {
  cursor: pointer;
  background: #173c67;
  border-color: #173c67;
  color: #fff;
  font-weight: 700;
}

.hot-tool button:focus-visible,
.hot-tool input:focus-visible,
.hot-tool select:focus-visible {
  outline: 3px solid #e5a62a;
  outline-offset: 2px;
}

.hot-tool button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.hot-tool .status {
  padding: 0.8rem 1rem;
  border-left: 4px solid #3274a3;
  background: #f0f6fa;
}

.hot-tool .results {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.hot-tool .event-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #cbd5df;
  border-radius: 0.75rem;
  background: #fff;
}

.hot-tool .event-card h3 {
  margin: 0 0 0.75rem;
}

.hot-tool .event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.75rem;
  margin: 0;
}

.hot-tool .detail {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hot-tool .detail dt {
  color: #44566a;
  font-size: 0.9rem;
  font-weight: 650;
}

.hot-tool .detail dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.hot-tool .source-note,
.hot-tool .dataset-note {
  margin: 0.9rem 0 0;
  color: #44566a;
  font-size: 0.93rem;
}

.hot-tool .copy-buffer {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -10000px;
}

@media print {
  .hot-tool .controls,
  .hot-tool .actions {
    display: none;
  }

  .hot-tool .event-card {
    break-inside: avoid;
  }
}
