.bulk-hours-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin: 20px 0;
}
.bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
}
.bulk-toolbar button {
  font-size: 12px;
  padding: 8px 10px;
}
.bulk-people {
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--line, #dce5e6);
  border-radius: 10px;
}
.bulk-person {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 !important;
  border-bottom: 1px solid #edf1f2;
  font-size: 13px;
  cursor: pointer;
}
.bulk-person input,
.bulk-day input {
  width: 18px !important;
  height: 18px;
  flex: none;
  accent-color: #168977;
}
.bulk-person strong {
  color: #168977;
  margin-right: 6px;
}
.bulk-selected {
  max-height: 180px;
  overflow: auto;
  font-size: 12px;
}
.bulk-selected > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px;
}
.bulk-selected button {
  padding: 3px 7px;
  font-size: 11px;
}
.bulk-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin: 12px 0 24px;
}
.bulk-weekday {
  font-size: 11px;
  text-align: center;
  color: #617580;
}
.bulk-day {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 43px;
  margin: 0 !important;
  border: 1px solid #dce5e6;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}
.bulk-day:has(input:checked) {
  background: #e1f4ed;
  border-color: #168977;
  color: #0d6a58;
}
.bulk-day.is-weekend:not(:has(input:checked)) {
  background: #f2f5f6;
  color: #617580;
}
.bulk-day.is-holiday {
  border-color: #d9534f;
  background: #fff0f0;
  color: #9e2a2b;
  font-weight: 600;
}
.bulk-day.is-contract-holiday {
  border-color: #2e7eb8;
  background: #edf6fc;
  color: #1f5c87;
  font-weight: 600;
}
.bulk-day.is-closure {
  border-color: #d8a34b;
  background: #fff8e9;
  color: #8a5600;
  font-weight: 600;
}
.bulk-cal-legend {
  margin: -12px 0 14px;
  color: #617580;
}
.bulk-day input {
  width: 14px !important;
  height: 14px;
}
.bulk-estimate,
.bulk-review {
  padding: 16px;
  border: 1px solid #b5e2d4;
  background: #f0faf6;
  border-radius: 10px;
  margin: 16px 0;
  color: #174f43;
}
.bulk-conflicts {
  padding: 16px;
  border: 1px solid #efc9aa;
  background: #fff9f3;
  border-radius: 10px;
  margin: 16px 0;
  overflow: auto;
}
.bulk-hours-layout h3 {
  margin: 8px 0;
}
.bulk-hours-layout .muted {
  font-size: 12px;
  color: #617580;
}
.bulk-review h3,
.bulk-conflicts h3 {
  margin-top: 0;
}
#bulkHoursForm [hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .bulk-hours-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .bulk-calendar {
    gap: 3px;
  }
  .bulk-day {
    flex-direction: column;
    gap: 0;
    padding: 4px 0;
  }
  .bulk-toolbar {
    font-size: 12px;
  }
  #bulkHoursForm .formactions {
    flex-wrap: wrap;
  }
}
