.v242-request-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  grid-column: 1 / -1;
}

.v242-period-box {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid #c9d9e3;
  border-radius: 8px;
  background: #fbfcfd;
}

.v242-period-head,
.v242-rest-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.v242-period-head > div:first-child {
  display: grid;
  gap: 3px;
}

.v242-period-head > div:first-child > strong {
  color: #072d4f;
  font-size: 16px;
}

.v242-period-head > div:first-child > span,
.v242-rest-panel-head > span {
  color: #5d7488;
  font-size: 12px;
  font-weight: 700;
}

.v242-period-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  border: 1px solid #c9d9e3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.v242-period-stats > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 13px;
}

.v242-period-stats > div + div {
  border-left: 1px solid #dbe5eb;
}

.v242-period-stats span {
  color: #5d7488;
  font-size: 11px;
  font-weight: 700;
}

.v242-period-stats strong {
  color: #087845;
  font-size: 18px;
}

.v242-date-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: end;
  gap: 10px;
  margin-top: 16px;
}

.v242-date-range label {
  min-width: 0;
}

.v242-date-range input[type="date"] {
  width: 100%;
  min-width: 0;
}

.v242-date-separator {
  display: grid;
  place-items: center;
  height: 52px;
  color: #5d7488;
  font-weight: 700;
}

.v242-rest-toggle {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px !important;
  width: auto;
  margin-top: 14px;
  color: #12324d;
  font-weight: 700;
  cursor: pointer;
}

.v242-rest-toggle input {
  width: 19px !important;
  height: 19px !important;
  min-height: 0 !important;
  margin: 0;
  accent-color: #087845;
}

.v242-rest-panel {
  margin-top: 13px;
  padding-top: 14px;
  border-top: 1px solid #dbe5eb;
}

.v242-rest-panel[hidden],
.v243-date-error[hidden],
.v243-individual-empty[hidden] {
  display: none !important;
}

.v243-rest-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  border: 1px solid #c9d9e3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.v243-rest-rule {
  min-width: 0;
  padding: 13px;
}

.v243-rest-rule + .v243-rest-rule {
  border-left: 1px solid #dbe5eb;
}

.v243-rest-rule > strong {
  display: block;
  margin-bottom: 10px;
  color: #12324d;
  font-size: 13px;
}

.v243-weekday-options {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.v243-weekday-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.v243-weekday-options input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  opacity: 0;
}

.v243-weekday-options span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid #c9d9e3;
  border-radius: 6px;
  background: #fff;
  color: #12324d;
  font-size: 13px;
  font-weight: 800;
}

.v243-weekday-options label.is-selected span,
.v243-weekday-options label:has(input:checked) span {
  border-color: #087845;
  background: #eef8f2;
  color: #06663b;
}

.v243-weekday-options input:focus-visible + span {
  outline: 2px solid #087845;
  outline-offset: 2px;
}

.v243-date-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.v243-date-add input[type="date"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

.v243-date-add .btn {
  min-width: 72px;
  min-height: 44px;
}

.v243-date-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
}

.v243-individual-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.v243-individual-list > div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 3px 4px 3px 10px;
  border: 1px solid #c9d9e3;
  border-radius: 6px;
  background: #f7fafb;
  color: #12324d;
  font-size: 12px;
  font-weight: 700;
}

.v243-individual-list button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #b42318;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.v243-individual-list button:hover,
.v243-individual-list button:focus-visible {
  background: #fff1f0;
}

.v243-individual-empty {
  margin: 9px 0 0;
  color: #5d7488;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .v242-request-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .v242-period-box {
    padding: 14px;
  }

  .v242-period-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .v242-period-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .v242-date-range {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .v242-date-separator {
    display: none;
  }

  .v242-date-range input[type="date"] {
    min-height: 50px;
    font-size: 16px;
  }

  .v242-rest-toggle {
    min-height: 42px;
    margin-top: 10px;
  }

  .v243-rest-layout {
    grid-template-columns: 1fr;
  }

  .v243-rest-rule + .v243-rest-rule {
    border-top: 1px solid #dbe5eb;
    border-left: 0;
  }

  .v243-weekday-options {
    gap: 4px;
  }

  .v243-weekday-options span {
    min-height: 40px;
  }

  .v243-date-add input[type="date"] {
    min-height: 48px;
    font-size: 16px;
  }
}
