
@charset "UTF-8";

/*
 * 一覧の見た目は既存の report_list.css を使用する。
 * このファイルでは週間ページ固有の期間選択部分だけを定義する。
 */

.weeklyReport .weeklyReport__form {
  padding-bottom: 1.3rem;
}

.weeklyReport .weeklyReport__periodSearch {
  margin-bottom: 1.2rem;
}

.weeklyReport .weeklyReport__periodSearch dt {
  margin-right: 2rem;
}

.weeklyReport__period {
  font-size: 1.1rem;
  font-weight: 500;
}

.weeklyReport__count {
  margin-left: auto;
  white-space: nowrap;
}

.weeklyReport__count strong {
  color: #1caec2;
  font-size: 1.35rem;
  margin: 0 0.25rem 0 0.5rem;
}

.weeklyReport__weekPicker {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.weeklyReport__selectLabel {
  color: #555;
  display: flex;
  flex: 1 1 360px;
  flex-direction: column;
  font-size: 0.85rem;
  gap: 0.25rem;
  max-width: 520px;
}

.weeklyReport__select,
.weeklyReport__weekButton {
  background-color: #fff;
  border: 1px solid #1caec2;
  border-radius: 3px;
  color: #333;
  font: inherit;
  min-height: 42px;
}

.weeklyReport__select {
  cursor: pointer;
  padding: 0.45rem 2.2rem 0.45rem 0.7rem;
  width: 100%;
}

.weeklyReport__weekButton {
  cursor: pointer;
  min-width: 112px;
  padding: 0.45rem 0.9rem;
  transition: background-color 0.3s, color 0.3s;
}

.weeklyReport__weekButton:hover,
.weeklyReport__weekButton:focus-visible {
  background-color: #1caec2;
  color: #fff;
}

.weeklyReport__weekButton:disabled {
  background-color: #e6e6e6;
  border-color: #bbb;
  color: #777;
  cursor: default;
}

.weeklyReport__select:focus-visible,
.weeklyReport__weekButton:focus-visible {
  outline: 3px solid #f7b200;
  outline-offset: 2px;
}

.weeklyReport__status {
  color: #555;
  margin: 0 0 0.6rem;
  min-height: 1.4em;
}

.weeklyReport__status:empty {
  display: none;
}

.weeklyReport__loading,
.weeklyReport__empty,
.weeklyReport__error {
  line-height: 1.7;
  padding: 1rem 0.5rem;
}

.weeklyReport__error {
  color: #9a2424;
}

.weeklyReport__notice {
  margin-top: 1rem;
}

@media all and (max-width: 560px) {
  .weeklyReport .weeklyReport__periodSearch {
    margin-bottom: 1rem;
  }

  .weeklyReport .weeklyReport__periodSearch dt {
    margin-right: 0;
  }

  .weeklyReport__period {
    display: block;
    margin-bottom: 0.5rem;
  }

  .weeklyReport__count {
    margin-left: 0;
  }

  .weeklyReport__weekPicker {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 1fr 1fr;
  }

  .weeklyReport__selectLabel {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: none;
  }

  .weeklyReport__weekButton {
    min-width: 0;
    width: 100%;
  }

  .weeklyReport__status {
    padding: 0 12px;
  }
}




