.hot-tool {
  --log-ink: #172a3a;
  --log-muted: #526476;
  --log-line: #d3dde5;
  --log-accent: #145a64;
  color: var(--log-ink);
}
.hot-tool .tool-panel {
  border: 1px solid var(--log-line);
  border-radius: 14px;
  background: #f7fafb;
  padding: clamp(16px, 4vw, 24px);
  margin: 20px 0;
}
.hot-tool .tool-title { margin: 0 0 8px; }
.hot-tool p { line-height: 1.6; }
.hot-tool .entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hot-tool label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 650;
  min-width: 0;
}
.hot-tool label.wide { grid-column: 1 / -1; }
.hot-tool input, .hot-tool textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #9aabb8;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--log-ink);
  background: white;
  font: inherit;
}
.hot-tool textarea { resize: vertical; }
.hot-tool input:focus, .hot-tool textarea:focus, .hot-tool button:focus-visible {
  outline: 3px solid #89c5cc;
  outline-offset: 2px;
}
.hot-tool .hint { color: var(--log-muted); font-size: .92rem; }
.hot-tool .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.hot-tool button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--log-accent);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hot-tool button.secondary { background: #28465a; }
.hot-tool button.text-button { background: transparent; color: var(--log-accent); text-decoration: underline; }
.hot-tool button.remove-button { min-height: 36px; padding: 6px 10px; font-size: .9rem; }
.hot-tool .status { min-height: 1.5em; margin-bottom: 0; font-weight: 600; }
.hot-tool .log-section { margin: 32px 0; }
.hot-tool .log-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hot-tool .log-heading h2 { margin-bottom: 4px; }
.hot-tool .log-heading p { margin: 0; }
.hot-tool .table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--log-line); border-radius: 10px; }
.hot-tool table { width: 100%; border-collapse: collapse; background: white; }
.hot-tool th, .hot-tool td { padding: 10px 9px; border-bottom: 1px solid var(--log-line); text-align: left; vertical-align: top; }
.hot-tool th { background: #edf3f5; font-size: .92rem; }
.hot-tool td { overflow-wrap: anywhere; }
.hot-tool tr:last-child td { border-bottom: 0; }
.hot-tool .empty { color: var(--log-muted); padding: 12px 0; }
.hot-tool .copy-section { max-width: 72ch; }
.hot-tool .copy-section h2 { margin-top: 2em; }
.hot-tool .print-only { display: none; }
@media (max-width: 520px) {
  .hot-tool .entry-grid { grid-template-columns: minmax(0, 1fr); }
  .hot-tool label.wide { grid-column: auto; }
  .hot-tool .actions > button { flex: 1 1 100%; }
  .hot-tool th, .hot-tool td { padding: 8px 7px; }
}
@media print {
  .hot-tool .tool-panel, .hot-tool .screen-only, .hot-tool .copy-section, .hot-tool .empty, .hot-tool #range-message { display: none !important; }
  .hot-tool .print-only { display: block; }
  .hot-tool, .hot-tool .log-section, .hot-tool .table-wrap, .hot-tool table { border: 0; overflow: visible; }
  .hot-tool .log-heading { display: block; }
  .hot-tool th, .hot-tool td { padding: 7px; border: 1px solid #777; }
  .hot-tool th { background: #eee !important; color: #000; }
}
