.hot-tool { --ink: #20302b; --muted: #53625d; --line: #cbd6d0; --accent: #205b45; color: var(--ink); }
.hot-tool *, .hot-tool *::before, .hot-tool *::after { box-sizing: border-box; }
.hot-tool .tool-panel { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; background: #f7faf8; }
.hot-tool h2 { margin-top: 0; }
.hot-tool .field-label { display: block; font-weight: 650; margin: .8rem 0 .35rem; }
.hot-tool input[type="text"], .hot-tool input[type="number"] { width: 100%; min-height: 42px; border: 1px solid #87978f; border-radius: 7px; padding: .55rem .65rem; color: var(--ink); background: white; font: inherit; }
.hot-tool .editor-group { border: 1px solid var(--line); border-radius: 9px; margin: 1rem 0; padding: .75rem; min-width: 0; }
.hot-tool legend { padding: 0 .3rem; font-weight: 700; }
.hot-tool .entry-list { display: grid; gap: .5rem; }
.hot-tool .entry-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; align-items: center; }
.hot-tool button { min-height: 42px; padding: .5rem .85rem; border-radius: 7px; border: 1px solid var(--accent); font: inherit; font-weight: 650; cursor: pointer; }
.hot-tool button:disabled { cursor: not-allowed; opacity: .55; }
.hot-tool .primary-button { background: var(--accent); color: white; }
.hot-tool .secondary-button { margin-top: .6rem; color: var(--accent); background: white; }
.hot-tool .remove-entry { min-width: 78px; color: #4a312b; border-color: #9c7d72; background: #fff; }
.hot-tool .day-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: .35rem .7rem; }
.hot-tool .day-options label, .hot-tool .check-label { display: flex; align-items: center; gap: .45rem; min-height: 38px; }
.hot-tool input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); flex: 0 0 auto; }
.hot-tool .reward-details { margin-top: .5rem; }
.hot-tool .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hot-tool .actions .secondary-button { margin-top: 0; }
.hot-tool .form-message { min-height: 1.5em; color: var(--muted); }
.hot-tool .chart-output { margin: 1.5rem 0; }
.hot-tool .print-chart-title { margin-bottom: .75rem; }
.hot-tool .table-scroll { overflow-x: auto; max-width: 100%; }
.hot-tool .chore-table { width: 100%; border-collapse: collapse; table-layout: auto; background: white; }
.hot-tool .chore-table th, .hot-tool .chore-table td { border: 1px solid #66756e; padding: .45rem .35rem; text-align: center; overflow-wrap: anywhere; }
.hot-tool .chore-table th { background: #edf2ef; }
.hot-tool .chore-table .chore-column, .hot-tool .chore-name-cell { text-align: left; min-width: 110px; }
.hot-tool .chore-table .day-heading { min-width: 78px; }
.hot-tool .chore-table .child-heading { min-width: 62px; font-weight: 600; }
.hot-tool .checkbox-cell { height: 40px; }
.hot-tool .empty-box { display: inline-block; width: 19px; height: 19px; border: 1.5px solid #222; background: white; vertical-align: middle; }
.hot-tool .reward-print { border: 1px solid #66756e; padding: .6rem; margin: .8rem 0; }
.hot-tool .chart-legend { color: var(--muted); }
.hot-tool .guide-copy { margin-top: 2rem; }
.hot-tool .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .hot-tool .tool-panel { padding: .8rem; }
  .hot-tool .entry-line { grid-template-columns: minmax(0, 1fr); }
  .hot-tool .remove-entry { justify-self: start; }
  .hot-tool .chore-table th, .hot-tool .chore-table td { padding: .35rem .25rem; font-size: .88rem; }
}
@media print {
  .hot-tool .tool-panel, .hot-tool .guide-copy { display: none !important; }
  .hot-tool .chart-output { margin: 0; }
  .hot-tool .table-scroll { overflow: visible; }
  .hot-tool .chore-table { width: 100%; font-size: 9pt; }
  .hot-tool .chore-table th, .hot-tool .chore-table td { border: 1px solid #222; color: #000; background: #fff; padding: 5pt 3pt; }
  .hot-tool .empty-box { width: 13pt; height: 13pt; }
  .hot-tool .chart-legend { color: #000; }
}
