.hot-tool {
  color: #17212b;
  margin: 1.5rem 0 2rem;
}

.hot-tool .schedule-controls {
  display: grid;
  gap: 0.6rem;
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.hot-tool label {
  font-weight: 650;
}

.hot-tool input,
.hot-tool textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #9ba8b5;
  border-radius: 0.4rem;
  background: #fff;
  color: inherit;
  font: inherit;
  padding: 0.6rem;
}

.hot-tool textarea {
  resize: vertical;
}

.hot-tool .tool-hint,
.hot-tool .schedule-status {
  margin: 0;
  color: #44515e;
  font-size: 0.95rem;
}

.hot-tool .schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.hot-tool button {
  border: 1px solid #173f65;
  border-radius: 0.4rem;
  background: #174f7a;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0.65rem 1rem;
}

.hot-tool button:hover {
  background: #103d60;
}

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

.hot-tool .schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(9rem, 1fr));
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.75rem;
}

.hot-tool .schedule-day {
  min-width: 9rem;
  border: 1px solid #c7d0d9;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.65rem;
}

.hot-tool .schedule-date {
  display: block;
  margin-bottom: 0.45rem;
  color: #354454;
  font-size: 0.88rem;
}

.hot-tool .day-label {
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.hot-tool .day-slots {
  min-height: 3.2rem;
  margin: 0 0 0.5rem;
  color: #4c5965;
  font-size: 0.82rem;
  white-space: pre-line;
}

.hot-tool .day-entry {
  min-height: 11rem;
  font-size: 0.92rem;
}

.hot-tool .day-entry-print {
  display: none;
}

.hot-tool .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hot-tool .schedule-guide {
  max-width: 48rem;
  margin-top: 2.5rem;
}

.hot-tool .schedule-guide h2 {
  margin-top: 1.8rem;
}

@media (max-width: 600px) {
  .hot-tool .schedule-grid {
    grid-template-columns: repeat(7, minmax(10rem, 1fr));
  }
}

@media print {
  .hot-tool .schedule-controls,
  .hot-tool .schedule-guide,
  .hot-tool .schedule-output {
    display: none !important;
  }

  .hot-tool .schedule-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.2rem;
    overflow: visible;
  }

  .hot-tool .schedule-day {
    min-width: 0;
    break-inside: avoid;
    padding: 0.25rem;
  }

  .hot-tool .day-entry,
  .hot-tool .day-label {
    border: 0;
    padding: 0.15rem;
    overflow: visible;
  }

  .hot-tool .day-entry {
    display: none;
  }

  .hot-tool .day-entry-print {
    display: block;
    min-height: 7rem;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }

  .hot-tool .schedule-day {
    break-inside: auto;
  }
}
