/* Timesheet page and entry forms. */
#timesheetInterface {
  gap: 20px;
  background: #f4f6f7;
}
#timesheetInterface > .panel {
  border-color: #d4dcdf;
  border-radius: 6px;
  box-shadow: 0 2px 8px #182b3510;
}
#timesheetInterface .section-title h2,
#timesheetInterface .panel-toggle-head h2 {
  color: #203b46;
  font-size: 19px;
  font-weight: 700;
}
#timesheetInterface .work-panel > .section-title {
  padding-bottom: 14px;
  border-bottom: 1px solid #dce3e6;
}
#timesheetInterface .clock-row {
  padding-bottom: 18px;
}
#entryForm,
#entryEditForm,
#taskWorkForm {
  align-items: start;
  gap: 16px 14px;
}
#entryForm > label,
#entryEditForm > label,
#taskWorkForm > label {
  min-width: 0;
  color: #344955;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
  align-content: start;
}
#entryForm > label:has(.employee-checklist),
#entryEditForm > label:has(.employee-checklist) {
  grid-column: span 2;
}
.entry-form input,
.entry-form select,
.entry-form textarea {
  min-width: 0;
  border-color: #bdcbd1;
  border-radius: 5px;
  background: #fbfcfd;
  color: #202e37;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.entry-form input::placeholder,
.entry-form textarea::placeholder { color: #7b8992; }
.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus {
  outline: 0;
  border-color: #34766c;
  box-shadow: 0 0 0 3px #34766c18;
  background: #fff;
}
.employee-checklist {
  position: relative;
  min-width: 0;
  width: 100%;
  border: 1px solid #bdcbd1;
  border-radius: 5px;
  background: #fbfcfd;
  padding: 8px;
  font-weight: 400;
}
.approval-selected {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  min-height: 30px;
  max-height: 100px;
  overflow-y: auto;
  margin-bottom: 7px;
}
.approval-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 28px;
  padding: 3px 5px 3px 9px;
  border: 1px solid #c9dcd5;
  border-radius: 4px;
  background: #eaf3ee;
  color: #285646;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.approval-chip button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #285646;
  font-size: 18px;
  line-height: 1;
}
.approval-chip button:hover { background: #cfe3d8; }
.approval-empty { color: #78868e; font-size: 12px; padding: 5px 2px; }
.employee-checklist .approval-search {
  min-height: 36px;
  padding: 6px 9px;
  background: #fff;
}
.approval-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #bdcbd1;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px #203b4626;
  padding: 5px;
}
.approval-options button {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 3px;
  background: #fff;
  color: #263e49;
  font-size: 13px;
  font-weight: 400;
}
.approval-options button:hover { background: #edf4f1; }
.approval-options p { padding: 9px; }
@media (max-width: 680px) {
  #entryForm > label:has(.employee-checklist),
  #entryEditForm > label:has(.employee-checklist) { grid-column: auto; }
  .approval-chip { font-size: 13px; }
  .approval-chip button { width: 28px; height: 28px; min-height: 28px; flex-basis: 28px; }
}
