.hot-tool {
  --tool-ink: #172b3b;
  --tool-muted: #526577;
  --tool-line: #d5dee5;
  --tool-accent: #155e75;
  color: var(--tool-ink);
  border: 1px solid var(--tool-line);
  border-radius: 16px;
  padding: clamp(16px, 4vw, 28px);
  margin: 24px 0 36px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 43, 59, 0.07);
}

.hot-tool * { box-sizing: border-box; }
.hot-tool .tool-kicker { margin: 0 0 6px; color: var(--tool-accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hot-tool .calculator-heading h2 { margin: 0 0 8px; }
.hot-tool .calculator-heading > p:last-child, .hot-tool .timesheet-options p { color: var(--tool-muted); }
.hot-tool .timesheet-options { margin: 20px 0 14px; padding: 14px 16px; border-radius: 10px; background: #f2f7f8; }
.hot-tool .timesheet-options p { margin: 5px 0 0 28px; font-size: 0.92rem; }
.hot-tool .overnight-option { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 650; }
.hot-tool .overnight-option input { width: 20px; height: 20px; accent-color: var(--tool-accent); }
.hot-tool .table-wrap { max-width: 100%; overflow-x: auto; }
.hot-tool .timesheet-table, .hot-tool .results-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hot-tool .timesheet-table th, .hot-tool .timesheet-table td, .hot-tool .results-table th, .hot-tool .results-table td { padding: 8px 7px; border-bottom: 1px solid var(--tool-line); text-align: left; }
.hot-tool .timesheet-table thead th, .hot-tool .results-table thead th { color: var(--tool-muted); font-size: 0.8rem; }
.hot-tool .timesheet-table tbody th { white-space: nowrap; }
.hot-tool input[type="time"], .hot-tool input[type="number"] { width: 100%; min-width: 82px; min-height: 40px; border: 1px solid #aab9c5; border-radius: 7px; padding: 6px 8px; color: var(--tool-ink); background: #fff; font: inherit; }
.hot-tool input:focus, .hot-tool button:focus-visible { outline: 3px solid #77c5ce; outline-offset: 2px; }
.hot-tool .tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hot-tool button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 8px; background: var(--tool-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.hot-tool button:hover { background: #104b5d; }
.hot-tool button.secondary-button { border: 1px solid #9babb6; background: #fff; color: var(--tool-ink); }
.hot-tool .tool-message { min-height: 1.5em; margin: 12px 0 0; color: #8a341f; font-weight: 600; }
.hot-tool .results { max-width: 100%; overflow-x: auto; margin-top: 18px; padding: 16px; border-radius: 10px; background: #f2f7f8; }
.hot-tool .results h3 { margin: 0 0 6px; }
.hot-tool .total-hours { margin: 0 0 12px; color: var(--tool-accent); font-size: 1.25rem; font-weight: 750; }
.hot-tool .results-table { background: #fff; }
.hot-tool .results-table th, .hot-tool .results-table td { padding: 8px; }

@media (max-width: 520px) {
  .hot-tool .timesheet-table { min-width: 430px; }
  .hot-tool .timesheet-table th, .hot-tool .timesheet-table td { padding: 6px 4px; }
  .hot-tool .timesheet-table input[type="time"], .hot-tool .timesheet-table input[type="number"] { min-width: 70px; padding: 5px; font-size: 0.88rem; }
  .hot-tool .results-table { min-width: 460px; }
  .hot-tool .tool-actions button { flex: 1 1 100%; }
}
