.form-panel .time-fields label,
.form-panel .time-fields label + label {
  margin-top: 0;
}

.master-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 1px auto;
  padding: 9px 13px;
  border-radius: 8px;
  background: #eaf2ff;
  color: #174ea6;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.original-time {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 8px;
  background: #edf4ff;
  color: #35506e;
  font-size: 13px;
  font-weight: 800;
}

.employment-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.employment-rules:empty { display: none; }

.employment-rules span {
  padding: 7px 11px;
  border: 1px solid #d8e2ee;
  border-radius: 999px;
  background: #fff;
  color: #35506e;
  font-size: 12px;
  font-weight: 800;
}

.employment-rules .rule-alert {
  border-color: #facc15;
  background: #fffbea;
  color: #92400e;
}

.leave-deadline {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid #c8ddf5;
  border-radius: 8px;
  background: #f1f7ff;
  color: #174ea6;
  font-size: 13px;
  line-height: 1.7;
}

.leave-deadline.late {
  border-color: #f4cf79;
  background: #fff9e9;
  color: #8b4b00;
}

.leave-policy {
  color: #56677c;
  font-size: 12px;
  line-height: 1.8;
}

.late-request { color: #a45100; }
.status-cancelled { background: #eef1f5; color: #667085; }

@media (max-width: 760px) {
  .master-link { margin: 10px 0 0; }
}
